Pearson Chi Square. For example to see if the distribution of males and females differs between control and treated groups of an experiment requires a pearson s chi square test. A chi square test is designed to analyze categorical data.
Expected counts in a goodness of fit test. This test is used when we have categorical data for two independent variables and we want to see if there is any relationship between the variables. Chi square statistic for hypothesis testing.
Let s take another example to understand this.
It is also called a goodness of fit statistic because it measures how well the observed distribution of data fits with the distribution that is expected if the variables are independent. Let s take another example to understand this. Pearson s chi square test goodness of fit this is the currently selected item. It is the most widely used of many chi squared tests e g yates likelihood ratio portmanteau test in time series etc statistical procedures whose results are evaluated by reference to the chi squared distribution.