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 | 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 | 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 | jax
--- | ---
margins | ✖
expected_freq | ✖
chi2_contingency | ✖
crosstab |
association | ✖
relative_risk |
odds_ratio |