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
Traj command (dropout model)Hello everyone, I am using the traj command to examined gait speed trajectories and I have a questi…
Making a dummy for threshold Hi, I am going to make a dummy Ii ( Em (i)<= Em) that selects firms whose employment (Em(i)) is…
Zero event meta analysis with ipdmetanHey everyone, I'm trying to run a two-stage meta-analysis to generate a forest plot with individual …
Selecting Date RangeI have a data where one of the variables is CloseDate whose Variable Type is int and Format is %tdnn…
How are p-values calculated in an Oaxaca-Blinder DecompositionHi all, I am trying to interpret the results of an Oaxaca-Blinder Decomposition. I am using the pop…
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