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]
st: outreg2 dropping variable from second model
From
Scott Moskowitz <[email protected]>
To
[email protected]
Subject
st: outreg2 dropping variable from second model
Date
Sun, 06 May 2012 17:40:22 -0400
I just started using outreg2 to format my regression tables in msword,
adn I am having a problem with appending multiple models. Basically,
when I add a variable into my model in my seccond regression it never
shows up on my output. I was wondering if anyone could help.
my code looks like this:
.logistic w x y;
.outreg2 x y z using c:/myfile.doc replace;
.logistic w yz;
.outreg2 y z using c:/myfile.doc append;
my output however never includes z and only gives me the variables from
my first regression. Basically I Z never gets appended and my output
file in both word and txt look like this:
1 2
x 1.23*
(.123)
y 2.23* 2.25**
(.223) (.225)
(.223)
Can anyone tell me what I am doing wrong?
Below is my actual code. (the Variable onlyinfo from the 2nd regression
is the one that never gets appended)
.mi estimate, dots post or: logistic voted usesinternet socialnet
networkpolinfoA networkpjoinA networkactA ages edu income male marpar
whisp black asian otherr rural student job i.state;
.outreg2 voted usesinternet socialnet onlyinfo networkpolinfoA
networkpjoinA networkactA ages edu income male marpar whisp black asian
otherr rural student job using c:\regtables\intregtbl.doc, eform
alpha(0.001, 0.01, 0.05, 0.10) symbol(***, **, *, +) word replace;
.mi estimate, dots post or: logistic voted usesinternet socialnet
onlyinfo networkpolinfoA networkpjoinA networkactA ages edu income male
marpar whisp black asian otherr rural student job i.state;
.outreg2 voted usesinternet socialnet onlyinfo ages edu income male
marpar whisp black asian otherr rural student job using
c:\regtables\intregtbl.doc, eform alpha(0.001, 0.01, 0.05, 0.10)
symbol(***, **, *, +) word append;
thanks for any help. This is my first post to statalist so I apologize
for any grave mistakes or faux pas
regards,
Scott
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/