sim_longitudinal {equatiomatic}R Documentation

Simulated longitudinal data

Description

Data are simulated to be similar to longitudinal data collected within schools/districts.

Usage

sim_longitudinal

Format

A tibble with 1000 rows and 8 variables:

sid

An integer denoting the individual student. There are 100 students.

school

An integer denoting the school There are 15 schools.

district

An integer denoting the school district. There are 5 districts.

group

A character variable denoting the instructional level of the student, low, medium, or high.

treatment

A factor indicating whether the student received the intervention treatment (0 = no treatment received; 1 = treatment received).

prop_low

The proportion of student in the school in the low instructional group.

wave

The assessment wave. Each student has nine waves of data collection

score

The individual students' score at the given wave.


[Package equatiomatic version 0.3.3 Index]