test_dependent_R2: Test for the dependence of two Pearson' R2

Description Usage Arguments Details Value See Also

View source: R/stats.R

Description

Test for the dependence of two R2.

Usage

1
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.

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.

Value

Return a p-value.

See Also

test_dependent_R2mse, pvalue_dependent_R2mse


functClust documentation built on Dec. 2, 2020, 5:06 p.m.