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