= ANES Time Series = '''ANES time series studies''' are administered around each presidential election. They are all two-wave studies, corresponding to a ''pre-election'' interview and a ''post-election'' interview. <> ---- == Weights == Declare the complex survey design like: {{{ proc surveyfreq; stratum STRATUM; cluster CLUSTER; weight WEIGHT; table VOTE PARTY VOTE*PARTY ; run; }}} Or: {{{ svyset CLUSTER [pweight=WGT], strata(STRATUM) vce(linearize) singleunit(centered) }}} Until the 2006 pilot, clusters and strata were published as a single variable. This could be broken apart like: {{{ compute STRATUM = trunc(v040103/10). compute CLUSTER = v040103 ‐ (10*STRATUM) }}} ---- == Data == ---- CategoryRicottone