How can I combine variables?
These variables all refer to use of prescription benzodiazepines:
valium
ativan
benzo_other
The variables are categorical:
- More than once per day
- Once per day
- A few times per wee
- Weekly or less
- Monthly or less
- I haven't taken this
Because sample sizes are so small, I'd like to combine these variables to ONE variable on benzodiazepine use.
Could you please help me with a code or command?
I also have numerical variables I'd like to combine
Related Posts with How do you combine categorical and numerical variables?
Medical student who needs help?Hi there, I know very little about STATA but I wanted to know how I could create new variables usin…
Panel data- setting id using group variableI am beginner in panel data. Please pardon if its a basic question. If I have 100 countries for whic…
Movestay questionHi there, I am using movestay to examine the impact of innovation (Innovation) on capital structure…
Setting up variables for a Venn DiagramHi- trying to set up variables for a Venn Diagram; essentially I need a count across three categorie…
Fd gmmHi, I am working on a research matter where i want to use First Difference GMM. My approach is: All…
Subscribe to:
Post Comments (Atom)
0 Response to How do you combine categorical and numerical variables?
Post a Comment