Hi,
I have a dataset based on a survey where each individual is given a unique id and has several rows of data. The value for a number of variables, like gender and ethnicity, stays the same for each row for any given individual. Each individual should also have 25 rows of data. Some will have less since they didn't complete the survey connected to the dataset.
My two questions are:
1. How can I tabulate variables by individuals?
2. How can I drop individuals who haven't completed the survey and therefore won't have 25 rows of data?
Thankful for any help.
Jacob
Related Posts with Tabulating and dropping grouped data
System-GMM without level equationI have a question regarding system-GMM. In this case, it seems that I have a two-step system GMM but…
Creating a control group using dates to minimize temporal biasHello!, I would like to start thanking you all for replying the questions in this forum, for someone…
Missing data in dependent variable - synthetic controlDear Statalist Comunity; I´m trying to run a synthetic control in stata 12.0 but I´m not getting be…
How to count for each household, the number of household member who present specific characteristicsI would like to know how I could execute STATA commands in order to count for each household, the nu…
irf graph - graphregion not workingHi there, I want a white graph region on irf plots. I usually use the command graphregion() when us…
Subscribe to:
Post Comments (Atom)
0 Response to Tabulating and dropping grouped data
Post a Comment