Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: eststo and factor variables


From   Bert Lloyd <bert.lloyd.89@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: eststo and factor variables
Date   Wed, 3 Oct 2012 09:44:39 -0400

I have been successful using eststo / esttab without the prefix syntax.

That is, try
quietly regress log_trim_totalreturn_std_plus16 log_COSTR_5ya
log_trim_leverage log_trim_sale_corr i.sic12 i.date_year, vce(cluster
cusip)
eststo M1

One thing that would be great for a future update to est... would be
additional support for the use of value labels for factor variables.
There have been some workarounds posted previously to Statalist (*)
but it would be great to incorporate this into the base code.

HTH,

BL

(*)

1. Manual workaround
http://www.stata.com/statalist/archive/2009-09/msg01011.html

2. Semi-automated workaround
http://www.stata.com/statalist/archive/2012-04/msg00960.html
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index