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
Help with basic data managementDear all in Statalist, I need general codes for management of my data that can be used for other st…
Count frequency of namesDear All, Suppose that I have this dataset, Code: * Example generated by -dataex-. To install: ssc…
Dynamic number of ticks with valuelabels in twoway graph?I have to update this figure each month and I then have to manually change 1(1)19 to 1(1)20 ond so o…
how to get the coefficient of interation term after regression Code: xtset area_id year xtreg y i.dummy##c.GDP income xoijj i,year, fe r After running this r…
Propensity score matching/weighting - panel dataHi everyone! Because I am lacking parallel trends, I have decided to study the effect of X on Y usi…
Subscribe to:
Post Comments (Atom)
0 Response to Divide population according to predefined predicted probabilities cut-offs
Post a Comment