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
nlsur returned zero estimates and (constrained) standard errorsDear statalisters, I'm working on a Translog cost function estimation, where the dependent variable…
Merging loan data (US) with CPS via using CBSAI'm having trouble whilst trying to merge the PPP loan data from government website with the BLS's C…
AR or MA or ARMA process?Hi guys, If i wrote the formula xt = 1.004 * xt-1 + ut and yt = 1.04 * yt-1 + vt are these AR or M…
How can I change the yscale in dot graph? It seems not working.I am trying to present the guest ratings of hotels in different cities in different months. My code…
Using Excel data in StataHi Guys, I have some very simple excel data in Stata (i'm just playing around atm) showing where pe…
Subscribe to:
Post Comments (Atom)
0 Response to Tabulating one variable IF another variable is true
Post a Comment