Quantcast
Channel: Statalist
Viewing all articles
Browse latest Browse all 72768

Table with Categorical variable to define columns

$
0
0
Hi All,

I am trying to generate a table using BMI data where I have generated a categorical variable of values 1 trough 6 for the various BMI ranges; Basically I am trying to make this variable my columns and the rows are summary data of categorical and continuous variables such as sex, age, race etc.


| < 18 | 18-25 | 25-30 | 30-35 | 35-40 | >40 | Total
Age
Sex
Race
White
Black
Hispanic

Etc...


Thanks!


Viewing all articles
Browse latest Browse all 72768

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>