W.ties: Calculate observed W statistic of CANOVA with ties W.ties

Description Usage Arguments Value Author(s) References

Description

Calculate observed W statistic of CANOVA with ties W.ties

Usage

1
W.ties(x, y, k, tie_shuffle)

Arguments

x

A vector containing values of a continuous variable (X).

y

A vector containing values of a continuous variable (Y).

k

the neighborhood structure or bin size of the dataset.

tie_shuffle

the number of random shuffle times when there are ties in X.

Value

W The value of observed W statistic of CANOVA with ties.

Author(s)

Yi Li, liyistat@gmail.com

References

Wang Y, Li Y, Cao H, et al. Efficient test for nonlinear dependence of two continuous variables[J]. BMC bioinformatics, 2015, 16(1): 1.


liyistat/canova documentation built on May 21, 2019, 7:33 a.m.