Dear Statalist member,
I am using stata 15 to run gmm using xtabond2 command but it kept on bringing error. The panel dataset is weakly balanced,
Kindly see my specified command and error message below:
xtabond2 zcstunt wa_i sex_c cageN childrenumber religion edulevel lifesatisf race wv*, gmm(edulevel hhsize
> childrenumber, lag (1 .) collapse) gmm(wa_i lifesatisf, lag(2 .)collapse) gmm(lhhincome race, eq(level) p l
> ag(2 .)) iv(wv*, eq(level)) robust
Favoring speed over space. To switch, type or click on mata: mata set matafavor space, perm.
wv4 dropped due to collinearity
Warning: Two-step estimated covariance matrix of moments is singular.
Using a generalized inverse to calculate robust weighting matrix for Hansen test.
Difference-in-Sargan/Hansen statistics may be negative.
estimates post: matrix has missing values
stata(): 3598 Stata returned error
xtabond2_mata(): - function returned error
<istmt>: - function returned error
The result display: estimates post: matrix has missing values. I have recheck the dataset and I don't think there is missing.
Please, what do I need to do? Thanks in anticipation of a favourable response.
Related Posts with Gmm
Deleting NA'sHi, I have imported cvs file and now some variables have NA's and not . I can't use the command dro…
How to check Study Size (count of participants included in meta-analysis) when conducting meta-analysis?Hello I am conducting meta-analysis on Stata 16 using meta set and meta summarize commands. The out…
Problem with generating counts of unique episodes within an ID based on the specific ruleHi everyone, I have data on patients receiving certain medication captured as 9-months episodes. I …
Time series dataI have data on Bitcoin price and S&P500 price development from Oct. 6th 2020 - Dec. 27th 2013, i…
How to check Study Size (count of participants included in meta-analysis) when conducting meta-analysis on Stata 16?Hello I am conducting meta-analysis on Stata 16 using meta set and meta summarize commands. The out…
Subscribe to:
Post Comments (Atom)
0 Response to Gmm
Post a Comment