13.3
符号检验是非参数统计中的重要工具,它提供了一种简单而有效的方法来分析匹配对、名义数据或有关总体中位数的假设。它将数据点转换为正号或负号,避免了对数据分布的假设,而专注于变化的方向。当数据不符合许多参数检验的正态分布要求时,它特别有价值。例如,研究人员可能会使用符号检验来评估医学研究中治疗前和治疗后的…
符号检验是一种非参数方法,用于评估来自配对样本的简单随机数据、名义数据或关于总体中位数的主张。
它根据预设的假设将数据转化为正号和负号,并评估每种符号的总频数之间的差异是否具有统计学显著性。
符号检验的零假设认为总体特征与所声称的内容一致,而备择假设则表明相反情况。
对于总符号数不超过25的数据集,检验统计量(用x表示)对应于较不频繁符号的数量。
当总数超过 25 时,需计算以 z 表示的检验统计量。
使用特定的表格来确定临界值。如果检验统计量的值小于或等于临界值,则拒绝原假设;否则,无法拒绝原假设。
View the full transcript and gain access to JoVE Core videos
Q1: What is the sign test and when should you use it?
The sign test is a nonparametric method for evaluating claims about matched pairs, nominal data, or population median assertions. It transforms data into positive and negative signs based on predetermined assumptions and assesses whether the difference in sign counts is statistically significant. This test is particularly valuable when data does not conform to normal distribution requirements.
Q2: How do you assign signs to data in a sign test?
For each pair of observations, compare their values: assign a plus sign if sample A exceeds sample B, a minus sign if sample A is less than sample B, and discard the pair if values are equal. Count the resulting positive and negative signs to proceed with the test. This straightforward approach avoids assumptions about data distribution.
Q3: What is the null hypothesis in a sign test?
The null hypothesis proposes that population characteristics align with the claims being tested, such as no difference in medians between two populations. The alternative hypothesis suggests the opposite. If a predominance of one sign over the other emerges, it may indicate a statistically significant effect contradicting the null hypothesis.
Q4: How does sample size affect the sign test statistic calculation?
For datasets with 25 or fewer observations, the test statistic (x) represents the count of the less frequent sign. For larger datasets exceeding 25 observations, a z-score is computed instead. Both approaches facilitate comparison against critical values from statistical tables to determine significance.
Q5: When do you reject the null hypothesis in a sign test?
The null hypothesis is rejected if the test statistic value is less than or equal to the critical value obtained from statistical tables. If the test statistic exceeds the critical value, there is insufficient evidence to reject the null hypothesis, indicating no statistically significant difference.
Q6: What is a practical example of sign test application?
Researchers might employ the sign test to evaluate pre- and post-treatment effects in a medical study, determining whether treatment correlates with improvement (positive sign) or deterioration (negative sign) in patient outcomes. This application demonstrates how the sign test assesses directional changes without requiring distributional assumptions.
Q7: How does the sign test compare to other nonparametric alternatives?
The sign test offers a simpler approach than alternatives like the wilcoxon signed ranks test for matched pairs, which incorporates magnitude information. The sign test focuses solely on direction of change, making it more robust for ordinal data or when exact values are unreliable, though potentially less powerful statistically.