Description Usage Arguments Details Value Examples
Extended jonckheere function that can handle data with ties.
1 | jh.tie(x, gr)
|
x |
the multi-group data (vector) |
gr |
the group index for the data (numeric/factor) |
For Jonkheere-Terpstra test with ties W[ij]=\#(X[ik]<X[jl],k=1,2,...,n[i],l=1,2,...,n[j])+frac(1,2)\#(X[ik]=X[jl],k=1,2,...,n[i],l=1,2,...,n[j]) J=sum(W[ij],i<j) frac(J-E[H[0]](J),sqrt(var[H[0]](J))) E[H[0]](J)=frac(N^2-sum(n[i]^2,i==1,k),4)
a list that contains the value of J statistics and p.value
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.