Hello everyone
new here and to stata, so please forgive the numb question.
I have a list of seven variables (infarct location on echocardiography): anterior, inferior, lateral etc etc.
Each Variable gives a binary result 0 or 1 (non present, present) Array
Array
tabulate for each variable gives me this.
I'd like to have a "table" with all those variables in one unique table and in the rows, instead of "unchecked" or "checked", i'd like to have just the positive values (1) of each variable, so i.e:
- anterior x freq (just positives)
- inferior x freq (just positives)
and so on
Know it may sound rookie but please forgive me, i'm really new to all this.
Hope you can help me out and thanks in advance for the answer/s.
Cheers
Related Posts with Tabulate multiple variables with binary values into one table/supervariable
Computing Z-Score (risk measure)Hi guys, I´m new here and have just startet do use STATA for my thesis. So basically I´m interested…
how to draw a plot with confidence interval non-parametric regHi, I am using npregress kernel code for my analysis which goes like this: npregress kernel DepVar…
Add missing date, last observationHi, I do have an issue with my dataset. I need to add missing dates and replace the variable "creat…
Drop if 3 consecutive quarters of negative sales growthHey! I have some difficulties to write a proper code to clean my data. The goal is to keep only fir…
How to find the amount of gaps in a natural number sequence?Dear Stata community, I have some oddly formatted data, as in the following example dataset: Code:…
Subscribe to:
Post Comments (Atom)
0 Response to Tabulate multiple variables with binary values into one table/supervariable
Post a Comment