# Computational Test for Conditional Independence

## Documentation for package ‘CCI’ version 0.3.6.1

- DESCRIPTION file
- User guides, package vignettes and other documentation
- Package NEWS
- Package README

## Help Pages

add_interaction_terms | Creates interaction terms for specified variables in a data frame Interaction terms are named as '<var1>_int_<var2>' (e.g., 'Z1_int_Z2' for the product of 'Z1' and 'Z2').
add_poly_terms | Creates polynomial terms for specified variables in a data frame Polynomial terms are named as '<variable>_d_<degree>' (e.g., 'Z1_d_2' for the square of 'Z1').
build_formula | Build an expanded formula with poly and interaction terms
CCI | Computational test for conditional independence based on ML and Monte Carlo Cross Validation
CCI.direction | Choose Direction for testing for the CCI test
CCI.pretuner | CCI tuner function for CCI test
CCI.test | Computational test for conditional independence based on ML and Monte Carlo Cross Validation
check_formula | Check the formula statement
clean_formula | Clean and Reformat Formula String
ExponentialNoise | Example dataset: ExponentialNoise
get_pvalues | P-value Calculation Based on Null Distribution and Test Statistic
get_tuned_params | Get the best parameters after tuning with CCI.tuner
HardCase | Example dataset: HardCase
is_categorical_Z_any | Check whether Z contains at least one categorical variable
make_strata_from_categorical_Z | Create strata from the categorical subset of Z
NonLinearCategorization | Example dataset: NonLinearCategorization
NonLinNormal | Example dataset: NonLinNormal
NonLinNormalZs_d0 | Example dataset: NonLinNormalZs_d0
NonLinNormalZs_d05 | Example dataset: NonLinNormalZs_d05
NormalData | Example dataset: NormalData
perm.test | Permutation Test for Conditional Independence
permute_within_strata | Stratified permutation of x within strata
plot.CCI | Plot for CCI testing
PoissonNoise | Example dataset: PoissonNoise
PolyData | Example dataset: PolyData
print.CCI | Print and summary methods for the CCI class
print.summary.CCI | Print and summary methods for the CCI class
QQplot | QQ-plot for multiple testing in CCI
reports | Print and summary methods for the CCI class
summary.CCI | Print and summary methods for the CCI class
test.gen | Generate the Test Statistic or Null Distribution Using Permutation
tuner | CCI tuner function for CCI test
unclean_formula | Convert CI-style formula Y ~ X | Z into regression-style Y ~ X + Z
UniformNoise_large | Example dataset: UniformNoise_large
wrapper_knn | k-Nearest Neighbors (KNN) wrapper for CCI (kknn-based)
wrapper_ranger | Random Forest wrapper for CCI
wrapper_svm | SVM wrapper for CCI
wrapper_xgboost | Extreme Gradient Boosting wrapper for CCI