Covariance Measure Tests for Conditional Independence

Covariance measure tests for conditional independence testing against conditional covariance and nonlinear conditional mean alternatives. The package implements versions of the generalised covariance measure test (Shah and Peters, 2020, ) and projected covariance measure test (Lundborg et al., 2023, ). The tram-GCM test, for censored responses, is implemented including the Cox model and survival forests (Kook et al., 2024, ). Application examples to variable significance testing and modality selection can be found in Kook and Lundborg (2024, ).


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("comets")

0.2-2 by Lucas Kook, a year ago


https://github.com/LucasKook/comets


Report a bug at https://github.com/LucasKook/comets/issues


Browse source code at https://github.com/cran/comets


Authors: Lucas Kook [aut, cre] , Anton Rask Lundborg [ctb]


Documentation:   PDF Manual  


GPL-3 license


Imports ranger, glmnet, Formula, survival, coin, Rcpp

Suggests testthat, ggplot2, tidyr, dplyr, xgboost, lightgbm

Linking to Rcpp


See at CRAN