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
VAR switching modelsHi I'm trying to model a VAR model using switching regimes appraoch. I know that STATA14 performs SP…
time seriesI have time series data on five variable which model should I use …
Exporting iterative Metaan results to excelI developed an iterative loop to calculate Metaan for a total of 39 studies. I have been trying to e…
Respondent invariant variables in a panel regressionHi, I am new to STATA. I have panel data (based on survey results) with various respondent invariant…
Gini coefficientHello How do I calculate the Gini coefficient with the equivalent scale method using these data for …
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