QuantDiffP: Generate Permutation P-value for the Difference in Quantiles.

Description Usage Arguments Value

View source: R/Quantiles.R

Description

Permutation p-value for the difference in quantiles.

Usage

1
QuantDiffP(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 quantile probability 'Quantile', the estimated quantiles in arms 1 'Arm1' and 0 'Arm0', the difference 'Delta', and the permutation p-value 'P'.


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