Main content

Home

Menu

Loading wiki pages...

View
Wiki Version:
**Please read this Wiki** Illustrative syntax for conducting cross-cohort analyses in R and Stata. Syntax accompanies paper "Investigating change across time in prevalence or association using observational data: guidance on utility, methodology, and interpretation" by Bann et al. (2021). The important files are `cohort_data.dta`, `cohort_data.dta`, `r_syntax.html` and `stata_syntax.html`. R Markdown, Jupyter Notebook and data simulation syntax files added for completeness. The HTML files are too large too view within the OSF so can instead be viewed at http://ljwright.rbind.io/html/r_syntax.html and http://ljwright.rbind.io/html/stata_syntax.html (or downloaded, of course)
OSF does not support the use of Internet Explorer. For optimal performance, please switch to another browser.
Accept
This website relies on cookies to help provide a better user experience. By clicking Accept or continuing to use the site, you agree. For more information, see our Privacy Policy and information on cookie use.
Accept
×

Start managing your projects on the OSF today.

Free and easy to use, the Open Science Framework supports the entire research lifecycle: planning, execution, reporting, archiving, and discovery.