Statistical Methods

Test a Prespecified Order Across Complete Repeated Conditions

Define the research task

Use an ordered-block test when the research hypothesis specifies an increasing sequence across at least three conditions before outcomes are examined. For example, a synthetic assay study might predict increasing response across three ordered settings measured in every block. Do not sort conditions by their observed means: that turns an advance prediction into a data-selected result. An omnibus repeated-condition comparison answers a different question.

Work through the check

  1. Write the intended order and its scientific rationale before calculation.
  2. Place independent blocks in rows and conditions in that fixed column order.
  3. Require complete rows. This teaching tool rejects within-row ties rather than applying an unjustified untied calibration.
  4. Rank observations within each block and multiply each condition rank sum by its predicted rank.
  5. Interpret the upper-tail permutation probability only under within-block exchangeability under the null. Preserve the original values for effect-size interpretation.
Keep fixedReason
Condition orderAvoid a post hoc directional claim
Complete blocksPreserve paired structure
Missingness ruleAvoid changing the analysis silently

Hypothetical example and reporting

For hypothetical rows [1,2,3] and [2,4,6], both within-row rank vectors are [1,2,3]. L = 2×(1²+2²+3²) = 28. Under independent permutations of three untied conditions in two blocks, there are 6² = 36 equally likely assignments and only one reaches L = 28. The upper-tail probability is 1/36. This small example illustrates the null calculation; it does not establish a clinically meaningful dose response.

Source and verification

Method checked 27 November 2026 against SciPy primary documentation: stats.page_trend_test. Examples are synthetic; this page does not assert human expert approval.

Open the exact page ordered-trend audit.

Download the editable plain-text worksheet.

Related reading

Reading path: Analyze data. Guide 233 of 242. Choose any guide to suit your project.

Statistical Methods

Check State Probabilities Across Repeated Model Cycles

Practical steps and a hypothetical example: Propagate a stated distribution through fixed transition probabilities.

Statistical Methods

Assess Distributional Sensitivity Before Bartlett\u2019s Variance Test

Practical steps and a worked example: Keep a normal-theory variance comparison separate from robust spread checks.

Browse this reading pathTools for this stageGuides and downloads for this stage