Learn R Programming

comets (version 0.1-1)

Covariance Measure Tests for Conditional Independence

Description

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, ).

Copy Link

Version

Install

install.packages('comets')

Monthly Downloads

173

Version

0.1-1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Lucas Kook

Last Published

January 31st, 2025

Functions in comets (0.1-1)

plm_equiv_test

Equivalence test for the parameter in a partially linear model
pcm

Projected covariance measure test for conditional mean independence
plot.gcm

Plotting methods for COMETs
wgcm

Weighted Generalised covariance measure test
rgcm

GCM test with pre-computed residuals
comet

Covariance measure tests with formula interface
rf

Implemented regression methods
gcm

Generalised covariance measure test