jonckheere | R Documentation |
Computes Jonckheere's Test for Ordered Alternatives; see Section 5.6 of Kloke and McKean (2014)/Section 5.7 of Kloke and McKean (2024).
jonckheere(y, groups)
y |
vector of responses |
groups |
vector of associated groups (levels) |
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
Jonckheere |
test statistic |
ExpJ |
null expectation |
VarJ |
null variance |
p |
p-value |
John Kloke, Joseph McKean
Kloke, J. and McKean, J.W. (2014), Nonparametric statistcal methods using R, Boca Raton, FL: Chapman-Hall. Kloke, J. and McKean, J.W. (2024), Nonparametric statistcal methods using R, Second Edition, Boca Raton, FL: Chapman-Hall.
smtp.biostat.wustl.edu/sympa/biostat/arc/s-news/2000-10/msg00126.html
r<-rnorm(30)
gp<-c(rep(1,10),rep(2,10),rep(3,10))
jonckheere(r,gp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.