Residualizes X and Y on the conditioning variables with linear
regression, then tests the mean of the product of the residuals with a
studentised z statistic. Only continuous columns are supported: a factor
column raises a "wrong column kind" error. Degenerate inputs raise errors
rather than returning NaN. Conditioning sets whose columns are linearly
dependent (duplicate or nested categorical variables, a constant column)
raise a degenerate-data error, whereas pgmpy fits them by least squares.
gcm(data)A dataset() result or a data.frame.
A fastcit_test bound to data.