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.
Related Posts with Mean of a variable by multiple variables in the same table
Strange macro behaviourHi guys, I am trying, with the following loop to drop some of my observations, specifically the one…
Making tables from dataHi, I've district-level migration data of India. Say- State no district no migration type 1 (p…
Missing values in StataI am creating my own data set for my thesis, and have run into a problem with missing values. I am c…
Which method does xtlogit/clogit use to estimate a fixed effects model (i.e. mean difference/first difference/LSDV)?In Asymmetric Fixed-effects Models for Panel Data (available here open access: https://journals.sage…
Interpretation of AMEs: CIs overlapping each other but not zero, can I conclude that there is an interaction?Hi all, I'm fitting a simple OLS-model including an interaction term. To interpret the interaction …
Subscribe to:
Post Comments (Atom)
0 Response to Mean of a variable by multiple variables in the same table
Post a Comment