Sign test - overview

This page offers structured overviews of one or more selected methods. Add additional methods for comparisons by clicking on the dropdown button in the right-hand column. To practice with a specific method click the button at the bottom row of the table

Sign test

Chi-squared test for the relationship between two categorical variables

Do people tend to score higher on mental health after a mindfulness course?

Is there an association between economic class and gender? Is the distribution of economic class different between men and women?

SPSS

SPSS

Analyze > Nonparametric Tests > Legacy Dialogs > 2 Related Samples...

Put the two paired variables in the boxes below Variable 1 and Variable 2

Under Test Type, select the Sign test

Analyze > Descriptive Statistics > Crosstabs...

Put one of your two categorical variables in the box below Row(s), and the other categorical variable in the box below Column(s)

Click the Statistics... button, and click on the square in front of Chi-square

Continue and click OK

Jamovi

Jamovi

Jamovi does not have a specific option for the sign test. However, you can do the Friedman test instead. The $p$ value resulting from this Friedman test is equivalent to the two sided $p$ value that would have resulted from the sign test. Go to:

ANOVA > Repeated Measures ANOVA - Friedman

Put the two paired variables in the box below Measures

Frequencies > Independent Samples - $\chi^2$ test of association

Put one of your two categorical variables in the box below Rows, and the other categorical variable in the box below Columns