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?
Difference-in-difference and CEM with panel data Dear everybody I am investigating how employees are affected when they are outsourced from public …
Updated markstat for Stata 17Thanks to Kit Baum an update to -markstat- is now available at SSC. To update type Code: ssc insta…
Predicted probabilities with -melogit-Dear all, I am running a multilevel model (random slopes) with 2 levels (individuals nested in coun…
Mathematics in stata /stock return / change in log stock pricesHello everyone, I have 400 firms and I have closing prices for 5 months ( Nov 2018 ,Dec 2018, and Ja…
Prob>chi2 equals dotHello everyone, I'm currently running a panel data consists of 124 observations. I want to do LM te…
Subscribe to:
Post Comments (Atom)
0 Response to How to restructure aggregated count data as individual observation?
Post a Comment