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
Rename many variablesDear all, I have 53 variables, with name like: zmale, zschool, zincome,......zhospitalratio. How ca…
Plotting a likelihood surfaceDear all Let's say I have a linear model with two predictors: Code: program linear ar…
Define a binary variable using and / orDear all, I have a panel data set. Each observation is organized by firmId and year. Some other vari…
How to keep whole group with a variable including 3 valuesHi I have a panel data with firm and year. I want to keep only firms that headquartered in US and at…
Can PPML coefficients be analyzed as elasticities? Gravitational ModelDear, I am using PPML to analyze the impact of institutions on exports. My question is, can coeffi…
Subscribe to:
Post Comments (Atom)
0 Response to Tabulating and dropping grouped data
Post a Comment