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 at the end of May, and its replacement, statalist.org is already up and running.


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

st: RE: Change of reference group in linear multiple regression analysis


From   "Lachenbruch, Peter" <Peter.Lachenbruch@oregonstate.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Change of reference group in linear multiple regression analysis
Date   Thu, 9 Aug 2012 14:31:24 -0700

check on fvvariable.

________________________________________
From: owner-statalist@hsphsun2.harvard.edu [owner-statalist@hsphsun2.harvard.edu] On Behalf Of Amal Khanolkar [Amal.Khanolkar@ki.se]
Sent: Thursday, August 09, 2012 6:25 AM
To: statalist@hsphsun2.harvard.edu
Subject: st: Change of reference group in linear multiple regression analysis

Hi, I'm currently running a linear multiple regression analysis where the principle explanatory variable is:

Years since |
immigration |      Freq.     Percent        Cum.
------------+-----------------------------------
     <3 yrs |    106,794        3.57        3.57
    3-5 yrs |     91,311        3.05        6.62
   6-10 yrs |     96,657        3.23        9.85
  11-19 yrs |     82,344        2.75       12.61
  20-29 yrs |     50,954        1.70       14.31
   >=30 yrs |  2,563,396       85.69      100.00
------------+-----------------------------------
      Total |  2,991,456      100.00

-  Currently the default group is the first category, <3yrs. I would however like to change this in the regression to the last group >=30 years. How do I do this without having to recode the above variable?

Thanks,

/Amal.

Amal Khanolkar, PhD candidate,

Centre for Health Equity Studies (CHESS),

Karolinska Institutet,

106 91 Stockholm.



Ph# +46(0)8 162584/+46(0)73 0899409

www.chess.su.se


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