Advanced Page Trend Test Calculator

Evaluate ordered alternatives across repeated measurements with confidence. Review ranks, significance, and practical summaries instantly. Export results, inspect trends, and explain findings with clarity.

Calculator Input

Raw Data Matrix

Enter repeated measurements by block. Higher values receive higher ranks within each block.

Example Data Table

This example shows five blocks with four ordered conditions. It produces a strong increasing trend.

Block Week 1 Week 2 Week 3 Week 4
Block 110121518
Block 29111417
Block 38101316
Block 411131519
Block 5791215

Formula Used

Step 1: Rank each row of repeated measurements from smallest to largest. If ties occur, assign average ranks.

Step 2: Compute each condition rank sum as Rj = Σ rij.

Step 3: Compute Page's statistic as L = Σ xjRj, where xj are the expected scores for the ordered alternative.

Step 4: Under the null hypothesis, the calculator also reports E[L] = n(c+1)Σxj/2.

Step 5: The variance is Var(L) = n·c(c+1)·Σ(xj−x̄)2/12. An exact or approximate one-sided p-value is then returned.

Here, n is the number of blocks and c is the number of conditions. The test is designed for ordered alternatives in repeated-measure or blocked data.

How to Use This Calculator

  1. Choose the number of blocks and the number of ordered conditions.
  2. Set your alpha level and select whether the expected trend increases or decreases across conditions.
  3. Optionally enter custom expected scores if your ordering needs unequal spacing.
  4. Type the raw repeated measurements into the matrix. Each row represents one block or subject.
  5. Submit the form to view Page's L statistic, p-values, ranked data, and the Plotly graph.
  6. Use the download buttons to export the result summary as CSV or PDF.

Frequently Asked Questions

1. What does the Page trend test measure?

It checks whether repeated measurements follow a prespecified ordered pattern across conditions. The method is useful when you expect a monotonic increase or decrease rather than any arbitrary difference.

2. When should I use this calculator?

Use it for blocked or repeated-measure designs where the same subjects, items, or matched sets are observed under several ordered conditions.

3. Can I enter raw scores instead of ranks?

Yes. The calculator automatically ranks values within each block before computing the test statistic, so you can enter the original repeated measurements directly.

4. How are ties handled?

Tied values inside a block receive average ranks. That keeps the ranking fair, but ties can prevent exact enumeration, so the calculator may switch to a normal approximation.

5. Why do I sometimes get an exact p-value and sometimes an approximate one?

Exact p-values are available only when the input supports direct permutation enumeration. Otherwise, the calculator reports the asymptotic normal approximation for the one-sided test.

6. What does a small p-value mean here?

A small p-value means the observed ordering is unlikely under the null hypothesis of no ordered trend. That supports the direction you selected.

7. What do custom expected scores change?

They let you define how strongly each condition contributes to the ordered alternative. This is useful when condition spacing is not equally weighted.

8. What input sizes are supported?

This page accepts 2 to 30 blocks and 3 to 8 conditions. Exact enumeration is limited to smaller untied integer-score setups.

Related Calculators

brunner munzel testlevene test calculatorspearman rank correlation calculatorkolmogorov smirnov test calculatoriqr calculatorkernel density estimatorfisher exact test calculatorgoodman kruskal gammacramer v calculatortheil sen estimator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.