stratamatch0.1.9 package

Stratification and Matching for Large Observational Data Sets

auto_stratify

Auto Stratify

build_autostrata

Build Autostrata object

check_base_inputs_auto_stratify

Check inputs from auto_stratify

check_inputs_manual_stratify

Check inputs to manual_stratify

check_inputs_matcher

Check inputs to any matching function

check_outcome

Check Outcome

check_pilot_set_options

Check Pilot set options

check_prognostic_formula

Check Prognostic Formula

check_prop_formula

Check Propensity Formula

check_scores

Check Scores

estimate_scores

Estimate Prognostic Scores

extract_cut_points.auto_strata

Extract cutoffs between strata

extract_cut_points

Extract cutoffs between strata

fit_prognostic_model

Fit Prognostic Model

get_issues

Get Issues

get_prop_scores

Parse propensity input to obtain propensity scores

is.auto_strata

Checks auto_strata class

is.manual_strata

Checks manual_strata class

is.strata

Checks strata class

is_binary

Check if a vector is binary

make_ac_plot

Make Assignment-Control plot

make_autostrata_table

Make strata table

make_hist_plot

Make histogram plot

make_issue_table

Make Issue Table

make_match_distances

Make match distances within strata

make_resid_plot

Make Residual Plot

make_sample_data

Make sample data

make_SR_plot

Make Size-Ratio plot

manual_stratify

Manual Stratify

new_auto_strata

New Autostrata

new_manual_strata

New Manual Strata

pipe

Pipe operator

plot.auto_strata

Plot method for auto_strata object

plot.manual_strata

Plot method for manual_strata object

print.auto_strata

Print Auto Strata

print.manual_strata

Print Manual Strata

split_pilot_set

Split data into pilot and analysis sets

strata

Strata function from package Survival

strata_match

Strata Match

strata_match_nstrat

Match without Stratification

stratamatch

stratamatch: stratify and match large data sets

summary.strata

Summary for strata object

warn_if_continuous

Warn if continuous

A pilot matching design to automatically stratify and match large datasets. The manual_stratify() function allows users to manually stratify a dataset based on categorical variables of interest, while the auto_stratify() function does automatically by allocating a held-aside (pilot) data set, fitting a prognostic score (see Hansen (2008) <doi:10.1093/biomet/asn004>) on the pilot set, and stratifying the data set based on prognostic score quantiles. The strata_match() function then does optimal matching of the data set in parallel within strata.

  • Maintainer: Rachael C. Aikens
  • License: GPL-3
  • Last published: 2022-03-31