Calculate the test statistic in the test for conditional independence between the first two variables in the data set, given the remaining variables.
ci_test_statistic(lg_object, h = function(x) x^2, S = function(y)
rep(T, nrow(y)))
An object of type lg
, as produced by the
lg_main
-function
The h
-function used in the calculation of the test statistic.
The default value is h(x) = x^2
.
The integration area in the test statistic. Logical function that takes grid points as argument.