Learn R Programming

NSM3 (version 1.1)

dmrl.mc: Hollander-Proschan

Description

Function to compute the Monte Carlo or asymptotic P-value for the observed Hollander-Proschan V' statistic.

Usage

dmrl.mc(x, alternative = "two.sided", exact=FALSE,
        min.reps = 100, max.reps = 1000, delta = 10^-3)

Arguments

Value

The function returns a list with two elements:Vthe value of the dmrl statisticpthe corresponding probability

Examples

Run this code
ex11.1<-c(42, 43, 51, 61, 66, 69, 71, 81, 82, 82)
dmrl.mc(ex11.1, alt="dmrl", exact=TRUE)

Run the code above in your browser using DataLab