Dulranga's Notes
Semester 3MathematicsApplied Statistics

Why Alpha and Beta Inverse in Hypothesis errors

Disclaimer: Gemini Response

To understand why α\alpha and β\beta are inversely related and how β\beta is calculated, it helps to picture two overlapping bell curves:

  1. The Null Distribution (assuming H0H_0 is true).
  2. The Alternative Distribution (assuming a specific true effect size exists, HAH_A).

α\alpha and β\beta are inversely related because they are separated by a single decision threshold (the critical value line) on your measurement scale.

  • α\alpha (Type I Error) is the area under the Null Curve that falls past the critical line into the "Reject H0H_0" region.
  • β\beta (Type II Error) is the area under the Alternative Curve that falls behind the critical line into the "Fail to Reject H0H_0" region.
               [ Null Distribution (H0) ]            [ Alternative Distribution (HA) ]
                          |                                     |
                          |        Critical Threshold           |
                          |                 |                   |
                        ____                |                 ____
                       /    \               |                /    \
                      /      \              |               /      \
                     /        \  Alpha (α)  |   Beta (β)   /        \
                    /          \   [--->]   |   [<---]    /          \
                  --------------------------+--------------------------
                                            |
                                      Move line Left:  α ↑ , β ↓
                                      Move line Right: α ↓ , β ↑

The Mechanism

  • If you want to strictly avoid Type I errors, you make it harder to reject H0H_0. You lower α\alpha (e.g., from 0.050.05 to 0.010.01). This shifts the critical line to the right.
  • By shifting the line right, you shrink the α\alpha tail on the Null distribution—but you expand the area captured under the Alternative curve on the non-rejection side. Thus, β\beta increases.
  • Conversely, if you make it easier to reject H0H_0 by increasing α\alpha, you move the line to the left, which shrinks the non-rejection area under the Alternative curve, so β\beta decreases.

Note: They do not necessarily sum to 11 (e.g., α=0.05\alpha = 0.05 does not mean β=0.95\beta = 0.95). Their exact mathematical balance depends on sample size (nn), population variance (σ\sigma), and the true effect size.

2. How β\beta is Calculated

Calculating β\beta requires knowing or assuming a specific true alternative value (μA\mu_A) for the population parameter, as well as the sample size (nn), population standard deviation (σ\sigma), and significance level (α\alpha).

It is computed in a 4-step process:

Step 1: Define the Hypotheses and Parameters

Assume a right-tailed Z-test:

  • H0H_0: μ=μ0\mu = \mu_0 (e.g., 100100)

  • HAH_A: μ=μA\mu = \mu_A (e.g., a specific true mean, like 105105)

  • Standard Error (SESE) = σn\frac{\sigma}{\sqrt{n}}

Step 2: Find the Critical Value (xˉcrit\bar{x}_{\text{crit}}) under H0H_0

Find the cutoff sample mean that corresponds to your chosen α\alpha on the null distribution:

xˉcrit=μ0+Zα⋅(σn)\bar{x}_{\text{crit}} = \mu_0 + Z_{\alpha} \cdot \left(\frac{\sigma}{\sqrt{n}}\right)

(Any sample mean xˉ>xˉcrit\bar{x} > \bar{x}_{\text{crit}} leads to rejecting H0H_0.)

Step 3: Standardize xˉcrit\bar{x}_{\text{crit}} relative to the True Alternative Mean (μA\mu_A)

Calculate how many standard errors xˉcrit\bar{x}_{\text{crit}} is away from the actual true mean μA\mu_A:

Zalt=xˉcrit−μAσnZ_{\text{alt}} = \frac{\bar{x}_{\text{crit}} - \mu_A}{\frac{\sigma}{\sqrt{n}}}

Step 4: Calculate the Area (β\beta)

β\beta is the probability of failing to reject H0H_0 when μ=μA\mu = \mu_A. For a right-tailed test, this is the area to the left of ZaltZ_{\text{alt}} on the standard normal distribution:

β=P(Z<Zalt)\beta = P(Z < Z_{\text{alt}})

Concrete Example

Suppose:

  • H0:μ=100H_0: \mu = 100, HA:μ=105H_A: \mu = 105

  • σ=10\sigma = 10, n=25  ⟹  SE=1025=2n = 25 \implies SE = \frac{10}{\sqrt{25}} = 2

  • Set α=0.05  ⟹  Z0.05=1.645\alpha = 0.05 \implies Z_{0.05} = 1.645

  1. Find xˉcrit\bar{x}_{\text{crit}}:
xˉcrit=100+(1.645×2)=103.29\bar{x}_{\text{crit}} = 100 + (1.645 \times 2) = 103.29
  1. Find ZaltZ_{\text{alt}} relative to μA=105\mu_A = 105:
Zalt=103.29−1052=−1.712=−0.855Z_{\text{alt}} = \frac{103.29 - 105}{2} = \frac{-1.71}{2} = -0.855
  1. Calculate β\beta using standard normal table:
β=P(Z<−0.855)≈0.1963 (or 19.63%)\beta = P(Z < -0.855) \approx 0.1963 \text{ (or } 19.63\% \text{)}

Result: With α=0.05\alpha = 0.05, there is a 19.63% chance (β\beta) of making a Type II error if the true population mean is actually 105105. The statistical power (1−β1 - \beta) would be 80.37%.

On this page