Hi.
In my data there are 20 variables (var1- var20) which are deciles created based on different factors. So all variables var1 to var20 take values from 1 to 10.
I want to calculate the mean of another variable (let's call it height ) for each decile for each of the variables var1 to var20.
So in total i am looking at 20* 10 = 200 mean values of height. Want to create a large table with columns var1 to var20 and the means below.
How can one do it in STATA!
Thanks.
In my data there are 20 variables (var1- var20) which are deciles created based on different factors. So all variables var1 to var20 take values from 1 to 10.
I want to calculate the mean of another variable (let's call it height ) for each decile for each of the variables var1 to var20.
So in total i am looking at 20* 10 = 200 mean values of height. Want to create a large table with columns var1 to var20 and the means below.
How can one do it in STATA!
Thanks.
Comment