fslaborg / FSharp.Stats

statistical testing, linear algebra, machine learning, fitting and signal processing in F#
https://fslab.org/FSharp.Stats/
Other
210 stars 56 forks source link

[Feature Request] Yates correction for chi-squared test #87

Open bvenn opened 3 years ago

bvenn commented 3 years ago

Description

Pearson's chi-squared test allows the determination if two distributions differ from each other. If an expected value is below 5, a correction for small numbers should be made.

References

https://www.ling.upenn.edu/~clight/chisquared.htm https://en.wikipedia.org/wiki/Chi-squared_test#Yates's_correction_for_continuity