I am trying to estimate a large dynamic fixed effects panel data model with lags, and multiple group effects.
I know about the pseries
object from the plm
package which can handle panel regression with lags.
library(plm)
data("EmplUK", package = "plm")
Em <- pdata.frame(EmplUK)
plm(emp~output+capital + lag(wage, 1),data=Em,model="within")
Is there a similar solution in the lfe
package for panel objects so that I can take advantage of the speediness that lfe
provides?