ProbIndexDiffP: Generate Permutation P-value for the Difference in in...

Description Usage Arguments Value

View source: R/Index.R

Description

Permutation p-value for the difference in probability indices: P(Y_{1} > Y_{0}) - P(Y_{0} > Y_{1}).

Usage

1
ProbIndexDiffP(counts0, counts1, B = 2000, q = 0.5)

Arguments

counts0

Counts per level in the reference arm.

counts1

Counts per level in the tretment arm.

B

Bootstrap replicates.

q

Quantile probability.

Value

Numeric vector containing the probability indices for arms 1 'Arm1' and 0 'Arm0', the difference 'Delta', and the Pvalue.


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