Dear forum,
I have a dataset of 407 participants, i am trying to categorise them by their hip to waist ratio. This is a continuous variable which I would like to ceate a new categorical variable with.
I am trying to categorise my continuous hip:waist ratio into a new categorical variable of three categories 1 "low" 2 "average" 3 "high".
However, the cutoffs for low average high are different for male and female.
Is there a way to do this with egen cut() function or is something more complex?
My variables: sex
waisthip
Grateful for any help,
Related Posts with create new categorical variable with different cutoffs depedent on condition (sex)
Storing Bootstrapped P-valuesHi everyone, I'm trying to obtain bootstrapped p-values for a regression, and store the p-values for…
Spatial Correlation in Standard ErrorsHi all, I would like to implement Conley standard errors to allow for spatial correlation, but I'm n…
How to change the color on the x, y axes labelsHow is the health of friends. One question please: How to change the color on the x, y axes I want w…
Estimates Return P-ValueIf I am not mistaken there is not a option in e() after a regression to return the p-value of a coef…
Spell Check Do-File EditorIs there a way to do a spell check in the do-file editor. I create my tables and figures in the do-f…
Subscribe to:
Post Comments (Atom)
0 Response to create new categorical variable with different cutoffs depedent on condition (sex)
Post a Comment