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
New Stata User: Need help with effect size question and one other using svy tabulateI have a survey table with two variables. After output it shows 2x3 table and measures off associati…
Using -foreach- to count for string variablesDear Statalists, I have a dataset with 28 string variables named"ox*tc", and the * represent to num…
putwrap not respecting commands spread across multiple linesFor those of us still using Stata 15, putwrap facilitates the commingling of putdocx commands and co…
Code Interpret Of Loop Code: clear set obs 100 gen setA=0 gen setB=0 gen V1 = -1 + rnormal() gen V2 = 1 + rnormal() ge…
Correlation between binary and continuous variablesHello everyone! I have a bunch of binary variables, such as GENDER, and some contiuous variables li…
Subscribe to:
Post Comments (Atom)
0 Response to Divide population according to predefined predicted probabilities cut-offs
Post a Comment