powered by
Function to compute the Campbell-Hollander estimator G-hat
ch.ro (x,n,alpha,mu,...)
a vector of data of length r
the sample size
the degrees of confidence in mu
the prior guess of the unknown P (a pdf)
all of the arguments needed for mu
estimate of the rank order G
See Section 16.3 of Hollander, Wolfe, Chicken - Nonparametric Statistical Methods 3.
# NOT RUN { ##Hollander-Wolfe-Chicken Example 16.2 Swimming in the Women's 50 yard Freestyle freestyle<-c(22.43, 21.88, 22.39, 22.78, 22.65, 22.60) ch.ro(freestyle,12,10,pnorm,22.52,.24) # }
Run the code above in your browser using DataLab