Hi there,
I have a dataset of 200'000 observations consisting of customer IDs for 14 years. I have 8 binary variables that represent a group that customers are a part of. Now I would like to know for each of the 14 years seperately how many customers belong to any of the 8 groups. So for example in year one 80% are group 1, 5% group two and so on. I hope there is a way so that I don't have to do each year by itself but all in one go.
Any help is greatly appreciated.
Kind regards
Related Posts with Help for analysing Dataset
Stata do-editor settingsDear All, is there any way to preserve the option to show whitespace in the Stata's do-editor? (the…
dateHi I am trying to change the variable "doa" to numeric which is understandle to Sata, the below comm…
candisc command and estat anova? Hello everyone, I have run the “candisc” command and need advice about how to get the R-squared, F …
How to find matched casesLets suppose we have the following data Code: * Example generated by -dataex-. To install: ssc in…
2SLS and Heckman SelectionIs there an existing package on Stata to estimate a model to account for both endogeneity (2SLS) and…
Subscribe to:
Post Comments (Atom)
0 Response to Help for analysing Dataset
Post a Comment