I want to get the Hansen-Sargan test, after 3SLS, how to do it ? equations: Y1=F(Y2, Y3, X1, X2, X3, X4, marriage,i.edu, i.region) Y2=F(Y1, Y3, Z1, Z2, Z3, marriage,i.edu, i.region) Y3=F(Y1, Y2, W1, W2, Z3, marriage,i.edu, i.region) reg3 (Y1 Y2 Y3 X1 X2 X3 X4 marriage i.edu i.region) (Y2 Y1 Y3 Z1 Z2 Z3 marriage i.edu i.region) (Y3 Y1 Y2 W1 W2 Z3 marriage i.edu i.region) then I write: overid Stata shows: 0: operator invalid
Related Posts with how to do reg3 postestimation for simultaneous equations (cross-section data)
Using statplot to plot averages of one variable, grouped by a list of different variablesHello, Apologies for the potentially confusing title. This is my first post on Statalist and I coul…
Generating groups by sets of consecutive numbersI am trying to create a new id variable in a dataset by id and a set of consecutive numbers. For exa…
Why can't I run the margins dydx command twice for different sets of covariates?So for some context, here is my regression model (a GLM estimation): Code: glm racial_support_inde…
How Do I Use a Seemingly Unrelated Regression To Compare the Magnitude of AMEs Between Two Models with Different Dependent Variables?Let's say I have two DVs, Anti-Muslim Sentiment (ranging continuous 0 to 1 inclusive) and Anti-Abori…
Getting formula rightDear all, I want to calculate the following decomposition below, which synthesizes how much of the …
Subscribe to:
Post Comments (Atom)
0 Response to how to do reg3 postestimation for simultaneous equations (cross-section data)
Post a Comment