Associations.jl icon indicating copy to clipboard operation
Associations.jl copied to clipboard

Azadkia-Chatterjee coefficient

Open kahaaga opened this issue 1 year ago • 1 comments

Implements #380.

The docs are here.

This PR contains

  • The AzadkiaChatterjeeCoefficient struct, which dispatches to association with either two or three input datasets (corresponding to pairwise or conditional association) + tests.
  • Implementations for AzadkiaChatterjeeCoefficient for both SurrogateAssociationTest (pairwise and conditional) and LocalPermutationTest (conditional) + tests.
  • A listing for AzadkiaChatterjeeCoefficient in the documentation pages.
  • Cross references in AssociationMeasure and AssociationMeasureEstimator docstrings.
  • Many runnable documentation examples that are cross-referenced everywhere necessary (example 1, example 2).

kahaaga avatar Aug 02 '24 01:08 kahaaga

Codecov Report

Attention: Patch coverage is 98.03922% with 2 lines in your changes missing coverage. Please review.

Project coverage is 94.97%. Comparing base (a0014fc) to head (e426c5e).

Files Patch % Lines
src/methods/correlation/chatterjee.jl 0.00% 2 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #385      +/-   ##
==========================================
+ Coverage   94.87%   94.97%   +0.10%     
==========================================
  Files         108      111       +3     
  Lines        3103     3205     +102     
==========================================
+ Hits         2944     3044     +100     
- Misses        159      161       +2     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Aug 02 '24 01:08 codecov-commenter