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: -outreg, keep() - with factor variables. Basic question
From
Ricardo Ovaldia <[email protected]>
To
"[email protected]" <[email protected]>
Subject
st: -outreg, keep() - with factor variables. Basic question
Date
Tue, 13 Sep 2011 08:23:04 -0700 (PDT)
Dear all,
How do I refer to a factor variable or level of a variable in -outreg, keep() - without using -xi-?
For example using the auto data:
. sysuse auto,clear
(1978 Automobile Data)
.
. regress mpg i.rep78#c.price i.rep78 price
<output omitted>
.
. outreg , nosubstat stats(b se ci p) keep( 2.rep78 )
2: operator invalid
stata(): 3598 Stata returned error
KeepDrop(): - function returned error
MakeSmat(): - function returned error
CalcStats(): - function returned error
<istmt>: - function returned error
I want to output only the -rep78- variable values without having to use the -xi- prefix.
Thank you in advance,
Ricardo
Ricardo Ovaldia, MS
Statistician
Oklahoma City, OK
*
* 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/