Hi, I am working with the Health and Retirement Study and going to use the mean of observations across waves as the study sample(collapsed sample). But I also want to restrict the age of respondents to 50-65 in my final study sample but am confusing the strategy to achieve this goal. The reason I want to use the collapsed sample is that I want to make my study sample only one observation per person in order to match it with the genetic sample. I have two ideas:
1. drop those whose age<50 or age>65 from the panel sample, and then collapse this panel sample to my final study sample. This is like a rolling sample, people will be excluded from the sample if he is over 65.
2. Do nothing in the panel sample, but drop observations based on the birth year of the respondent in the collapsed sample.
Does anyone have any suggestions for me? Many studies have the step of restricting age in the study sample (for example, the one study attached below), but I am not sure what I should do.
Thanks in advance! Array
Related Posts with Problem of selecting observations from the collapsed sample
dropping the outlierHello, I want to know how can I identify and drop the outlier from my data, because when I did a sca…
Ardlhello all, after running the cusum command I am getting this error: Yvar has values outside range […
sdmxuse error with OECD APII have a strange error with "sdmxuse" command. I used the same code a week ago with no issues. Now I…
threshold and moderationDear all, i hope that you are doing good, i would like to know if the threshold variable plays the…
Reshape long multiple variables error invalid "var" 198Hi all, I am having trouble with the reshaping long command. I have read the previous posts, but I w…
Subscribe to:
Post Comments (Atom)
0 Response to Problem of selecting observations from the collapsed sample
Post a Comment