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
Fixed-effect panel threshold modelDear all im working on my PhD thesis and i'm using the fixed-effect threshold model i would ask yo…
Dependent variable lagsHello How to create a dependent variable lags in the data panel (in stata)? …
export excelHi STATALIST, The following program runs fine when there is at least on observation in each sheet. …
Using NetCDF data in StataHello, I am trying to use data stored in the NetCDF format (.nc file extension) for a project I am …
Fixed effects dummies in OLS regression vs FE estimator (xtreg, fe)This is a very basic question but after doing some research I could not find the answer to this. I k…
Subscribe to:
Post Comments (Atom)
0 Response to Tabulating and dropping grouped data
Post a Comment