Hi guys,
this sounds maybe easy, but I'm finding difficulties in doing this task.
I have a population of 175 patients where 61 (var1) had a special treatment.
We performed clinical follow-up for every patient (30 variables), where I want to know right now one specific (var2).
Now I would like to know the specific follow-up variable (var2) for that specific subset of population (var1). var1 is a simple No/Yes variable, whereas var2 is a 4 outcome variable (no angina, CCS 1, CCS 2 and CCS 3)
How can I do it?
I tried with IF but I believe my syntax is wrong.
Thank you very much for your help
Related Posts with Tabulating one variable IF another variable is true
Operationalization of PCA and MCA commands in Index Creation using StataDear Stata users, I hope this post finds you all in good health! I am constructing several types o…
Fuzzy RDD estandard errorsHello all, I am working on a Fuzzy RDD, and since my first and second stages come from different sa…
Reshape using j varname string as variable name outputHi Statalists! Currently I am trying to reshape daily returns data for S&P500 listed companies …
reghdfe and quadratic local time trendHi all, I am running a regression using "reghdfe", with state fixed effect (FE), time FE, and state…
Analyzing Multi response questionHi All, I am a beginner STATA user and I need help to solve the challenge I face: I have an example…
Subscribe to:
Post Comments (Atom)
0 Response to Tabulating one variable IF another variable is true
Post a Comment