comets: 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, <doi:10.1214/19-aos1857>) and projected covariance measure test (Lundborg et al., 2023, <doi:10.1214/24-AOS2447>). The tram-GCM test, for censored responses, is implemented including the Cox model and survival forests (Kook et al., 2024, <doi:10.1080/01621459.2024.2395588>). Application examples to variable significance testing and modality selection can be found in Kook and Lundborg (2024, <doi:10.1093/bib/bbae475>).

Getting started

Package details

AuthorLucas Kook [aut, cre] (<https://orcid.org/0000-0002-7546-7356>), Anton Rask Lundborg [ctb]
MaintainerLucas Kook <lucasheinrich.kook@gmail.com>
LicenseGPL-3
Version0.1-1
URL https://github.com/LucasKook/comets
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("comets")

Try the comets package in your browser

Any scripts or data that you put into this service are public.

comets documentation built on April 4, 2025, 1:24 a.m.