Mathwords logoMathwords

Decision Rule — Definition, Formula & Example

A decision rule is the cutoff you commit to before collecting data. It tells you which results will make you reject the null hypothesis and which will not.

For a hypothesis test at significance level α\alpha, a decision rule is a function that maps every possible value of the test statistic to one of two actions: reject H0H_0 or fail to reject H0H_0. It does this by specifying a rejection region RR with P(statistic∈R∣H0 true)≤αP(\text{statistic} \in R \mid H_0 \text{ true}) \le \alpha (equal to α\alpha for a continuous test statistic; discrete tests may not hit it exactly). You reject H0H_0 if and only if the observed statistic lies in RR.

Key Formula

Reject H0 if ∣z∣≥zα/2(equivalently, if p≤α)\text{Reject } H_0 \text{ if } |z| \ge z_{\alpha/2} \qquad \text{(equivalently, if } p \le \alpha\text{)}
Where:
  • zz = Observed value of the test statistic, computed from the sample
  • zα/2z_{\alpha/2} = Critical value that cuts off area α/2\alpha/2 in each tail of the standard normal curve (1.96 when α=0.05\alpha = 0.05)
  • pp = p-value of the observed result
  • α\alpha = Significance level, chosen before seeing the data

Worked Example

Problem: A machine cuts steel rods to a target length of 12 inches. The population standard deviation is 0.4 inches. A quality inspector plans to measure a random sample of 64 rods and run a two-tailed test of H0:μ=12H_0: \mu = 12 against Ha:μ≠12H_a: \mu \ne 12 at α=0.05\alpha = 0.05. Write the decision rule in inches before sampling. Then apply it to a sample mean of 12.11 inches.
Step 1: Find the standard error of the sample mean.
SE=σn=0.464=0.48=0.05 inSE = \frac{\sigma}{\sqrt{n}} = \frac{0.4}{\sqrt{64}} = \frac{0.4}{8} = 0.05 \text{ in}
Step 2: A two-tailed test at α=0.05\alpha = 0.05 uses z0.025=1.96z_{0.025} = 1.96. Convert the critical z-values into cutoffs on the sample-mean scale. This gives a rule the inspector can read straight off a ruler.
12−1.96(0.05)=11.902,12+1.96(0.05)=12.09812 - 1.96(0.05) = 11.902, \qquad 12 + 1.96(0.05) = 12.098
Step 3: Apply the rule to the observed mean. Since 12.11 is above 12.098, it falls in the upper rejection region. As a check, the test statistic exceeds the critical value.
z=12.11−120.05=2.2>1.96z = \frac{12.11 - 12}{0.05} = 2.2 > 1.96
Answer: The decision rule is: reject H0H_0 if xˉ<11.902\bar{x} < 11.902 or xˉ>12.098\bar{x} > 12.098 inches. The sample mean of 12.11 inches meets this condition, so you reject H0H_0. The data suggest the machine is not cutting to an average of 12 inches.

Why It Matters

In manufacturing quality control, decision rules become control limits. Operators then stop a production line only when a measurement crosses a preset boundary. In clinical trials, the FDA expects the rule to be prespecified in the trial protocol before any data are analyzed, so researchers cannot shift the cutoff to fit the results.

Common Mistakes

Mistake: Choosing a one-tailed rule after you see which direction the data went, so a result that just misses the two-tailed cutoff looks significant.
Correction: Fix the tail, α\alpha, and the rejection region before collecting data. Picking the tail after seeing the data effectively doubles your overall Type I error rate, from 0.05 to 0.10. The rule only controls error rates if you set it in advance.

Related Terms

  • Hypothesis Testing — The full procedure in which the decision rule is the final step
  • Critical Value — Sets the boundary of the rejection region
  • Test Statistic — The computed number the decision rule is applied to
  • p-value — Gives an equivalent rule by comparing p with alpha
  • Null Hypothesis — The claim the rule tells you to reject or keep
  • Standard Error — Converts z cutoffs into cutoffs in original units