Skip navigation

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

Author: Nevil Hopley

Område:  Matematik

Labels: Ekvationer, Elektricitet, Funktioner, , Statistik, Magnetism, Stokastik, STEM, Hypotestest

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.