Skip to content

Data and code for "Associations between lockdown intensity and suicide mortality in US states" doi: 10.1016/j.ssmph.2023.101544

Notifications You must be signed in to change notification settings

KonstantinosChristopoulos/Christopoulos-SSMPH-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Christopoulos-SSMPH-2023

This repository contains the code (.R files) and data (.csv files) for the SSM Population Health publication “Associations between lockdown intensity and suicide mortality in US states” doi: https://doi.org/10.1016/j.ssmph.2023.101544

The analysis is divided into 3 parts: total, by gender, and by race. Due to CDC’s data confidentiality restrictions, for the racial analysis, only data for whites can be made publicly available. Nevertheless, the code is supplied for all races. The file ‘maps.r’ provides code and data to reproduce Figure 1.

To replicate the results you will need to install the R package ‘rethinking’. The process can take some time and effort—more than the usual install.packages() procedure. The following link provides assistance https://github.com/rmcelreath/rethinking (scroll down to Installation). The package offers a lot and in my opinion it is worth the time and effort.

Acknowledgments: All these would not be possible if it weren’t for the research revolutionary and open science propagator, Dr. Richard McElreath. I thank Richard for changing my research life and I encourage you to read his revolutionary book “Statistical Rethinking” and try to follow his ways the best you can.

About

Data and code for "Associations between lockdown intensity and suicide mortality in US states" doi: 10.1016/j.ssmph.2023.101544

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages