TransWikia.com

Error in cbind(yX1[[i]], V1) : number of rows of matrices must match (see arg 2) in r

Economics Asked by LucasLeonhard on July 29, 2021

I estimated a gmm model using pgmm() of the plm package, but received the following error term:

Error in cbind(yX1[[i]], V1) : number of rows of matrices must match (see arg 2)

My Model looks like this:

pgmm(X1 ~ X2 +X3 +X4 +X5| X6 +X7 +X8 +X9 +X10 +X11 +X12, data= mydata,                           
 effect = "twoways", model = "twosteps", transformation = "ld")

The Data and my R Script can be found here:

https://drive.google.com/drive/folders/1_DtL9-rOZ8rXO6RPOHfeByD_1GnWxXK9?usp=sharing

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP