ci_test_statistic: Calculate the value of the test statistic for the conditional...

Description Usage Arguments

View source: R/test_conditional_independence.R

Description

Calculate the test statistic in the test for conditional independence between the first two variables in the data set, given the remaining variables.

Usage

1
2
ci_test_statistic(lg_object, h = function(x) x^2, S = function(y)
  rep(T, nrow(y)))

Arguments

lg_object

An object of type lg, as produced by the lg_main-function

h

The h-function used in the calculation of the test statistic. The default value is h(x) = x^2.

S

The integration area in the test statistic. Logical function that takes grid points as argument.


lg documentation built on Dec. 5, 2019, 5:13 p.m.