I'm using a dataset with 6 variables measuring different complications a participant could have had. (For example, wound_complication 0=no, 1=yes; cardiac_complication 0=no, 1=yes; etc.).
I want to group the participants by number of complications (0, 1, or >=2). How can I use my complication variables to create this grouping?
I use Stata 16.0 SE
Thank you,
Katie
Related Posts with Creating new variable with counts
Problem with plotting a decision tree using Stata 16's Stata/Python integrationDear all, I have a problem with the Stata/Python integration. I would like to plot a tree after usi…
weighted KappaHi I was wondering if anyone could help? I have tried the help sections and looking online on other …
pscore or pscore 2can anyone help me with pscore 2 command or provide me details on the authors who generated pscore2 …
Survival anlysis with interval censorshipHi experts, I am working on survival analysis with interval censorship. In our dataset, an object a…
Alternative to tobit regression for left-censored biomarker variableHi, I'm a novice when it comes to stats so apologies if the question is a bit stupid! I'm currentl…
Subscribe to:
Post Comments (Atom)
0 Response to Creating new variable with counts
Post a Comment