Displaying 2 results from an estimated 2 matches for "lagformula".
Did you mean:
aformula
2009 Mar 27
0
R: plm and pgmm
...make such daring statements, because stata seemed able of running this
and producing output.
On the other hand, the exact NF number at which pgmm() dies does suggest
that you are right.
function( NF=7, NT=4 ) {
d= data.frame( firm= rep(1:NF, each=NT), year= rep( 1:NT, NF),
x=rnorm(NF*NT) )
lagformula= dynformula( x ~ 1, list(1) )
v=pgmm( lagformula, data=d, gmm.inst=~x, model="onestep", effect=NULL,
lag.gmm=c(1,99), transformation="ld" )
}
with NF=8, it works; and with NF=7, it dies. With NF=7, I have 28 data
points in levels and 21 data points in differences, which are...
2009 Mar 26
1
pgmm (Blundell-Bond) sample needed
Dear R Experts---
Sorry for all the questions yesterday and today. I am trying to use Yves
Croissant's pgmm function in the plm package with Blundell-Bond moments. I
have read the Blundell-Bond paper, and want to run the simplest model
first, d[i,t] = a*d[i,t-1] + fixed[i] + u[i,t] . no third conditioning
variables yet. the full set of moment conditions recommended for
system-GMM,