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
Expanding an observation to various rowsHi, I have a data set of a household survey with hhcode denoting the household code and migrant den…
Gen variable w Conditions & CalculationHi, I want to create a variable based on a couple conditions and haven't found an example to apply t…
Eigenvectors in Stata (mata) vs. MatlabHi everyone, maybe this is a very silly question and I am overlooking something very, very obvious. …
Reclink not returning any matchesI'm attempting to merge two datasets together using reclink, but I'm not understanding exactly why I…
analysing categorical data with very high of outcome of interestHello to all. we are looking at possibilities for further analysis of knowledge of Family planning (…
Subscribe to:
Post Comments (Atom)
0 Response to Distribution of frequency of a unique variable
Post a Comment