Skip to contents

Wraps the full causal pipeline for the canonical Restrictive Confinement Detailed Dataset: 8-state alert-combo encoding -> MatchIt 1:1 NN PSM -> IRM-DML with RF nuisances -> multi-way clustered SE.

Usage

morie_otis_analyze_a01(data = NULL, out_dir = NULL)

Arguments

data

a01 data.frame (loaded from a01_restrictive_confinement_detailed_dataset.csv). Pass NULL to indicate "use registered loader" – the R port requires you supply the data because we don't ship the loader side-effect from R.

out_dir

Optional output directory.

Value

A morie_otis_analysis_result. If the morie causal helpers aren't loaded, returns a "not yet ported" stub.

Examples

if (FALSE) { # \dontrun{
morie_otis_analyze_a01(otis_a01)
} # }