Hi altruist,
I am just wondering whether STATA has any function to convert aggregated count data into individual row.
For example, I have audited different parks and counted how many people are doing three different types of physical activity.
I did that multiple times in same park.
So in my raw data each row is a park and each column include 'female walking' and 'male walking' etc.
Now I want a new data where row number will be equivalent to the count of each of the activities.
I have attached a screenshot of my raw data (first) and also how the restructure may look like (2nd).
Can anyone tell me whether it is possible to restructure in STATA or not?
Thank you very much in anticipation.
best regards,
FaysalArray Array
Related Posts with How to restructure aggregated count data as individual observation?
covid sandboxBeing locked up at home due to the COVID-19 crisis, I developed an interest in models for the spread…
IV Fixed Effects Model combined with HeckitDear Statalist, Following this discussion: https://www.statalist.org/forums/for...quations-model …
Predictions after mlogitThe margins command calculates predicted probabilities for each covariate across groups (outcome). F…
Dropping leading zero observations within several variablesDear Statalisters, I need to drop the leading zeros of lots of separate variables. I have data like…
how to solve those questions about difference in differenceThis question investigates whether restricting youth access to alcohol has impacts on motor vehicle …
Subscribe to:
Post Comments (Atom)
0 Response to How to restructure aggregated count data as individual observation?
Post a Comment