Learn R Programming

demi (version 1.1.2)

wprob: Calculates wilcoxon's upper and lower probabilities

Description

Calculates the wilcoxon's upper and lower probabilities for each possible rank sum defined by the size of the test and reference samples.

Usage

wprob(m, n)

Arguments

m
An integer. Defines the test sample size.
n
An integer. Defines the reference sample size.

Value

A list. Returns a list of all possible lower and upper tail p-values defined by the sum of the possible rank combinations.

Examples

Run this code
# For test sample 4 and reference sample 6 calculate wilcoxon's upper and lower probabilities
wprob( 4, 6 )

Run the code above in your browser using DataLab