Package: comets 0.2-2
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.2-2.tar.gz
comets_0.2-2.zip(r-4.7)comets_0.2-2.zip(r-4.6)comets_0.2-2.zip(r-4.5)
comets_0.2-2.tgz(r-4.6-x86_64)comets_0.2-2.tgz(r-4.6-arm64)comets_0.2-2.tgz(r-4.5-x86_64)comets_0.2-2.tgz(r-4.5-arm64)
comets_0.2-2.tar.gz(r-4.7-arm64)comets_0.2-2.tar.gz(r-4.7-x86_64)comets_0.2-2.tar.gz(r-4.6-arm64)comets_0.2-2.tar.gz(r-4.6-x86_64)
comets_0.2-2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
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
conditional-independence-testmachine-learningnonparametriccpp
Last updated from:afa67c0f8c. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 131 | ||
| linux-devel-x86_64 | OK | 145 | ||
| source / vignettes | OK | 185 | ||
| linux-release-arm64 | OK | 163 | ||
| linux-release-x86_64 | OK | 144 | ||
| macos-release-arm64 | OK | 139 | ||
| macos-release-x86_64 | OK | 311 | ||
| macos-oldrel-arm64 | OK | 115 | ||
| macos-oldrel-x86_64 | OK | 274 | ||
| windows-devel | OK | 138 | ||
| windows-release | OK | 136 | ||
| windows-oldrel | OK | 174 | ||
| wasm-release | OK | 114 |
Exports:cometcometsgcmkgcmpcmplm_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 |
| Kernel generalised covariance measure test | kgcm |
| 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.kgcm plot.pcm plot.wgcm |
| Implemented regression methods | cox glrm lasso lgbm lrm postlasso qrf rf ridge survforest tuned_rf tuned_xgb xgb |
| GCM test with pre-computed residuals | rgcm |
| Weighted Generalised covariance measure test | wgcm |
