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: Stata 13 wishlist


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu, statalist@hsphsun2.harvard.edu
Subject   Re: st: Stata 13 wishlist
Date   Fri, 04 Jan 2013 15:32:27 -0500

At 02:39 PM 1/4/2013, Jeph Herrin wrote:
Factor variables: tables which include factor variables should use value labels (if they exist) to label the factors.

My wish too. There are no doubt practical problems involved, e.g. in the output from margins how are you going to fit 5 or 10 value labels on one line? But it seems like it could be doable with something like regress. If nothing else, maybe have some sort of legend that includes the codes and value labels. In fairness the output as is still looks a lot better than what you got with the -xi- prefix.


Often, I avoid using factor variables in models because the resulting output can be difficult to read. For instance, if -country- is an integer variable with labels denoting countries,

 regress y i.country

produces a table with a list of numbers for covariate names instead of the corresponding names of the countries. This has to be remapped manually back to the labels (right?). So I often generate my own dummies on the fly just so I can easily read (and share) the output.

Notably, I have to rerun with factor variables if I want to use -margins- afterwards, which indicates perhaps another feature that could be added to Stata 13.

cheers,
Jeph






On 1/2/2013 9:25 AM, Airey, David C wrote:
.

Markdown to HTML as in R knitr/mardown in RStudio + Pandoc
SEM additions along the lines of Mplus 7
Nonlinear mixed effects models





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

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

-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  Richard.A.Williams.5@ND.Edu
WWW:    http://www.nd.edu/~rwilliam

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index