Package: comets 0.1-1
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>).
Authors:
comets_0.1-1.tar.gz
comets_0.1-1.zip(r-4.5)comets_0.1-1.zip(r-4.4)comets_0.1-1.zip(r-4.3)
comets_0.1-1.tgz(r-4.5-any)comets_0.1-1.tgz(r-4.4-any)comets_0.1-1.tgz(r-4.3-any)
comets_0.1-1.tar.gz(r-4.5-noble)comets_0.1-1.tar.gz(r-4.4-noble)
comets_0.1-1.tgz(r-4.4-emscripten)comets_0.1-1.tgz(r-4.3-emscripten)
comets.pdf |comets.html✨
comets/json (API)
# Install 'comets' in R: |
install.packages('comets', repos = c('https://lucaskook.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/lucaskook/comets/issues
Last updated 1 months agofrom:85af950495. Checks:8 OK. Indexed: yes.
Target | Result | Latest binary |
---|---|---|
Doc / Vignettes | OK | Mar 02 2025 |
R-4.5-win | OK | Mar 02 2025 |
R-4.5-mac | OK | Mar 02 2025 |
R-4.5-linux | OK | Mar 02 2025 |
R-4.4-win | OK | Mar 02 2025 |
R-4.4-mac | OK | Mar 02 2025 |
R-4.3-win | OK | Mar 02 2025 |
R-4.3-mac | OK | Mar 02 2025 |
Exports:cometcometsgcmpcmplm_equiv_testrgcmwgcm
Dependencies:codetoolscoinforeachFormulaglmnetiteratorslatticelibcoinMASSMatrixmatrixStatsmodeltoolsmultcompmvtnormrangerRcppRcppEigensandwichshapesurvivalTH.datazoo
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Covariance measure tests with formula interface | comet comets |
Generalised covariance measure test | gcm |
Projected covariance measure test for conditional mean independence | pcm |
Equivalence test for the parameter in a partially linear model | plm_equiv_test |
Plotting methods for COMETs | plot.gcm plot.pcm plot.wgcm |
Implemented regression methods | cox glrm lasso lrm postlasso qrf rf ridge survforest tuned_rf tuned_xgb xgb |
GCM test with pre-computed residuals | rgcm |
Weighted Generalised covariance measure test | wgcm |