Hello all,
I am working on an NHIS dataset that has a lot of missing cases, leading partly to a problem I am trying to resolve (details here: http://www.statalist.org/forums/foru...lation-members).
I am posting a separate question because of its generality.
The dataset has a lot of respondents who were deemed ineligible for certain questions. For example, I am interested in HIV testing, a question that was asked only of sample adults aged 18+.
years. Respondents under 18 yrs are tagged with an NIU code for the HIV and related variables.
Before I do my svyset, do i delete these NIU responses from the data, since my key dependent variable is restricted to only those aged 18+ years or is it better to use the svy subpop option to restrict the sample to only those who are eligible respondents?
Thanks - Yy
I am working on an NHIS dataset that has a lot of missing cases, leading partly to a problem I am trying to resolve (details here: http://www.statalist.org/forums/foru...lation-members).
I am posting a separate question because of its generality.
The dataset has a lot of respondents who were deemed ineligible for certain questions. For example, I am interested in HIV testing, a question that was asked only of sample adults aged 18+.
years. Respondents under 18 yrs are tagged with an NIU code for the HIV and related variables.
Before I do my svyset, do i delete these NIU responses from the data, since my key dependent variable is restricted to only those aged 18+ years or is it better to use the svy subpop option to restrict the sample to only those who are eligible respondents?
Thanks - Yy
Comment