Hi everyone
I am relatively new to STATA. I have the following problem I cannot solve:
Given my data looks as following:
game ID
1
1
1
1
1
2
2
2
3
3
3
3
I have 12 observations, 3 different unique values. On average, therefore, I have 4 observations per game ID. However, what I am looking for is the distribution of the observations per unique value. Put differently, I need more information (e.g. SD) than just the average number of observation per game. All codes I found so far, provide information about the distribution of the values itself (3 is seen as a number and not as an ID without real significance).
Thank you a lot
Giulia
Related Posts with Distribution of frequency of a unique variable
Generating unique colors for all units using funnelcompar graphsGood morning, I am working to create some funnel charts using the funnelcompar command. Funnelcompa…
test post for code entry Code: *====================================================================* *WIERSEMA & BOWEN…
Suggestion: more ML optimizers, inc. LM-BFGSI would like to suggest that StataCorp implement more ML optimizers, if they are not already conside…
P-interactionHow to obtain p-interaction from the model? For example, I would like to see whether age has an inte…
sensitivity analysis following multiple imputation.Hi all, I'm working with a dataset with a fair bit of missing data that I have addressed using MI. …
Subscribe to:
Post Comments (Atom)
0 Response to Distribution of frequency of a unique variable
Post a Comment