# How to find association between two variables using spss| Chi-square association test

Chi-square association test is one of the most popular association test by which we can find the association between two variables. Spss is a simple data analytics tool by which we can easily perform the chi-square test.

## Procedure

To find the association between two random variables we have to follow the following procedure-

1. Input your data on SPSS
2. Select the two required variable
3. Now set the hypothesis as below- H0: There is no association between the variables. H1: H0 is not true.
4. To test the hypothesis we use chi-square test.
5. Go to: Analyze→ Descriptive statistics →Crostabs.
6. Insert the required variabe in the variable box.
7. Go to statistics option and select chi-square.
8. And finally click ok.

## Chi-square association test

Now we interprete the chi-square test result using the significance level(p-value).

1. If p<=0.05 then null hypothesis (H0) is rejected.
2. If p>0.05 then null hypothesis (H0) is accepted.

you can watch the full procedure in the following video-

According to wikipedia,
A chi-squared test, also written as χ2 test, is a statistical hypothesis test that is valid to perform when the test statistic is chi-squared distributed under the null hypothesis, specifically Pearson’s chi-squared test and variants thereof. Pearson’s chi-squared test is used to determine whether there is a statistically significant difference between the expected frequencies and the observed frequencies in one or more categories of a contingency table.