# Moses test of extreme reactions (/docs/analyses/moses-test)



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

Use the Moses test when you care about the range of scores in two groups, not the typical score. It trims a fraction of each group’s extremes and then compares the spans.

## Assumptions [#assumptions]

Exactly two groups. Each group needs at least two scores. Trim fraction starts at 0.05 and must sit between 0 and 0.25.

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

<Steps>
  <Step>
    Analyze → Nonparametric Tests → Moses. In chat: “Moses test of score by method.”
  </Step>

  <Step>
    Group column must have two levels. Value column is the score.
  </Step>
</Steps>

## Options [#options]

<TypeTable
  type="{
  group_column: { type: 'string', description: 'Exactly two groups.' },
  value_column: { type: 'string', description: 'Score whose range is compared.' },
  trim_fraction: {
    type: 'number',
    description: 'Fraction of extremes trimmed from each group.',
    default: '0.05',
  },
  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]

The same two similar tutorial groups, asking whether one group has more extreme scores than the other.

Moses test of extreme reaction for `score` by `group`. Metrics: S statistic = 70; p-value = .500; Range ratio = 1.29; Range group 1 = 37.8; Range group 2 = 29.3.

The span after trimming is 70 and p = .500. The two groups do not differ in extreme reactions. That is the expected result for two samples drawn from the same spread.

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

A Moses test of extreme reactions comparing score in groups A and B was not significant, S = 70, p = .500. The groups did not differ in spread.

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

Analyze → Nonparametric Tests → Moses. SPSS prints a significance for the span. Tensr reports the span S, the p-value, and the two ranges.
