ProbIndexDiffCI: Generate Bootstrap Confidence Interval for the Difference in...

Description Usage Arguments Value

View source: R/Index.R

Description

Bootstrap confidence interval for the difference in probability indices: P(Y_{1} > Y_{0}) - P(Y_{0} > Y_{1}).

Usage

1
ProbIndexDiffCI(counts0, counts1, B = 2000, alpha = 0.05)

Arguments

counts0

Counts per level in the reference arm.

counts1

Counts per level in the tretment arm.

B

Bootstrap replicates.

alpha

Alpha level.

Value

Numeric vector containing the probability indices for arms 1 'Arm1' and 0 'Arm0', the difference 'Delta', and the lower 'L' and upper 'U' confidence bounds.


zrmacc/Ordinal documentation built on June 29, 2020, 12:50 a.m.