als-statistics
Version:
Modular JS statistics toolkit for Node.js and the browser: descriptive stats, correlations (Pearson/Spearman/Kendall), t-tests & ANOVA (Student/Welch), reliability (Cronbach’s alpha), regression (linear/logistic), clustering (DBSCAN/HDBSCAN), and table/co
22 lines (15 loc) • 599 B
Markdown
<title>Kendall Rank Correlation (τ)</title>
<description>## Class: `Kendall`</description>
<keywords>kendall, rank, correlation, class, public, fields, js, new, x, number, y, twosided</keywords>
# Kendall Rank Correlation (τ)
## Class: `Kendall`
**Constructor**
```js
new Kendall({ X: number[], Y: number[] }, twoSided=true)
```
### Public fields
- `tau: number`
- `z: number` – normal approximation for significance
- `p: number` – p‑value (two‑sided by default)
- `t: number` – alias of `z` (for consistency with other tests)
- `df: number` – `Infinity` (normal approximation)