Applies the test's own decision rule: p >= significance_level for the standard tests, and the inverted p < significance_level for pearson_equivalence().

is_independent(test, x, y, z = character(), significance_level = 0.05)

Arguments

test

A fastcit_test from one of the factory functions.

x, y

Column names for the two variables.

z

Character vector of conditioning column names (default: none).

significance_level

Significance level alpha (default 0.05).

Value

A single logical: TRUE if independent at significance_level.