RPubs will retire in June 2027. Your existing documents will stay accessible through December 31, 2031
and Connect Cloud is the recommended home for new publishing. Read the blog post
gravatar

dooleyr

Niamh

Recently Published

Cleaning Understanding Society Youth data (2009-2024)
Imports and cleans data from the youth survey, a pen-and-paper questionnaire completed by 10-15 year olds in participating households. Saves data on demographics, satisfaction items & the SDQ. Saves all observations from 15 waves as long-form dataset.
Cleaning ABCD data for predicting CBCL attention problems from birth
Basic cleaning of the data frame, exploration of data (outlier checks & distribution checks), creation of additional variables.
Predicting CBCL attention problems from birth
Using elastic net to predict score on CBCL attention problem scale from pre/perinatal data in ABCD cohort
Functions for predicting CBCL attention problems from birth
Elastic net regression with cross-validation