Code Monkey home page Code Monkey logo

nsduh_intersectional_depression's Introduction

Depression at the intersection of race/ethnicity, sex/gender, and sexual orientation in a nationally representative sample of US adults: A design-weighted intersectional MAIHDA

This repository contains data and code used to support the manuscript "Depression at the intersection of race/ethnicity, sex/gender, and sexual orientation in a nationally representative sample of US adults: A design-weighted MAIHDA."

This manuscript is currently undergoing peer review. A preprint version (Date: 04/13/2023) is available at: https://www.medrxiv.org/content/10.1101/2023.04.13.23288529v1

Manuscript abstract

This study examined how race/ethnicity, sex/gender, and sexual orientation intersect to socially pattern depression among US adults. We used cross-sectional data from the 2015-2020 National Survey on Drug Use and Health (NSDUH; n=234,722) to conduct design-weighted multilevel analysis of individual heterogeneity and discriminatory accuracy (MAIHDA) for past-year and lifetime major depressive episode (MDE). With 42 intersectional groups constructed from seven race/ethnicity, two sex/gender, and three sexual orientation categories, we estimated age-standardized prevalence and excess/reduced prevalence attributable to intersectional effects (i.e., two-way or higher identity variable interactions). Models revealed heterogeneity between intersectional groups, with prevalence estimates ranging from 1.9โ€“19.7% (past-year) and 4.5โ€“36.5% (lifetime). The intersectional group structure (i.e., general contextual effect) explained 12.8% (past-year) and 12.6% (lifetime) of model variance, indicating key relevance of intersectional groups in determining the population distribution of depression. Main effects indicated, on average, people who were White, women, gay/lesbian, or bisexual had greater odds of MDE. While main effects explained most between-group variance, intersectional effects (past-year: 10.1%; lifetime: 16.5%) indicated heterogeneity around averages, such that groups experienced excess/reduced prevalence compared to main effects expectations. Notably, we extend the MAIHDA framework to calculate nationally representative estimates from complex sample survey data using design-weighted, Bayesian methods.

Overview of repository structure/contents

  1. Original data downloaded from NSDUH are available in Stata format in the "/01_original_data" folder. Files were too large to be uploaded directly, so they are stored in zip folders. This data is processed/cleaned using the "01_nsduh_dataManagement.R" file to create the final data file ("nsduh.RDS") used for analysis.
  2. Ideally, MAIHDA model fits would be stored in a "/02_fits" folder. However, these files are too large to be stored on GitHub, so please inquire directly to request access to the model fits.
  3. All R code for this project is stored in the main folder and is separated into six files:
    • 00_helper_functions.R (store R functions that automate specific tasks)
    • 01_nsduh_dataManagement.R (data management/cleaning tasks)
    • 02_nsduh_analysis.R (conduct design-weighted MAIHDA [main analysis] and unweighted MAIHDA [sensitivity analysis])
    • 03_nsduh_estimates.Rmd (generate and summarize model estimates)
    • 04_nsduh_auc.R (create area under the receiver operating characteristic curve [AUC] plots)
    • 05_tables_figures.Rmd (generate tables/figures for the manuscript)

nsduh_intersectional_depression's People

Contributors

fhmcguire avatar

Stargazers

Dr. Preshit Ambade avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.