2.2.1. dodiscover.ci.FisherZCITest#

class dodiscover.ci.FisherZCITest(correlation_matrix=None)[source]#

Methods

test(df, x_vars, y_vars[, z_covariates])

Abstract method for all conditional independence tests.

test(df, x_vars, y_vars, z_covariates=None)[source]#

Abstract method for all conditional independence tests.

Parameters:
dfpd.DataFrame

The dataframe containing the dataset.

x_varsSet of column

A column in df.

y_varsSet of column

A column in df.

z_covariatesSet, optional

A set of columns in df, by default None. If None, then the test should run a standard independence test.

Returns:
statfloat

The test statistic.

pvaluefloat

The p-value of the test.