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
Combining bar graphs from different binary variablesDear all, I'm trying to get a combined bar chart for an overview of the proportions from three diff…
Changing variable value across cross-sectional units in panel data if criteria is metI have panel data in which my cross-sectional units are farms. I am correcting a variable for the ye…
Distance between observations in different data basesHi, I have two data bases (1 & 2). I can compare longitude and latitude between them but nothing…
Geometric means - gmciHi! I use the command gmci often because I work with a lot of log-normally distributed datasets. Th…
Chi Square Test for Suvery Weighted DataHello Everyone, I am trying to conduct Chi-Square test on proportion using the survey data. I have s…
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