King's College London
LCA_UKB_05_20.Rmd (75.61 kB)

R code for a latent class analysis of the UK Biobank data

Download (75.61 kB)
posted on 2021-09-13, 18:33 authored by Emma Yapp, Katrina Davis, Jonathan Coleman, Tom Booth
(PLEASE NOTE: a newer version of this dataset (Version 2) is available. Please see the Links section for the link to access it.) R code to conduct a sex-stratified latent class analysis of trauma in the UK Biobank Mental Health Questionnaire cohort. Associations of resultant classes and recent/current mental health are explored using regressions. Associations of socio-demographic variables with class membership are additionally reported.


Perinatal Mental Health

NIHR Academy

Find out more...

Centre for Society and Mental Health

Economic and Social Research Council

Find out more...