When to use it
Use alongside Chi-square tests to report nominal association strength.
Required Inputs
- Contingency matrix or Chi-square statistic
- Number of rows & columns
- Total N
Calculate Cramér's V and Phi (φ) effect size coefficients for categorical contingency tables.
Run this test live in StatLab npm i @statlab/coreUse alongside Chi-square tests to report nominal association strength.
V = √( χ² / (N * min(r-1, c-1)) )
import scipy.stats as stats
def cramers_v(chi2, n, r, c):
return np.sqrt(chi2 / (n * min(r-1, c-1)))
library(rcompanion)
cramerV(matrix)
import { cramersV } from '@statlab/core';
const v = cramersV(chi2, n, r, c);
Continuous A/B testing, statistical telemetry analysis, and automated feedback loops for live backend services.
Explore VoxelPulse →Fixed-price AI release-readiness sprints, automated regression testing, and reliability statistical benchmarks.
Explore VoxelAssurance →Explore static calculators across the StatLab inference engine suite.