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
Fine and Gray with CensoringWhen I produce cumulative incidence curves (CIC) for the Fine and Gray model using stcrreg and stcur…
Points of mass in running variable - RDDear all, I am struggling with my RD specification. I am using the rdrobust package from SSC and wh…
ppmlhdfe with disaggregated data: exporter,importer,sector fiexed effectsHello, I am running a gravity model. My data looks something like this Code: use "http://fmwww.bc.…
Interpreting interactionDear Statalist, I am running the following regression with an interaction between a categorical edu…
Force MergeHi, I am trying to merge household-level data for two different rounds but I keep on getting an erro…
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