Hi Everyone,
Thanks for taking the time to read my query.
I currently am cleaning a very big dataset (52 variables, 82284 observations) for longitudinal analysis. The dataset is based on information returned from 6 different surveys. I have converted the dataset to long format so currently there are about 6 different observations (in years) for each ID. There are approximately 13,000 unique ID variables.
In the third survey that was sent, additional information was asked that was not included in any further surveys but is essential to my analysis. I therefore want to exclude all participants who did not complete the third survey (in 2010).
What I am trying to find is some kind of command like this: drop id if Survey3Completed=. in 2001
Thank-you very much.
Sarah
Related Posts with Dropping observations based on multiple conditions
multiple plots after marginsHi, I created, separately, two of the attached plots. In each plot, this is generated from the marg…
Change every observations for an ID conditioning on only 1 year criteriaHello, I am currently trying to transform a panel data into a cross-section. I have something like …
Stripplot; using different symbols when using ,over(group)Dear Listers I have been working with stripplot (SCC) all day, and like how it has turned out. For …
Next Birth After AbortionHi All, I am using the women file from the Demographic and Health Survey (NFHS-4) India. In that fi…
Multi nominal regression using maximum likelihoodHi everyone, I've checked the forum and I can't seem to find an answer to my question. Due to the …
Subscribe to:
Post Comments (Atom)
0 Response to Dropping observations based on multiple conditions
Post a Comment