Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Estout results of two SURs with the same regressors
From
Francesco Scervini <[email protected]>
To
<[email protected]>
Subject
Re: st: Estout results of two SURs with the same regressors
Date
Tue, 18 Mar 2014 22:23:54 +0100
If someone else were interested, I solved adding the following option:
equations(1:1,2:2)
---
Francesco Scervini
francescoscerviniphd.wordpress.com
Il 18.03.2014 14:57 Francesco Scervini ha scritto:
Dear Statalisters,
I make two SURs using -sureg-.
The dependent variables are pre-tax prices of goods 1 and 2 in the
first SUR and post-tax prices of goods 1 and 2 in the second SUR.
Independent variables are the same in both SURs and both equations
(see
the example hereafter).
When I -estout- the results, something strange (to me) occurs:
results
from the first equations of the SURs are shown in the same lines (as
I
expected, since regressors are the same), while results from the
second
equations are shown in different lines (that puzzles me).
Here is a minimum working example (with meaningless variables):
sysuse nlswide1, clear
sureg (wage68 count68 collgrad68) (hours68 count68 collgrad68)
est store sur1
sureg (wage88 count68 collgrad68) (hours88 count68 collgrad68)
est store sur2
estout sur1 sur2, eqlabels("Wage" "Hours") mlabels("dep:1968"
"dep:1988")
that produces the following table:
--------------------------------------
dep:1968 dep:1988
b b
--------------------------------------
Wage
count68 .0011111 -.0028053
collgrad68 3.639574 4.791805
_cons 3.893202 7.59611
--------------------------------------
Hours
count68 .005314
collgrad68 7.156666
_cons 34.93033
--------------------------------------
hours88
count68 -.0006587
collgrad68 7.299064
_cons 35.65841
--------------------------------------
I am using Stata 12.1 on MacOS X and -estout- version 3.13
Any ideas?
Thanks
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/