Dear all,
I run a logistic regression model with predictors (age, diabetes, hypertension, tobacco) and a dependent variable/outcome (death).
After performing the logistic regression, how can i divide my population according to predicted probability of the outcome? I want for example to use probability cut-offs of 4%, 15% for the outcome and divide my population in three parts (low risk <=4%, intermediate risk 4< <=15%, high risk >15%) of predicted probability for the outcome.
Is there an easy way to do that in STATA?
I appreciate very much any help.
Best,
*************************************************
Panagiotis Antiochos, M.D.
Post-doctoral Research Fellow
Cardiac Magnetic Resonance Laboratory
Brigham and Women's Hospital
75 Francis Street, Boston, MA 02115
Phone: 617-938-7156
Email: pantiochos@bwh.harvard.edu
*************************************************
Related Posts with Divide population according to predefined predicted probabilities cut-offs
Interpreting fixed effects when panel identifier is a group variableDear Statalist members, I have a conceptual question regarding the use of xtreg, fe when the panel …
File read limits.Dear All, Stata's manual mentions that: fget(fh) is for reading text files; the next line from the…
foreach, forvalues loopCan I use loop command about these? recode v11 (1/9=1) (else =.), generate(hmember_1) recode v14 (1…
Is a ordered logit model possible?First of all, thank you for reading. I have a question. As a dependent variable, we use the average…
Help with xtdcce2, missing a lot of observationsDear community, I have encountered an issue with xtdcce2 (xtdcce2 4 - 08.02.2023). I have a balance…
Subscribe to:
Post Comments (Atom)
0 Response to Divide population according to predefined predicted probabilities cut-offs
Post a Comment