Dear,
Greetings. I like to calculate mean of each quantile on each date and take the output into a format like excel because I need to process data further. I have used the following code
by mdate , sort : tabstat TotalReturnperShareasofMon , statistics( mean ) by(quant)
to get mean of each quantile on each date where mdate = monthly date, TotalReturnperShareasofMon is the variables which is to be averaged for each quant group. When I use the above command the output is generated in Results window and output is too large that it cannot be seen or handled efficiently. I shared a screenshot of my data in attachment. I would like to know what is the efficient way to calculate mean of each quantile on each date and get output in tabular format like:
mdate quant mean
Thank you very much! Array
Related Posts with Calculate mean of each quantile/decile and get output in excel format
T-test of difference between two regression coefficients within same modelHello, I have one single regression model estimating the coefficients (b) of two independent variab…
Remove part of value labelDear all, I have an issue with the value labels of one of my variables. The value labels appear as:…
Average Variance Extracted (AVE) and Composite Reliability (CR) in CFAHi all, I built a Confirmatory Path Analysis through survey data. I would like to calculate the Ave…
How to pass the parameters to stata plugin?How to pass the parameters to c++ linux stata plugin? …
Stata Crashes while attempting collapseHello All, I run Stata SE 15.1 on a computer with 32 GB of RAM. I use Ubuntu as OS. And I have alre…
Subscribe to:
Post Comments (Atom)
0 Response to Calculate mean of each quantile/decile and get output in excel format
Post a Comment