Hey,
I have the following panel dataset;
monthly "total_income" dat of "hh_id" (households) from jan 2018 to dec 2020 ("mdate" as time variable) and I have problems calculating averages.
Btw, not all households are observed during the whole time period, like some are observed from feb 2019 to dec 2020.
They are also divided in 5 occupation classes "occupation_class" (categorical).
I want to have the following;
1.the monthly "total_income" average of all households, so what all the households earn on average during each month.
2. The same as above but separate for each "occupation_class".
I want to show these averages in tables but whatever I try I don't get good results.
I hope someone can help me
Related Posts with monthly panel data; id average income, monthly average
Why does indicating omitted dummy variables not work?So I run two Probit regressions with different commands, one is with i(2 3 4 5).c_lable and the othe…
Nested loops with macros - using required, r(100)Hi everyone, I have about twenty csv files on which I need to do some estimation after I have obtai…
Clarke Error Grid Analysis and PlotI was looking for Clarke Error Grid Plot over the internet but couldn't find how to do this in STATA…
GARCH regressions for panels using foreachHi, 1. I want to estimate my risk measures using bi-variate diagonal GARCH (1,1) model (DVECH) for …
Normality test for multiple imputationsDear all, I have a data set with multiple imputations performed. I want to perform linear and logis…
Subscribe to:
Post Comments (Atom)
0 Response to monthly panel data; id average income, monthly average
Post a Comment