Description Usage Arguments Value Examples
This function allows the user to find the probability values from the exact distribution of W, Bickel and Doksum(1973). The exact P(W=x), P(W<=x), P(W>=x) values is found via an exhaustive enumeration of the possible permutations of data with size n.
1 |
n |
Size of data or Number of observations |
test_stat |
The x value specified in P(W=x), P(W<=x), P(W>=x) |
side |
The tails of exact probability the user wants to compute e.g. 'eq' = P(W=x), 'leq' = P(W<=x), 'geq' = 'P(W>=x) |
The exact probability values as specified.
1 | W_stat(n=5, test_stat = 3, side = 'leq')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.