Hello
I was looking for some assistance in generating a prediction risk score for a binary outcome (cr_code), then using the risk score to calculate the quartile odds ratio for patients in the highest risk quartile compared to the lowest risk quartile for having the event.
Variables I would like to include in the risk score are ones that were significant in a logistic regression backwards selection analysis: age, race, gender, income, education cognitive function. This is what I have so far you:
logit cr_code i.income i.education i.q_cognitive2
predict yhat, xb
Your assistance will be greatly appreciated.
Related Posts with How do I generate a risk score and then use it to calculate quartile odds ratio
reverse the first difference value of ARIMAHi guys, I'm an economics newbie, while running the ARIMA analysis, I have a problem about how to re…
What is the default weighting method for "metan" commandHi There, Just got a quick question about the "metan" command: what is the default weighting method…
Issues with loading the CCS tool with HCUP on STATA softwareHi I am trying to work with the NIS data (HCUP). I have loaded the data over to stata successfully. …
Dynamic variable namesHi, I have a dataset which includes information on a person-level for individuals living in differen…
Export Rddensity outcomesHi all, I am having a hard time exporting the outcomes of the command rddensity into MS Word (or ex…
Subscribe to:
Post Comments (Atom)
0 Response to How do I generate a risk score and then use it to calculate quartile odds ratio
Post a Comment