chi2indeptest: Pairwise Mutual Independence Test

Description Usage Arguments Value

View source: R/testing.R

Description

Pearson's Chi-square test of pairwise mutual independence.

Usage

1
chi2indeptest(x, alpha)

Arguments

x

matrix with n rows comprised of normalized data between 0 and 1.

alpha

significance level.

Value

Object with test outcomes h[i,j] = h[j,i] = TRUE/FALSE for 1 <= i,j <= n meaning rejection/acceptance of independence null hypothesis involving rows i and j of matrix x, and p-value or confidence level of acceptance.


detpack documentation built on July 24, 2019, 5:03 p.m.