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 , a decision rule is a function that maps every possible value of the test statistic to one of two actions: reject or fail to reject . It does this by specifying a rejection region with (equal to for a continuous test statistic; discrete tests may not hit it exactly). You reject if and only if the observed statistic lies in .
Key Formula
Where:
- = Observed value of the test statistic, computed from the sample
- = Critical value that cuts off area in each tail of the standard normal curve (1.96 when )
- = p-value of the observed result
- = 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 against at . 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.
Step 2: A two-tailed test at uses . Convert the critical z-values into cutoffs on the sample-mean scale. This gives a rule the inspector can read straight off a ruler.
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.
Answer: The decision rule is: reject if or inches. The sample mean of 12.11 inches meets this condition, so you reject . 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, , 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.
