likwilcox: Wilcoxon Rank Sum Log Likelihood Function

Description Usage Arguments Details Value Examples

Description

The log likelihood of a Wilcoxon rank sum density with data, x, m and n parameters.

Usage

1
likwilcox(m, n, x, log = FALSE)

Arguments

m

numbers of observations in the first and second sample, respectively. Can be vectors of positive integers.

n

numbers of observations in the first and second sample, respectively. Can be vectors of positive integers.

x

vector of quantiles.

log

logical; if TRUE, probabilities p are given as log(p).

Details

The log likelihood is the log of a function of parameters given the data.

Value

A numeric scalar for the log likelihood of the Wilcoxon rank sum density given the data where m and n can be held constant or if vector were given vector will be returned.

Examples

1
2
likwilcox(x = rwilcox(nn = 2, m = 3, n = 4),
        m = 3, n = 4)

BenBarnard/likelihoodExplore documentation built on Dec. 4, 2019, 4:38 p.m.