Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Library: stats
See also: wilcoxon2

Quantlet: wilgenfun
Description: calculates coefficients of the generating function of Wilcoxon test statistic

Usage: (co)=wilgenfun(k,m,a)
Input:
k scalar, the value of Wilcoxon test statistic
m scalar, number of observations in the first sample
a vector of scores
Output:
co vector, coefficients of the generating function

Note:

Example:
library("stats")
wilgenfun(20,4,1:10)

Result:
the generating function counts number of possibilities
for obtaining the values up-to k under the null hypothesis
[ 1,]        0
[ 2,]        0
[ 3,]        0
[ 4,]        0
[ 5,]        0
[ 6,]        0
[ 7,]        0
[ 8,]        0
[ 9,]        0
[10,]        1
[11,]        1
[12,]        2
[13,]        3
[14,]        5
[15,]        6
[16,]        9
[17,]       10
[18,]       13
[19,]       14
[20,]       16



Author: Z. Hlavka, 20010613 license MD*Tech
(C) MD*TECH Method and Data Technologies, 05.02.2006