Logo Lanfrica

jakuze2/ALERT-stepped-wedge-trial-main--syntax

Domain:

healthcare

Record type:

software
Creator:
jak
Host:
*Stata analysis syntax for the Action leveraging evidence to reduce perinatal mortality and morbidity (ALERT): stata dofile syntax for a stepped-wedge cluster-randomised trial in Benin, Malawi, Tanzania and Uganda.* # ALERT Study — Main Results Paper: Analysis Code Stata syntax (do-files) for the ALERT study main results paper, covering the full pipeline from raw-data cleaning through outcome derivation, modelling and meta-analysis. ALERT (Action Leveraging Evidence to Reduce perinatal morTality and morbidity in sub-Saharan Africa) is a stepped-wedge cluster-randomised trial conducted in 16 hospitals across Benin, Malawi, Tanzania and Uganda. Project website: alert.ki.se · About ALERT: alert.ki.se > This repository contains **analysis syntax only**. It does not contain > individual-level participant data, which cannot be shared publicly for ethical > and data-protection reasons. ## Pipeline The code runs in two stages — **data cleaning** first, then **analysis**. `0_ALERT_pipeline_master.do` (repository root) documents and chains the full sequence: ``` 0_ALERT_pipeline_master.do (orchestrates the stages below) │ DATA CLEANING (Data cleaning/) ANALYSIS (Main analyses/) ────────────────────────────── ────────────────────────── 0a. Prepare Benin dataset 0b. Appending all countries 2026_06_12_ALERT_Analysis_final_clean.do 1a. Cleaning per woman ─────────▶ (outcomes, tables, per-hospital models, 1a. i. Clean baby morbidity export of outcomeX.dta effect estimates) 1b. Reshaping (wide to long) │ ▼ 2026_06_12_metaanalyses_clean.do (metan pooling + forest plots) ``` The cleaning do-files are published **exactly as used for the paper** and the handoff between them is in-memory (their `use`/`save` lines are commented templates): run steps 0a → 0b → 1a → 1a.i → 1b in one Stata session, loading the raw country exports and saving outputs at the points marked in the master do-file. ## Repository contents ### Root | File | Purpose | |------|---------| | `0_ALERT_pipeline_master.do` | Master pipeline runner — documents and chains the cleani …

Licenses