I have a question about plm
package.
My code is:
fixedmodel <- plm(formula=Inv_ret~Firm.size+leverage+Risk+Liquidity+Equity,
data=datanewp, model="within")
In the plm vignette
the authors write:
This is called the fixed effects (a.k.a. within or least squares dummy variables) model, usually estimated by ols on transformed data, and gives consistent estimates for beta.
I wonder then if plm
package assumes that least squares dummy variable
model is estimated with model="within
in the plm
package? In other words, if wihin
is actually least squares dummy variable
model in plm?
On the other hand, if I refer to some other site they write:
There are several strategies for estimating a fixed effect model. The least squares dummy variable model (LSDV) uses dummy variables, whereas the “within” estimation does not. These strategies, of course, produce the identical parameter estimates of regressors (nondummy independent variables).
So I guess the authors of plm
package mean that they actually use within
model but compute the unique group specific intercepts from within
transformation later. Am I correct?