observed.W: Calculate observed W statistic of CANOVA

Description Usage Arguments Value Author(s) References

Description

observed.W

Usage

1
observed.W(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

observed_W The value of observed W statistic of CANOVA with or without 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.