Skip to content
Prev 201899 / 398506 Next

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

On Nov 27, 2009, at 12:04 PM, Owen Powell wrote:

            
If I instead use the results of dynformula in plm as copied as a  
string from the output, I get what appears to be more what one might  
expect:

 > grun.fe <- plm(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) ,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

It certainly appears that the function plm is not decoding its  
arguments as do most regression functions. Perhaps you should take up  
your concerns for this non-standard behavior up with the package  
authors?