Skip to content
Prev 201900 / 398506 Next

problem with "dynformula" from "plm" package [RE-POST]

You might also note that the authors hint on the help page that one  
might want to use the formula() operation on the result of dynformula.  
Following that path would have gotten us to a more successful  
conclusion.

 > grun.fe <- plm(formula = formula(a),data=EmplUK)
 > grun.fe

Model Formula: log(emp) ~ lag(log(emp), 1) + lag(log(emp), 2) +  
lag(log(emp),
     1) + lag(log(emp), 2) + lag(log(wage), 2) + lag(log(wage),
     3) + diff(capital, 2) + diff(capital, 3)

Coefficients:
  lag(log(emp), 1)  lag(log(emp), 2) lag(log(wage), 2) lag(log(wage),  
3)  diff(capital, 2)
         0.8678675        -0.1936447        -0.1632724          
0.3200785         0.0037612
  diff(capital, 3)
         0.0137866