BootSimStrat: Bootstrap Inference for Stratified Estimator

View source: R/Bootstrap.R

BootSimStratR Documentation

Bootstrap Inference for Stratified Estimator

Description

Constructs bootstrap confidence intervals.

Usage

BootSimStrat(data, obs_stats, tau, alpha = 0.05, reps = 2000)

Arguments

data

Data.frame containing: idx, time, status, arm, strata.

obs_stats

Observed contrasts.

tau

Truncation time.

alpha

Type I error.

reps

Simulations replicates.

Value

Data.frame containing:

  • Bootstrap difference 'boot_diff' and ratio 'boot_ratio' of areas.

  • An indicator that the bootstrap difference was of the opposite sign, 'is_diff_sign'.


zrmacc/MCC documentation built on July 16, 2025, 4:04 p.m.