| FE {plm} | R Documentation |
This function extracts the fixed effects from a plm or a
plms object.
FE(x) ## S3 method for class 'plm': FE(x) ## S3 method for class 'plms': FE(x) ## S3 method for class 'FE': print(x,digits=5,...) ## S3 method for class 'FE': summary(object,...)
x,object |
an object of class "plms" or "plm", an object
of class FE for the print and the summary method, |
digits |
digits, |
... |
further arguments. |
The element FE of a plm object corresponding to a within
model is a numerical vector which length is the total number of
observations. This function returns a vector which length is the number
of individuals. The summary method prints the effects in deviation
from the overall intercept, the standard error and the t–values.
An object of class FE. It is a numeric vector containing the
fixed effects with two attributes : se which contains the standard
errors and intercept which is the overall intercept.
Yves Croissant
library(Ecdat) data(Grunfeld) pdata.frame(Grunfeld,"firm","year") gi <- plm(inv ~ value + capital, data=Grunfeld) FE(gi) FE(gi$within) summary(FE(gi))