**************************************************All COMPLETED interviews in base study, all years.
weight by wthh.
select if status=1.
select if (year le 2004 or (year=2009 and smpl ge 1 and smpl le 4)).
OR
weight by wthh.
compute filttemp=0.
if (status=1 and (year le 2004 or (year=2009 and smpl ge 1 and smpl le 4))) filttemp=1.
filter by filttemp.
*************************************************All FULLY SCREENED respondents from base study for all years.
weight by wthh.
select if (year le 2004 or (year=2009 and smpl ge 1 and smpl le 4)).
OR
weight by wthh.
compute filttemp=0.
if (year le 2004 or (year=2009 and smpl ge 1 and smpl le 4)) filttemp=1.
filter by filttemp.
*************************************************2009 all COMPLETES from base study.
weight by wthh.
select if year =2009 and screen=1 and smpl le 4 and status=1.
OR
weight by wthh.
compute filttemp=0.
if (year =2009 and screen=1 and smpl le 4 and status=1) filttemp=1.
filter by filttemp.
*************************************************2009 all FULLY SCREENED respondents from base study to calc prevalence.
weight by wthh.
select if year =2009 and screen=1 and smpl le 4.
OR
weight by wthh.
compute filttemp=0.
if (year =2009 and screen=1 and smpl le 4) filttemp=1.
filter by filttemp.
*************************************************All recipients 50+ completed interviews for all years (includes oversample of 50+) -- use this for trend from 1997 to present, 50+ recipients.
weight by wthh.
select if cr50 = 1 and status=1.
OR
weight by wthh.
compute filttemp=0.
if (cr50 = 1 and status=1) filttemp=1.
filter by filttemp.
*************************************************All recipients 18-49 completed interviews for 2004 and 2009.
weight by wthh.
select if agecr ge 18 and agecr le 49 and status=1.
OR
weight by wthh.
compute filttemp=0.
if (agecr ge 18 and agecr le 49 and status=1) filttemp=1.
filter by filttemp.
*************************************************All recipients 18+ completed interviews for 2004 and 2009 (used for trends in main report; 50+ oversample not included).
weight by wthh.
select if ((year=2004 and selc1=1 and status=1) or (year=2009 and selc1=1 and status=1 and smpl le 4)).
OR
weight by wthh.
compute filttemp=0.
if ((year=2004 and selc1=1 and status=1) or (year=2009 and selc1=1 and status=1 and smpl le 4)) filttemp=1.
filter by filttemp.
*************************************************All recipients under the age of 18 completed interviews for 2009.
weight by wthh.
select if agecr le 17 and status=1.
OR
weight by wthh.
compute filttemp=0.
if (agecr le 17 and status=1) filttemp=1.
filter by filttemp.
******For report.
weight off.
crosstabs screen by cghh by status.
crosstabs tables=languag by racecg / cells=count col.