Hello,
I am doing a cox regression and have a variable socioeconomic status 'ses' which I have labelled as 0= low ses, 1=middle ses, and 2=high. I would like to change my reference category from 'low ses' which is the default, to 'high ses' to enable easier interpretation and presentation of the results. I have used the command I normally use when doing a logistic regression char ses [omit] 2 but the reference category does not change afterwards. I use Stata Version 14.0. Can anyone kindly advise? Thanks.
Elima
Related Posts with Help with changing reference category when doing a cox regression
Predicting residuals from instrumental regressionModel : ivreghdfe itotf (qt = lagqt lagcfo) cfo, absorb(gvkey fyear) endog(qt) cluster(gvkey) resid …
Panel data with averaged observationsHello everyone. I am new at STATA and struggling to come up with a proper methodology. I have a pane…
Five Year Average Period. Each Variable?Dear all, I want to create five year average periods for my independent variables (FDI inflows) and…
Looping over two localsHello, I'm endeavoring to loop over two locals. The first local is made up variables consisting of …
Using loop to import, edit, then export .csv filesHello, I am importing a large number of .csv files into Stata. Before I can import the files, I nee…
Subscribe to:
Post Comments (Atom)
0 Response to Help with changing reference category when doing a cox regression
Post a Comment