However, for the third round of my dataset (ESS 2006), the question comes in two forms (if the respondent is a parent (bthcld)) and (if the respondent has any children living at home (chldhm)).
To be clear, I want to keep the variable. But how can I drop the observations of the variable (bthcld) for the third round of my dataset? (essround 3) (corresponds to my time-identifier variable - essrounds).
What I've tried to do is something in the lines of:
Code:
drop if bthcld == essround 3
Kind regards
0 Response to Using drop-command for a variable depending on the value of another variable
Post a Comment