You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Corentin Choisy 185111cbed | 4 months ago | |
---|---|---|
Modules | 5 months ago | |
RProject | 5 months ago | |
Scripts | 5 months ago | |
.gitignore | 5 months ago | |
DATA_LICENSE | 4 months ago | |
LICENSE | 4 months ago | |
README.md | 4 months ago | |
Supplementaries.tar.gz | 4 months ago | |
autorun.sh | 5 months ago | |
catalogue.md | 5 months ago | |
prepare_file_structure.sh | 5 months ago |
README.md
Simulations
This repository contains all code files related to our ROSALI/Resiuals RCT simulation project. In order to save disk space, data files are not stored on this server and are instead available on https://osf.io/zjtfe/
File Structure
📦 simul_these
├─ catalogue.md - List and description of scenarios
├─ 🗂️ Analysis - ANALYSIS RESULTS
├─ 🗂️ Data - GENERATED DATASETS
│ ├─ 🗂️ DIF - DATASETS WITH DIF
│ └─ 🗂️ noDIF - DATASETS WITHOUT DIF
├─ 🗂️ Modules - R AND STATA MODULES
│ ├─ 🗂️ rosali_custom - DATASETS WITH DIF
├─ 🗂️ RProject - R SCRIPTS FOR VARIOUS TASKS
└─ 🗂️ Scripts - R AND STATA SCRIPTS
├─ 🗂️ Analysis - PCM ANALYSIS SCRIPTS
└─ 🗂️ Data_generation - SIMULATION SCENARIO SCRIPTS
├─ 🗂️ DIF
└─ 🗂️ noDIF
Naming conventions
Initial Datasets
XX_N - Scenario XX / N individuals per group
Analyzed Datasets
noDIF / XX_N.csv - Analysis for scenario XX_N by PCM without accounting for DIF
DIF / XX_N.xls - Analysis for scenario XX_N by PCM with DIF accounted for
ROSALI-DIF / XX_N_original.xls - Analysis for scenario XX_N by PCM with DIF accounted for after detection by ROSALI
RESIDUALS / XX_N_original.xls - Analysis for scenario XX_N by PCM with DIF accounted for after detection by Andrich & Hagquist's residuals method
Reproduction
- Run /Scripts/Data_generation/NoDIF/scenarios_noDIF_baseline.do to simulate no DIF data
- Run files in 🗂️ /Scripts/Data_generation/DIF/ to simulate DIF data
- Run /RProject/Scripts/Analysis/pcm_nodif.R to analyze without accounting for DIF
- Run files in 🗂️ /Scripts/Analysis/DIF/ to analyze while accounting for DIF
- Run /Scripts/Analysis/DIF-ROSALI/pcm_dif_rosali.do to analyze data after accounting for DIF as detected by ROSALI
- Run /RProject/Scripts/Analysis/resali_analysis.R to perform residuals DIF detection and prepare data for PCM analysis.
- Run /Scripts/Analysis/DIF-RESIDUALS/pcm_dif_residus.do to analyze data after accounting for DIF as detected by the residuals method
- Run /RProject/Scripts/Analysis/aggregation.R to compile and visualize results
OR
- [BASH ONLY] Run prepare_file_structure.sh (only on first run) and autorun.sh (by default, will take multiple weeks to run. Please modify to run in parrallel if necessary)