Learn R Programming

NSM3 (version 1.18)

MillerJack: Miller Jackknife

Description

Function to compute the Miller Jackknife Q statistic.

Usage

MillerJack(x,y=NULL)

Value

Returns the observed Q statistic.

Arguments

x

Either a vector containing the first group of data (X) or a matrix containing both groups of data.

y

If x is a vector, y is a vector containing the second group of data (Y). Otherwise, not used.

Author

Grant Schneider

Examples

Run this code
##Hollander-Wolfe-Chicken Example 5.2 Southern Armyworm and Pokeweed
kentucky.pokeweed<-c(6.2,5.9,8.9,6.5,8.6)
florida.pokeweed<-c(9.5,9.8,9.5,9.6,10.3)
MillerJack(kentucky.pokeweed,florida.pokeweed)

Run the code above in your browser using DataLab