Skip to main content
`Ctrl`+`K`

# Array API Standard Support: `stats.contingency`

## Support on CPU

Legend

✔️ = supported

✖ = unsupported

N/A = out-of-scope

blank = not currently documented

function/class | torch | jax | dask
--- | --- | --- | ---
margins | ✖ | ✖ | ✖
expected_freq | ✖ | ✖ | ✖
chi2_contingency | ✖ | ✖ | ✖
crosstab |  |  |
association | ✖ | ✖ | ✖
relative_risk |  |  |
odds_ratio |  |  |

## Support on GPU

Legend

✔️ = supported

✖ = unsupported

N/A = out-of-scope

blank = not currently documented

function/class | cupy | torch | jax
--- | --- | --- | ---
margins | ✖ | ✖ | ✖
expected_freq | ✖ | ✖ | ✖
chi2_contingency | ✖ | ✖ | ✖
crosstab |  |  |
association | ✖ | ✖ | ✖
relative_risk |  |  |
odds_ratio |  |  |

## Support with JIT

Legend

✔️ = supported

✖ = unsupported

N/A = out-of-scope

blank = not currently documented

function/class | jax
--- | ---
margins | ✖
expected_freq | ✖
chi2_contingency | ✖
crosstab |
association | ✖
relative_risk |
odds_ratio |