API reference

andrey.core.ci.FisherZ#

class andrey.core.ci.FisherZ(data)[source]#

Fisher-Z partial-correlation conditional-independence test.

Applies Fisher’s z-transform to the partial correlation r and reports p = 2 * (1 - Phi(sqrt(n - |S| - 3) * |z|)) with z = atanh(r) and Phi the standard-normal CDF. A query needs n >= |S| + 3. See PartialCorrelationTest for the partial correlation, the query paths, and their exact agreement.