Replication Script for Latent Profile, ANOVA, and Moderation Analyses in a Ukrainian Sample

Published: 16 June 2026| Version 1 | DOI: 10.17632/ph2jby9rx5.1
Contributor:

Description

R scripts and annotated analysis workflow for latent profile analysis, ANOVA tests, and robust moderation models examining climate-related emotions, coping strategies, and depression.

Files

Steps to reproduce

To reproduce the latent profile, ANOVA, and robust moderation analyses: 1. Software Requirements: Ensure you have R (or Positron/RStudio) installed along with the required statistical packages listed in the document (tidyLPA, dplyr, car, emmeans, sandwich, etc.). 2. Dataset Preparation: Download the primary data file 'Data.csv' and place it in your local working directory. 3. Master Document Execution: Open the uploaded master document, which contains the complete, step-by-step sequential pipeline. 4. Path Configuration: Copy the annotated R code blocks into your R environment and update the file path in read.csv() to match your local directory. 5. Code Run: Execute the code blocks sequentially as structured in the guide to fully replicate the LPA models, optimal fit tables, validation ANOVAs, and the multi-panel robust moderation simple slopes plot.

Institutions

Categories

Social Sciences, Psychology, Environmental Psychology

Licence