R/data.R

#' Simulated tutoring program evaluation
#'
#' A small, **simulated** (not real) dataset for demonstrating baseline
#' equivalence assessment in a quasi-experimental education evaluation. It
#' represents 400 students: 200 who received a tutoring program and 200
#' comparison students who did not, with baseline covariates measured before the
#' program and an outcome measured after. The treatment group is mildly
#' positively selected, so the covariates span all three What Works
#' Clearinghouse equivalence categories.
#'
#' @format A data frame with 400 rows and 8 variables:
#' \describe{
#'   \item{treat}{Treatment indicator: 1 = received tutoring, 0 = comparison.}
#'   \item{pretest}{Baseline reading score (continuous).}
#'   \item{attendance}{Baseline attendance rate, 0-1 (continuous).}
#'   \item{age}{Age in years at baseline (continuous).}
#'   \item{female}{1 = female, 0 = not (binary).}
#'   \item{frpl}{Eligible for free or reduced-price lunch: 1 = yes (binary).}
#'   \item{ell}{English language learner: 1 = yes (binary).}
#'   \item{posttest}{Reading score after the program (continuous outcome).}
#' }
#'
#' @source Simulated for package examples with `data-raw/tutoring.R`; not real
#'   student data.
"tutoring"

Try the baselinr package in your browser

Any scripts or data that you put into this service are public.

baselinr documentation built on July 8, 2026, 9:07 a.m.