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: Change of reference group in linear multiple regression analysis


From   daniel klein <[email protected]>
To   [email protected]
Subject   Re: st: Change of reference group in linear multiple regression analysis
Date   Thu, 9 Aug 2012 15:35:48 +0200

You do not show your code, but I assuem you typed something like

reg y i.x

Instead type

reg y ib6.x

(given the values of x are 1-6). See -help fvvarlist-.

Best
Daniel

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

[...]

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