Learn R Programming

functClust (version 0.1.6)

test_dependent_R2: Test for the dependence of two Pearson' R2

Description

Test for the dependence of two R2.

Usage

test_dependent_R2(v1, v2, v3, n = length(v1))

Arguments

v1, v2, v3

three numeric vectors of n = length(v1), or three coefficients of determination. If inputs are three coefficients of determination, vector length n must be specified.

n

the length of vectors. n must be specified if the inputs are three coefficients of determination.

Value

Return a p-value.

Details

Be careful, the three vectors v1, v2, v3 are not symmetrical. The function compares R2 obtained by the models v1 ~ v3 and v2 ~ v3.

See Also

test_dependent_R2mse, pvalue_dependent_R2mse