To Statalist
I used -gmm- to test the equality between two variables (b1, c1) in different models referring to the following.
https://www.stata.com/statalist/arch.../msg00284.html
My command is like this
. gmm (eq1: Y -{b1}*HX-{xb: i.year#i.Sectors i.year#i.Reporter i.Sectors#i.Reporter}-{b0}) ///
(eq2: Y -{c1}*LX-{xc : i.year#i.Sectors i.year#i.Reporter i.Sectors#i.Reporter}-{c0}), ///
instruments(eq1: HZ i.year#i.Sectors i.year#i.Reporter i.Sectors#i.Reporter) ///
instruments(eq2: LZ i.year#i.Sectors i.year#i.Reporter i.Sectors#i.Reporter) onestep winitial(unadjusted, indep)
but I got the error message "could not evaluate equation 1".
There was no problem, when I ran this command without the interaction of dummies (3 pair dummies: country, sector, year)
How can i add this pair dummies into the specification ?
I would greatly appreciate it if someone could help me out.
Thank you!
Best regards,
Baek
Related Posts with Comparing coefficients between two ivregress models
how to count the number of variables after split?Dear All, How to generate a new variable that equals the number of variables generated after split?…
Multilevel modelling using “svy:melogit” with the ‘subpop’ option giving weird resultsI did my modelling using “svy:melogit” with the ‘subpop’ option in Stata 15.1 as follows after readi…
PPMLHDFE Gravity model for remittancesDear Tom Zylkin and Joao Santos Silva I hope you are doing well, I am using a gravity model in the …
Labels (Abc) from variable names (Abc_defghi)Hi all, I've seen a few posts asking questions about labelling variables by their respective names,…
error in running mi impute chainedThank you very much in advance for reading this post, and for any help that you can extend. I am tr…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing coefficients between two ivregress models
Post a Comment