Skip to contents

Phase 1.g delegates to rbounds when installed and the wilcoxon or sign method is requested; otherwise falls back to the base-R normal-approximation implementation originally shipped with rmorie. The mcnemar path is always served by the inline binomial formula (rbounds does not expose a McNemar entry point on CRAN).

Usage

rosenbaum_bounds(
  treated_outcomes,
  control_outcomes,
  gamma_range = NULL,
  method = "wilcoxon"
)

Arguments

treated_outcomes

Vector of outcomes for treated units.

control_outcomes

Vector of outcomes for matched controls.

gamma_range

Numeric vector of Gamma values (default seq(1, 5, by = 0.25)).

method

One of "wilcoxon", "sign", "mcnemar".

Value

A morie_rosenbaum_bounds named-list.