Hi everyone,

I was wondering if there is a chance to average "sum, detail outputs" over various months.
First, I sorted my dataset by month and then let Stata produce summary statistics for each month via: "bysort month: sum variable_of_interest, detail"
Now I would like to know the time series average across the different metrics calibrated, e.g., mean, standard deviation,95th percentile, and so on.

Does anybody have an idea how to solve this?

Any help is much appreciated.

Best,
Phil