HI,
I'm trying to compare coefficient from different regression models with panel data.
In a normal regression I would use cross-equation test, that allows to test for the difference between two regression coefficients across independent samples. The test answers the question: “does b1 = b2?”; where b1 reflects the effect of explanatory variable within group 1 and b2 is the effect of the same variable within group 2.
code:
regr Y X1 X2 if X3 == 0
est store zero
regr Y X1 X2 if X3 == 1
est store one
suest zero one
test [zero_Y=one_Y]: X1
If I do the same thing after "xtreg, fe" (fixed effect) the output is:
Constraint 1 dropped
chi2( 0) = .
Prob > chi2 = .
Is there a way to do cross-equation test using "xtreg, fe"?
thank you
Related Posts with Cross-equation test in Panel Analysis
How to select a specific part in a string variable?Greetings, I am cleaning data in a very large dataset, and would want to drop all records in a speci…
How to get sum of categoryHi everyone, I use id and type to generate dummy_1~dummy_5 My data looks like this: id type dumm…
Problem with macro in forvaluesHi! I'm trying to construct the variables for exporter-time and importer-time fixed effects for our …
2SLS in non-linear models with count endogenous explanatory variableGreetings everyone, I specify two models in my study with two different dependent variables; one of…
Comparing data among two string columnsDear Statalist members, I want to identify the political connections of the firms. For this I have c…
Subscribe to:
Post Comments (Atom)
0 Response to Cross-equation test in Panel Analysis
Post a Comment