Background

The purpose of this analysis was to reproduce the Center for Disease Control & Prevention’s (CDC) linear trend analysis on complex sample survey data.

Data

Youth Risk Behavioral Surveillance System (YRBS) 1991-2011 single year microdata was used for this analysis. The recommended R solution for downloading the microdata is to use Anthony Damico’s automation scripts. It is recommended to first read the CDC manual when combining multiple single year microdata.

Complex survey analysis

Microdata was analyzed using the R survey package to produce estimates similar to that of SAS-callable SUUDAN. For this analysis, R was set to produce conservative standard errors similar to setting the MISSUNIT option in SUDAAN. You can read more about the lonely PSU on the survey package website.

Conclusion

The analysis may complement qualitative evaluation on prevalence changes observed from surveillance data by providing quantitative evidence, such as when a change point occurred. A limitation to the analysis, however, is that the analysis is unable to explain why or how changes in trends occur.