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
Gravity Model International TradeI am trying to estimate the gravity model of international trade using Fixed Effect Model. I have da…
Repeated time values within panel error in ESS cumulative fileI'm trying to run a fixed effects panel data analysis with a cumulative file of the European Social …
Generate a variable with IF ANDI need to crate a variable with IF AND formula, but I did not find it in Stata. Could you please hel…
Combine graph plot yearsHi guys, I have 9 variables that I'd like to plot with tsline. The data is monthly and I am not abl…
Rebalance Portfolios based on Annual Carbon Emission and Size TrecilesHi all! I need some help with figuring out how to calculate the portfolio returns. Below you can fi…
Subscribe to:
Post Comments (Atom)
0 Response to Mean of a variable by multiple variables in the same table
Post a Comment