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]

st: Categorical variables Names in Regression Output


From   Ayman Farahat <ayman.farahat@yahoo.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: Categorical variables Names in Regression Output
Date   Thu, 7 Apr 2011 11:49:10 -0700 (PDT)

Hello; 

I am running a regression that uses a string variable as an independent variable.
I encode the string variable using the encode command
encode agency , generate(agency2)
and then i regress 

regress recpm i.agency2

however, when i get the regression results; i get the coded value and not the string values that are much more meaningful.
How can i report the regression results using the actual string variable?
Also; is there a way to output the variables that have a certain  P>|t| , say less than 0.1?
ThanksAyman

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


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