computeBetaBootstrapper: Helper function to compute uncertainty regarding nPlan...

View source: R/designHelpers.R

computeBetaBootstrapperR Documentation

Helper function to compute uncertainty regarding nPlan estimates

Description

Helper function to compute uncertainty regarding nPlan estimates

Usage

computeBetaBootstrapper(samplingResult, parameter, nPlan, nBoot)

Arguments

samplingResult

output from sampling functions such as computeNPlanSaviZ and computeNPlanSaviT

parameter

numeric > 0, the savi test defining parameter.

nPlan

vector of max length 2 representing the planned sample sizes.

nBoot

integer > 0 representing the number of bootstrap samples to estimate the uncertainty of various estimates.

Value

list with bootstrap objects

Examples

samplingResult <- sampleStoppingTimesSaviT(0.7, nSim=10, nMax=20)
result <- computeNPlanBootstrapper(samplingResult, 0.7, 0.2, 20, nBoot=1e2)

safestats documentation built on Sept. 6, 2026, 1:06 a.m.