`R/Wilcox.R`

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

likwilcox(x, m, n, log = TRUE)

x | vector of quantiles. |
---|---|

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. |

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

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.

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

likwilcox(x = rwilcox(nn = 2, m = 3, n = 4), m = 3, n = 4)#> [1] -4.338107