andrey.core.ci.StudentT#
- class andrey.core.ci.StudentT(data)[source]#
Student-t partial-correlation conditional-independence test.
Reports the same partial correlation
rasFisherZwith an exact Student-t p-value ondf = n - |S| - 2degrees of freedom:t = r * sqrt(df / (1 - r**2))andp = 2 * P(T_df > |t|). Its p-values differ slightly from Fisher-Z’s.ris clamped just inside(-1, 1), so a deterministic relation gives a tiny finite p-value. A query needsn > |S| + 2. SeePartialCorrelationTestfor the query paths.