Bookmark and Share

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: --estimates table, drop()" and FACTOR variables (texdoc)


From   Carsten Sauer <[email protected]>
To   [email protected]
Subject   Re: st: --estimates table, drop()" and FACTOR variables (texdoc)
Date   Mon, 01 Aug 2011 20:22:15 +0200


you have to specify which factor variable you want to drop.
Look at this example:

sysuse auto, clear
reg price  mpg i.rep78
est table, drop(2.rep78)
est table, drop(2.rep78 3.rep78)


best, carsten

Am 01.08.2011 19:30, schrieb Tanuku AP:
Hello all,

I run a few specifications then try to drop a factor variable (~300 dummies) but --estimates table-- throws an error.  Am I doing something wrong?  If there is an issue with factor variables, is there a known workaround?


estimates table a1 a2 a3 a4 a5, drop(i.hsacode)
coefficient i.hsacode does not occur in any of the models
r(198);

. estimates table a1 a2 a3 a4 a5, drop(hsacode)
coefficient hsacode does not occur in any of the models
r(198);

. estimates table a1 a2 a3 a4 a5, drop(_hsacode)
coefficient _hsacode does not occur in any of the models
r(198);





BTW, I am using these --estimates table-- within a --texdoc stlog-- block.


--Tanuku
 		 	   		  
*
*   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/

-- 
Carsten Sauer
Soziale Ungleichheit und Sozialstrukturanalyse
Universität Bielefeld
Fakultät für Soziologie
Postfach 10 01 31
33501 Bielefeld
Tel.: 0521 106-67291/-6948 (Sekr. Frau Fischer)
Fax: 0521 106-6479 


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index