R: Experimental Evaluation of Algorithm-Assisted Human Decision-Making

# Experimental Evaluation of Algorithm-Assisted Human Decision-Making

## Documentation for package ‘aihuman’ version 0.1.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

aihuman-package | Experimental Evaluation of Algorithm-Assisted Human Decision-Making
AiEvalmcmc | Gibbs sampler for the main analysis
aihuman | Experimental Evaluation of Algorithm-Assisted Human Decision-Making
APCEsummary | Summary of APCE
APCEsummaryipw | Summary of APCE for frequentist analysis
BootstrapAPCEipw | Bootstrap for estimating variance of APCE
BootstrapAPCEipwRE | Bootstrap for estimating variance of APCE with random effects
BootstrapAPCEipwREparallel | Bootstrap for estimating variance of APCE with random effects
CalAPCE | Calculate APCE
CalAPCEipw | Compute APCE using frequentist analysis
CalAPCEipwRE | Compute APCE using frequentist analysis with random effects
CalAPCEparallel | Calculate APCE using parallel computing
CalDelta | Calculate the delta given the principal stratum
CalDIM | Calculate diff-in-means estimates
CalDIMsubgroup | Calculate diff-in-means estimates
CalFairness | Calculate the principal fairness
CalOptimalDecision | Calculate optimal decision & utility
CalPS | Calculate the proportion of principal strata (R)
FTAdata | Interim Dane data with failure to appear (FTA) as an outcome
g_legend | Pulling ggplot legend
HearingDate | Interim court event hearing date
hearingdate_synth | Synthetic court event hearing date
NCAdata | Interim Dane data with new criminal activity (NCA) as an outcome
NVCAdata | Interim Dane data with new violent criminal activity (NVCA) as an outcome
PlotAPCE | Plot APCE
PlotDIMdecisions | Plot diff-in-means estimates
PlotDIMoutcomes | Plot diff-in-means estimates
PlotFairness | Plot the principal fairness
PlotOptimalDecision | Plot optimal decision
PlotPS | Plot the proportion of principal strata (R)
PlotSpilloverCRT | Plot conditional randomization test
PlotSpilloverCRTpower | Plot power analysis of conditional randomization test
PlotStackedBar | Stacked barplot for the distribution of the decision given psa
PlotStackedBarDMF | Stacked barplot for the distribution of the decision given DMF recommendation
PlotUtilityDiff | Plot utility difference
PlotUtilityDiffCI | Plot utility difference with 95% confidence interval
PSAdata | Interim Dane PSA data
psa_synth | Synthetic PSA data
SpilloverCRT | Conduct conditional randomization test
SpilloverCRTpower | Conduct power analysis of conditional randomization test
synth | Synthetic data
TestMonotonicity | Test monotonicity
TestMonotonicityRE | Test monotonicity with random effects