13.5
Nominal data, consisting of non-orderable names, labels, and categories, only allows for population proportions analysis.
Given that the data is nominal, the sign test can be used to determine whether there is evidence in favor of a dog or a cat as the preferred pet.
The null hypothesis asserts that the proportion of dog lovers equals 0.5, while the alternative hypothesis suggests that dog lovers outnumber cat lovers.
Dog and cat lovers are represented by positive and negative signs, respectively.
Since n is greater than 25, the z statistic is calculated using the formula provided.
This test is treated as left-tailed because it examines whether the number of negatives is significantly low. At a confidence level of 0.05, the critical value is -1.645.
Since the test statistic is less than the critical value, the null hypothesis is rejected. So, there is sufficient evidence to claim that people are more likely to be dog lovers.
The sign test is a nonparametric method used to evaluate hypotheses about the median of a single sample or to compare the medians of two related sampl…
Copyright © 2026 MyJoVE Corporation. All rights reserved.