I performed a GMM (Generalized Methods of Moments) analysis in R using the pgmm
package.
I included additional external variables in my model. However, since the model also uses internal instruments (lagged dependent variables), I am not sure how many instruments there are in total.
Is there any way how I can calculate them or is there a function in R that provides the value?