We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://archimede.mat.ulaval.ca/stt1920/STT-1920-Loi-du-khi-deux.pdf
Investigate weird correlation between G2 and chi2 in full version.
I suspect the self-loops are accouting for most of the weirdness.
g2 should return an Option
let observed_12 = (x - xy) as f64; let observed_21 = (y - xy) as f64; let observed_22 = (n - (x + y) + xy) as f64;
12 and 21 can be 0
22 can also be 0 and be a problem with self loops?
The text was updated successfully, but these errors were encountered:
Correct G2 & chi2 computation on full contingency matrix
3c8e34a
Related to #383
No branches or pull requests
https://archimede.mat.ulaval.ca/stt1920/STT-1920-Loi-du-khi-deux.pdf
Investigate weird correlation between G2 and chi2 in full version.
I suspect the self-loops are accouting for most of the weirdness.
g2 should return an Option
let observed_12 = (x - xy) as f64;
let observed_21 = (y - xy) as f64;
let observed_22 = (n - (x + y) + xy) as f64;
12 and 21 can be 0
22 can also be 0 and be a problem with self loops?
The text was updated successfully, but these errors were encountered: