# Sign test (/docs/analyses/sign-test)



## When to use it [#when-to-use-it]

Use the sign test when you only care whether each pair went up or down. It is the simpler alternative to the [Wilcoxon signed-rank test](/docs/analyses/wilcoxon-signed-rank) and the [paired t-test](/docs/analyses/ttest-paired).

## Assumptions [#assumptions]

Each row is one pair. Ties (no change) are counted and then set aside.

## Running it in Tensr [#running-it-in-tensr]

<Steps>
  <Step>
    Analyze → Nonparametric Tests → Related Samples. In chat: “Sign test of before and after.”
  </Step>

  <Step>
    Before column and after column are the two measurements.
  </Step>
</Steps>

## Options [#options]

<TypeTable
  type="{
  before_column: { type: 'string', description: 'First measurement.' },
  after_column: { type: 'string', description: 'Second measurement from the same cases.' },
  decimal_places: {
    type: '0–6',
    description: 'Report output. Decimal places.',
    default: '3',
  },
  apa_format: {
    type: 'boolean',
    description: 'Report output. APA-style p-values.',
    default: 'true',
  },
  include_charts: {
    type: 'boolean',
    description: 'Report output. Shared chart switch.',
    default: 'true',
  },
}"
/>

## Reading the output [#reading-the-output]

A second set of 48 pairs whose true change is about zero. The sign test only counts who went up and who went down.

Sign test comparing `before_ns` and `after_ns`, n = 48 pairs. The primary result is not significant (p = .471). This is not large enough to treat the comparison this page is about as a reliable association. The result is non-significant: the data are still compatible with no effect. Metrics: Positive diffs = 27; Negative diffs = 21; p-value = .471.

## Reporting (APA 7) [#reporting-apa-7]

Sign test comparing `before_ns` and `after_ns`, n = 48 pairs. This result is not significant (p = .471). Report the estimate with that p, and do not describe the pattern as a reliable effect.

## Coming from SPSS [#coming-from-spss]

Analyze → Nonparametric Tests → Related Samples.
