Learn R Programming

NSM3 (version 1.18)

ch.ro: Campbell-Hollander

Description

Function to compute the Campbell-Hollander estimator G-hat

Usage

ch.ro (x,n,alpha,mu,...)

Value

G.hat

estimate of the rank order G

Arguments

x

a vector of data of length r

n

the sample size

alpha

the degrees of confidence in mu

mu

the prior guess of the unknown P (a pdf)

...

all of the arguments needed for mu

Author

Rachel Becvarik

References

See Section 16.3 of Hollander, Wolfe, Chicken - Nonparametric Statistical Methods 3.

Examples

Run this code
##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