Description | A Chi-square test is a data analysis process based on random samples of categorical variables. It is mainly used to accept or reject the null hypothesis. The null hypothesis mainly predicts the relation between two independent categorical variables. | ||
Why to use | To find out the difference between observed values and expected values. The cause of this difference is due to the relation between them or by chance. | ||
When to use |
| When not to use | When both variables are categorical like Blood Group, location, and Customer Satisfaction. |
Prerequisites | You need to select the input column having only two categories to compute Chi Square test results. | ||
Input | Set of independent variables | Output | Relation between the two variables |
Statistical Method Used | Chi Square Statistics | Limitations |
|