jonckheere: Jonckheere's Test for Ordered Alternatives

Description Usage Arguments Details Value Author(s) References Examples

View source: R/jonckheere.R

Description

Computes Jonckheere's Test for Ordered Alternatives; see Section 5.6 of Kloke and McKean (2014).

Usage

1
jonckheere(y, groups)

Arguments

y

vector of responses

groups

vector of associated groups (levels)

Details

Computes Jonckheere's Test for Ordered Alternatives. The main source was downloaded from the site:

smtp.biostat.wustl.edu/sympa/biostat/arc/s-news/2000-10/msg00126.html

Value

Jonckheere

test statistic

ExpJ

null expectation

VarJ

null variance

p

p-value

Author(s)

John Kloke [email protected], Joseph McKean

References

Kloke, J. and McKean, J.W. (2014), Nonparametric statistcal methods using R, Boca Raton, FL: Chapman-Hall.

smtp.biostat.wustl.edu/sympa/biostat/arc/s-news/2000-10/msg00126.html

Examples

1
2
3
 r<-rnorm(30)
 gp<-c(rep(1,10),rep(2,10),rep(3,10))
jonckheere(r,gp)

kloke/npsm documentation built on May 18, 2017, 9:42 p.m.