Hi,

I have a enormous data set and I would like to create ten groups (country) with an equal number of observations based on the level of accruals (acc). Next, I would like to tabulate the average (i.e., mean) stock returns in year t+1 (cfop1) for each of the groups. Does anyone know how Stata can help me with this?

Thank you in advance!