ccani007 / NA_supplementary_code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Supplementary Materials

Using Tree-Based Models to Identify Factors Contributing to Trait Negative Affect in Adults with and without Major Depression

This repository contains the code used to write the manuscript entitled "Using Tree-Based Models to Identify Factors Contributing to Trait Negative Affect in Adults with and without Major Depression." However, as the data is not publicly available, the code cannot be executed. If you have any questions, please contact me at ccani007@fiu.edu.

The repository includes the following files:

  • 20230202_script_regression_tree.Rmd: This file contains the code used to wrangle the data and create the regression tree.

  • 20230214_scirpt_likert_squeezer.R: This script includes the function for the lemon squeeze used in the beta regression.

  • 20230328_script_beta_regression.qmd and .html: These files contain the code used to run the beta regression, the plots that checked the assumptions for the beta regression, the vif test, and the results of the beta regression. Use this link to visualize the html https://htmlpreview.github.io/

About


Languages

Language:HTML 99.8%Language:R 0.2%