Skip to content

Adverse childhood experiences, depressive symptoms, functional dependence, and physical activity: A moderated mediation model.

Notifications You must be signed in to change notification settings

Boisgontier-Lab/Physical-Activity_ACE_Functional-Dependence

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Adverse childhood experiences, Depression, Functional dependence, and Physical activity

This repo contains R scripts to analyze the links between adverse childhood experiences (ACEs), depression, functional dependence, and physical activity, using the SHARE panel data survey.

Data

The scripts expect CSV files that are subsequently imported by R. We cannot redistribute data files as per the SHARE project’s conditions of use. However, the data are available free of charge. The SHARE project itself does not provide CSV files. These need to be exported either from Stata or SPSS. By default both will export CSV files with UTF-8 encoding but SPSS includes a byte order mark while Stata does not. Set the relevant file encoding option when importing the CSV files into R (see comments in R/importSHARECSV.R or R/importSHARECSVFuture.R).

Necessary Packages

The scripts assume/require the following packages to be installed in R:

Optional packages

  • future for easier multicore/multiprocess evaluation

About

Adverse childhood experiences, depressive symptoms, functional dependence, and physical activity: A moderated mediation model.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages