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?
How to convert Fairness in Financial Contribution index (FFC) to codeGreeting, I am trying to convert the following formula to STATA code, but I could not. Array The FF…
Help with collapsing dataGood day, I have the following data. Code: * Example generated by -dataex-. To install: ssc instal…
-strgroup- module updated on SSCA new version of -strgroup- is now available on SSC. -strgroup- is a Stata plugin that matches strin…
Hospital Based Data CodeHello, I am using 10 yrs of hospital based data where people are admitted more than once within the…
Moderation effect Graph in StataHi everyone, I have been trying to plot interaction graphs for one of my research works, but I have…
Subscribe to:
Post Comments (Atom)
0 Response to How to restructure aggregated count data as individual observation?
Post a Comment