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
Gen Variable: Percentage Share (Row)Dear Statalisters, I'd like to calculate the percentage share of "experience" a member has in its p…
How to store the beta/standardized coefficients after a regressionIs there a way to store the beta/standardized coefficients after a regression? For example, how can…
How to check panel model's robustnessGreetings! Please, kindly let me know how to conduct postestimation tests for panel model in order …
Multilevel Mixed modellingHi there, I am new to the STATA program (and forum), so excuse me if my question sounds unclear/vag…
Effect of msising dataHi all, I want to look at the effect of policy on the change in working hours for a certain age gro…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing coefficients between two ivregress models
Post a Comment