no_null: no_null

Description Usage Arguments Value

Description

computes association if significance level excludes the null hypothesis

Usage

1
no_null(x, y, sl, estimator = "values", p11 = 0, p01 = 0, p10 = 0)

Arguments

x, y

vectors to be correlated. Must be numeric.

sl

level of significance for testing the null hypothesis. Default is 0.05.

estimator

string indicating how the parameters $p_11$, $p_01$, $p_10$, $p_00$ are to be estimated. The default is 'values', which indicates that they are estimated based on the entries of x and y. If estimates=='mean', each $p_ji$ is estimated as the mean of all pairs of column vectors in m1, and of m2 if needed. If estimates=='own', the $p_ji$'s must be given as arguments.

p11

probability that a bivariate observation is of the type (m,n), where m,n>0.

p01

probability that a bivariate observation is of the type (0,n), where n>0.

p10

probability that a bivariate observation is of the type (n,0), where n>0.

Value

correlation value if significantly different from 0 or 0 otherwise.


mazeinda documentation built on May 2, 2019, 3:25 a.m.