Zum Inhalt springen

Simulation of a Chi-Squared Test of Association in a Two-Way Contingency Table

Simulation of a Chi-Squared Test of Association in a Two-Way Contingency Table

Nevil Hopley

Fach: Mathematics

Schlagwörter Equations, Electricity, Functions, Engineering, Statistics, Magnetism, Stochastics, STEM, Test of hypothesis

This code simulates a test of association for any two-way contingency table and compares it to the appropriate Chi-Squared distribution.

Creative Commons license - Attribution

 

More info: creativecommons.org.