Nominal-Ordinal Chi-square Test

In Independence Testing, we describe how to perform testing for contingency tables where both factors are nominal. In Ordered Chi-square Testing for Independence, we describe how to perform similar testing when both factors are ordinal. On this webpage, we consider the case where one factor is nominal and the other is ordinal.

Example

Example 1: 127 people who attended a training course were asked to rate their satisfaction with the economy as very dissatisfied, dissatisfied, neutral, satisfied and very satisfied. We would like to know whether their level of satisfaction is independent of their political party category (Democrat, Republican, Independent) based on the contingency table shown in Figure 1.

Nominal-ordinal contingency table

Figure 1 – Nominal-ordinal contingency table

Here, the row factor is nominal and the column factor is ordinal. If we also assume that the column factor has a Likert scale, then the contingency table can be represented as shown on the left side of Figure 2.

Reformatting for Kruskal-Wallis

Figure 2 – Reformatting for Kruskal-Wallis

We can use Kruskal-Wallis to test whether the median satisfaction values of the three political parties are significantly different. To do this, we must first reorganize the data.

We first insert the array formula =Anova2Std(I3:N6) in range Q3:S17 and then the array formula =FREQ2RAW(Q3:S17) in range U3:V114 (only the first 15 of 127 rows are displayed). This latter range represents the data in standard format required for the Kruskal-Wallis test. Using the One-Factor ANOVA data analysis tool, we obtain the results of the Kruskal-Wallis test as shown in Figure 3.

Kruskal-Wallis test results

Figure 3 – Kruskal-Wallis Test

Columns X, Y and Z show the data in U and V reformatted Excel format for ANOVA. We see that p-value = .145, and so there is no statistical difference between the parties regarding their satisfaction with the economy. If a significant result had been detected, then follow-up testing could be done using the One-Factor ANOVA data analysis tool.

Real Statistics Support

Click here for Real Statistics Support for Nominal-Ordinal Chi-square Test.

3 thoughts on “Nominal-Ordinal Chi-square Test”

  1. Dear Zaiontz,

    I got a data table in which there are 2 rows (number of positive & negative cases) and 4 columns of groups (including control). The total sum of the numbers of positive & negative cases for each group is 16; in two of the groups I got zero positive cases, and in other two groups I got 3 and 7 positives out of 16 cases.

    1.Should I include the number of negative cases (16 minus positives) in a row in the table?
    2.Which statistical test would you recommend to comprehend if there is a significant difference between groups?
    3.If chi-square is recommended, which type of chi test would match more decently?

    Sincerely,
    Nafis

    Reply

Leave a Comment