crt4armSimData {epts}R Documentation

Simulated 4-Arm Cluster Randomized Trial (CRT) Data

Description

A simulated cluster randomised trial dataset containing 10 schools and 1,000 pupils. This is a 4-arm trial design with one control group and three intervention groups.

Usage

crt4armSimData

Format

A data frame with 1,000 rows and 7 variables:

pupils

Identifier for each pupil

schools

Identifier for each school

interventions

Treatment assignment coded as 0 for control and 1–3 for intervention groups

pretest

Pre-test scores

gender

Binary gender

ethnicity

A categorical variable with 3 categories

posttest

Post-test scores

Source

Simulated


[Package epts version 1.2.2 Index]