View source: R/test_conditional_independence.R
Perform a test for conditional independence between the first two variables in the data set, given the remaining variables.
1 2 3 |
lg_object |
An object of type |
h |
The |
S |
The integration area in the test statistic. Logical function that takes grid points as argument. |
n_rep |
The number of replicated bootstrap samples |
nodes |
Either the number of equidistant nodes to generate, or a vector of nodes supplied by the user |
M |
The value for M in the accept-reject algorithm if already known |
M_sim |
The number of replicates to simulate in order to find a value for M |
M_corr |
Correction factor for M, to be on the safe side |
n_corr |
Correction factor for n_new, so that we mostly will generate enough observations in the first go |
extend |
How far to extend the grid beyond the extreme data points when interpolating, in share of the range |
return_time |
Measure how long the test takes to run, and return along with the test result |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.