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!
Related Posts with How to create groups with an equal number of observations?
Cluster standard errors by firm and yearHello all, I am running a FE regression using the LSDV approach (industry and year FE) and i want t…
Combining 2 coefplots (based on margins from linear regression models) to have a panel graphHi All I've produced the below two graphs using coefplot (graphs are based on margins produced afte…
Coding a variable that takes account of previous observationsHi Statalist. I have created a categorical variable that represents the marital status of all coupl…
Bar Chart QuestionHello, I'm looking to create a bar chart that represents the distribution of 3-year recidivism perc…
Interpreting a regressor in probit modelI am running a probit model to assess the determinants of private tutoring participation. One of the…
Subscribe to:
Post Comments (Atom)
0 Response to How to create groups with an equal number of observations?
Post a Comment