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
Choosing the right modeling technique available in STATADear Stata Experts: I am working on a project to predict state policy on a particular issue. The ob…
Dummy Variable with Mutliple conditionsI am trying to generate a new variable to take on the values of 1 and 0. Where 1 represents alcohol …
Looping through a panel with dfullerHi everyone, I would like to test an unbalanced panel for unit roots and store the results by group…
Panel Data Scatter Plot Not Displaying All DataI'm trying to create a nice scatter plot with some panel data that's coloured, the problem is that i…
Creating a loop for estimating probabilities using mlogitHello, Since the mlogit is not a panel estimator I want to estimate a cross sectional model but for…
Subscribe to:
Post Comments (Atom)
0 Response to Comparing coefficients between two ivregress models
Post a Comment