Skip to content

giuliapiazza18/PANDAnet-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The effect of sertraline on networks of mood and anxiety symptoms: secondary analyses of the PANDA randomised controlled trial

Giulia Piazza

Description

This repository contains code used in the analysis for the manuscript “The effect of sertraline on networks of mood and anxiety symptoms: secondary analyses of the PANDA randomised controlled trial”. The code in the folder “analysis” can be run in R or R Studio. Scripts are numbered, and should be run in order (this can be done by running pipeline.R). Tables, network matrices and figures are saved in the folder “results”.

0. Pipeline

This script runs all subsequent scripts in the analysis.

1. Data Setup

This script loads and inspects data, tidying data frames to be used in linear mixed models and network analyses.

2. Linear Mixed Models

This script estimates linear mixed models.

3. Contemporaneous Networks

This script estimates contemporaneous networks and compares network structures with the Network Comparison Test.

4. Temporally lagged Networks

This script estimates temporally lagged networks, and compares network structures with model comparisons (fit indices, chi-square comparison).

5. Plots

This script plots and saves relevant figures.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages