You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Related to the documentation gap here: PR #362 has just been opened which fixes a concrete bug that was contributing to confusion around the χ² API — ChiSquareTest.pearsonChiSquared(table: ContingencyTable<_,_>) was a stub that always returned 42., making the independence test path completely unusable.
Once that PR is merged, the three χ² test variants available in FSharp.Stats will all be functional:
Linking also PR #181 which adds the Cochran–Mantel–Haenszel test for stratified 2×2 tables — that PR may be worth reviewing alongside the documentation work.
A useful addition to the docs would be a worked example showing which function to call for each scenario (goodness-of-fit vs. independence vs. homogeneity), with a short note on degrees of freedom.
Activity
[-]Documentation request[/-][+]Documentation request for X² test[/+]github-actions commentedon Apr 1, 2026
🤖 This is an automated response from Repo Assist.
Related to the documentation gap here: PR #362 has just been opened which fixes a concrete bug that was contributing to confusion around the χ² API —
ChiSquareTest.pearsonChiSquared(table: ContingencyTable<_,_>)was a stub that always returned42., making the independence test path completely unusable.Once that PR is merged, the three χ² test variants available in
FSharp.Statswill all be functional:ChiSquareTest.pearsonChiSquaredTestChiSquareTest.pearsonChiSquared(table: ContingencyTable<_,_>)ChiSquareTest.pearsonChiSquared(table: Contingency2x2)Linking also PR #181 which adds the Cochran–Mantel–Haenszel test for stratified 2×2 tables — that PR may be worth reviewing alongside the documentation work.
A useful addition to the docs would be a worked example showing which function to call for each scenario (goodness-of-fit vs. independence vs. homogeneity), with a short note on degrees of freedom.