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
Pooled cross section the best way to analyze non-panel longitudinal data?There are a bunch of datasets, e.g. world values survey, alcohol usage report etc which present good…
Strategy for analyzing 90 observations with a dichotomous dependent variableDear statalisters, I am involved in a project analyzing the effect of Environmental Impact Assessme…
Launch of Cross Sectional Dependence Tests in StataHi Dear, Can you please tell me when or in which year and month Stata introduced cross sectional de…
Stacked bar chart using pre-aggregated census dataHello, I have a table of aggregated data that I downloaded from Census. The first three years of the…
Non-typical periodicity in panel/time seriesWhen using tsset or xtset, there are a bunch of frequencies that are standard and can be set easily …
Subscribe to:
Post Comments (Atom)
0 Response to Comparing coefficients between two ivregress models
Post a Comment