Simulation of a Chi-Squared Test of Association in a Two-Way Contingency Table
![](/fileadmin/_processed_/7/0/csm_T3_Brussels_2017_-_Chi-Squared_Contingency_Table_Simulation_v1_a57b3cf384.png)
This code simulates a test of association for any two-way contingency table and compares it to the appropriate Chi-Squared distribution.
Publisher: T³ Europe
Author: Nevil Hopley
Topic: Mathematics
Tags Equations , Electricity , Functions , Engineering , Statistics , Magnetism , Stochastics , STEM , Test of hypothesis