I would like to create a variable based on individuals being classified as "high risk" or "low risk".
This risk stratification would be based on individuals having 2 or more of certain other characteristics or risk factors, such as sex, age, education etc.
Ordinarily if it was looking at 1 or more of any risk factor, my practice would be to generate a new variable and just "replace as I go" with each old variable in turn.
However, how is it possible to do this if an individual is classified as "high risk" based on having 2 or more of a series of variables?
I can't seem to readily find this on this forum or elsewhere online.
Related Posts with How to generate a new binary variable based on individuals having 2 or more of other risk factors
Substracting different rows in StataHi all! I need your help, please! I have data from 2014q1 to 2019q4, what I want to do is subtract …
How do I generate a risk score and then use it to calculate quartile odds ratioHello I was looking for some assistance in generating a prediction risk score for a binary outcome …
error message returned when installing spost13 using Stata 17Hello, I would like to use Brant test for my ordered logistic regression models and tried to instal…
sigma u, sigma e, and rho in panel modelI want to know 1- how sigma u, sigma e, and rho can be calculated by hand or what is the rule of cal…
determine an uninterrupted string of n positive yearly valuesHi, I need to compute a variable x corresponding to the first year of an uninterrupted string of 10…
Subscribe to:
Post Comments (Atom)
0 Response to How to generate a new binary variable based on individuals having 2 or more of other risk factors
Post a Comment