Lecture 9 Large-Sample Tests of Hypotheses Part 1

1. Introduction to statistical tests of hypothesis

Statistical tests of hypothesis provide a structured framework for making decisions about population parameters based on sample data, by systematically evaluating evidence against a pre-defined null hypothesis.

1.1 Components of a statistical test of hypothesis

A statistical test of hypothesis is built upon five fundamental components that guide the decision-making process:

  • Null hypothesis (H0H_0): This is a statement of no effect or no difference, representing the status quo or a claim to be tested. It is generally the hypothesis that the researcher wishes to disprove 3.
  • Alternative hypothesis (HaH_a): This is a statement that contradicts the null hypothesis and typically represents the hypothesis the researcher aims to support. It is the focus of the investigation.
  • Test statistic and its p-value: These are calculated from the sample data to quantify the evidence against the null hypothesis. The test statistic is a single number derived from sample data, usually based on the best estimator for the parameter of interest, while the p-value is the probability of observing a test statistic as extreme as, or more extreme than, the one computed from the sample, assuming the null hypothesis is true.
  • Significance level and the rejection region: The significance level (α\alpha) is a pre-determined probability of incorrectly rejecting a true null hypothesis, setting a threshold for decision-making. The rejection region encompasses the values of the test statistic for which the null hypothesis is rejected.
  • Conclusion: Based on the comparison of the test statistic or p-value with the rejection region or significance level, a decision is made to either reject the null hypothesis (concluding that the alternative hypothesis is supported) or fail to reject the null hypothesis.

Note: The process begins by assuming the null hypothesis (H0H_0) is true. The sample data is then used to determine if there is sufficient evidence to reject H0H_0 in favor of the alternative hypothesis (HaH_a).

1.2 Null and alternative hypotheses

The null and alternative hypotheses are competing statements about a population parameter. The alternative hypothesis is typically what the researcher wants to demonstrate, while the null hypothesis is its direct contradiction 4.

  • Null Hypothesis (H0H_0): This is the statement of no effect or no difference. It is assumed to be true at the outset of the test.
  • Alternative Hypothesis (HaH_a): This is the statement that the researcher wishes to find evidence for.

1.2.1 Types of alternative hypotheses

Alternative hypotheses can be directional or non-directional, leading to different types of hypothesis tests:

  • Two-tailed test: Used when the alternative hypothesis states that the parameter is simply different from a specific value. For example, Ha:μ≠21H_a: \mu \neq 21 indicates that the researcher is interested in detecting if the mean is either greater than or less than 21.
  • One-tailed test: Used when the alternative hypothesis specifies a direction of the difference.
    • Left-tailed test: Used when the alternative hypothesis suggests the parameter is less than a specific value. For example, Ha:p<0.03H_a: p < 0.03 indicates the researcher wants to show that the proportion of defectives is lower than 0.03 9.
    • Right-tailed test: Used when the alternative hypothesis suggests the parameter is greater than a specific value. For example, Ha:μ>21H_a: \mu > 21 would be used if the researcher wanted to show that the average hourly wage is higher than 21 dollars.

Example 1: Testing if the average hourly wage of electricians in California is different from the national average of 21 dollars.

  • H0:μ=21H_0: \mu = 21
  • Ha:μ≠21H_a: \mu \neq 21 (This is a two-tailed test) 6.

Example 2: Investigating if a machine adjustment decreases the proportion of defectives from the current 3%.

  • H0:p=0.03H_0: p = 0.03
  • Ha:p<0.03H_a: p < 0.03 (This is a left-tailed test) 7.

1.3 Test statistic and p-value

To decide whether to reject or accept the null hypothesis, information from a sample is used, primarily the test statistic and its corresponding p-value 10.

1.3.1 Test statistic

The test statistic is a single numerical value computed from the sample data. It measures how far the sample result deviates from what is expected under the null hypothesis. It is typically calculated using the best available estimator for the population parameter being tested.

Example: In testing the mean wage of electricians, if the population mean is hypothesized to be μ=21\mu = 21, and a sample yields a mean of xˉ=22\bar{x} = 22 with a standard deviation s=2s = 2 from n=100n=100 electricians, the test statistic is calculated by standardizing the sample mean. Assuming the Central Limit Theorem applies (xˉ\bar{x} follows a normal distribution for n>30n>30), the standard error of xˉ\bar{x} is σxˉ=sn=2100=0.2\sigma_{\bar{x}} = \frac{s}{\sqrt{n}} = \frac{2}{\sqrt{100}} = 0.2. The test statistic (z-score) is then: z=xˉ−μσxˉ=22−210.2=10.2=5z = \frac{\bar{x} - \mu}{\sigma_{\bar{x}}} = \frac{22 - 21}{0.2} = \frac{1}{0.2} = 5 12 13. This z-score of 5 indicates that the sample mean is 5 standard errors above the hypothesized population mean.

1.3.2 P-value

The p-value is the probability of obtaining a test statistic that is at least as extreme as the one observed from the sample, assuming the null hypothesis is true. It quantifies the evidence against the null hypothesis.

  • A small p-value indicates strong evidence against the null hypothesis.
  • A large p-value indicates weak evidence against the null hypothesis.

Example (continued): For the two-tailed test (Ha:μ≠21H_a: \mu \neq 21), an observed sample mean of xˉ=22\bar{x} = 22 is 5 standard errors above the hypothesized mean. An equally "unlikely" outcome would be a sample mean 5 standard errors below the hypothesized mean. Therefore, the p-value is calculated as the sum of the probabilities of observing a z-score greater than 5 and a z-score less than -5. p-value=P(z>5)+P(z<−5)p\text{-value} = P(z > 5) + P(z < -5) This probability is extremely small, approximately 0, indicating that observing a sample mean of 22 or something more extreme is highly improbable if the true mean wage is 21 dollars 14.

1.4 Significance level and rejection region

The significance level and rejection region are crucial for making a definitive decision in a hypothesis test.

1.4.1 Significance level (α\alpha)

The significance level, denoted by α\alpha, is the probability of committing a Type I error, which is rejecting the null hypothesis when it is actually true 16.

  • It is chosen before conducting the test.
  • Commonly used values for α\alpha are 0.05 (5%), 0.01 (1%), or 0.10 (10%).
  • The value of α\alpha represents the maximum acceptable risk of incorrectly rejecting H0H_0. A lower α\alpha means a lower risk of a Type I error, but it also increases the risk of a Type II error (failing to reject H0H_0 when it is false).

1.4.2 Rejection region

The rejection region is the set of values for the test statistic that leads to the rejection of the null hypothesis. It is determined by the significance level (α\alpha) and the type of test (one-tailed or two-tailed) 17.

  • Two-tailed test: The rejection region is split into two tails of the distribution.
  • Left-tailed test: The rejection region is in the left tail of the distribution.
  • Right-tailed test: The rejection region is in the right tail of the distribution.

Decision Rule:

  • If the calculated p-value is less than or equal to the significance level (α\alpha), then reject H0H_0.
  • If the calculated p-value is greater than the significance level (α\alpha), then do not reject H0H_0.

Alternatively, using the rejection region:

  • If the test statistic falls within the rejection region, reject H0H_0.
  • If the test statistic does not fall within the rejection region, do not reject H0H_0.

Example: If α=0.05\alpha = 0.05 for a two-tailed test, the rejection region would include values of the test statistic that are sufficiently extreme in either the left or right tail, such that the total area in these tails is 0.05. For a standard normal distribution, this would typically be z<−1.96z < -1.96 or z>1.96z > 1.96. If the calculated test statistic falls in these regions, H0H_0 would be rejected. 18 19.

1.5 Drawing conclusions from a hypothesis test

The ultimate goal of a statistical test of hypothesis is to make a decision based on the sample evidence.

  • Reject H0H_0: If the evidence from the sample data is strong enough (i.e., the p-value is small or the test statistic falls in the rejection region), the researcher concludes that there is sufficient evidence to support the alternative hypothesis (HaH_a).
  • Do not reject H0H_0: If the evidence is not strong enough, the researcher concludes that there is insufficient evidence to reject the null hypothesis (H0H_0). It is important to note that "do not reject H0H_0" does not mean that H0H_0 is true; it simply means that the data did not provide enough evidence to reject it.

Tip: Always state your conclusions in the context of the problem. For instance, instead of saying "Reject H0H_0", state "We reject the null hypothesis and conclude that the average hourly wage of electricians in California is different from 21 dollars." 5.

2. Large-sample tests for a population mean

This section outlines the methodology for conducting statistical tests on a population mean when dealing with large sample sizes.

2.1 The essentials of the test

Large-sample tests for a population mean are based on the principle that if the null hypothesis is true, the sample mean should be close to the hypothesized population mean (μ0\mu_0). Deviations of the sample mean (xˉ\bar{x}) from μ0\mu_0 are assessed using a test statistic that follows an approximate standard normal distribution.

2.1.1 Null and alternative hypotheses

The process begins with defining the null hypothesis (H0H_0) and the alternative hypothesis (HaH_a).

  • Null Hypothesis (H0H_0): This is a statement of no effect or no difference, typically positing that the population mean is equal to a specific value (μ0\mu_0).
    • Form: H0:μ=μ0H_0: \mu = \mu_0
  • Alternative Hypothesis (HaH_a): This is the statement that the researcher is trying to find evidence for. It can be directional (greater than or less than) or non-directional (not equal to).
    • One-tailed test:
      • Ha:μ>μ0H_a: \mu > \mu_0 (right-tailed)
      • Ha:μ<μ0H_a: \mu < \mu_0 (left-tailed)
    • Two-tailed test:
      • Ha:μ≠μ0H_a: \mu \neq \mu_0

2.1.2 Test statistic

For large samples, the sample mean (xˉ\bar{x}) is approximately normally distributed when the null hypothesis is true. The test statistic quantifies how many standard deviations the observed sample mean is from the hypothesized population mean. It is calculated using the sample mean, the hypothesized population mean, and an estimate of the population standard deviation. If the population standard deviation (σ\sigma) is unknown, the sample standard deviation (ss) is used as an estimate.

The test statistic is a z-score: z=xˉ−μ0s/nz = \frac{\bar{x} - \mu_0}{s / \sqrt{n}} Where:

  • xˉ\bar{x} is the sample mean.
  • μ0\mu_0 is the hypothesized population mean under the null hypothesis.
  • ss is the sample standard deviation.
  • nn is the sample size.

This test statistic, zz, approximately follows a standard normal distribution when H0H_0 is true and nn is large 23.

Note: The sample mean xˉ\bar{x} is the best point estimate for the population mean μ\mu. When H0H_0 is true (μ=μ0\mu = \mu_0), xˉ\bar{x} is expected to be close to μ0\mu_0. Significant deviations suggest HaH_a might be true 22.

2.1.3 Rejection region

The rejection region consists of values of the test statistic that are unlikely to occur if the null hypothesis is true. These values provide sufficient evidence to reject H0H_0 in favor of HaH_a. The size of the rejection region is determined by the significance level, α\alpha.

  • Significance Level (α\alpha): The probability of rejecting H0H_0 when it is actually true.
  • Critical Value: The value of zz that separates the rejection region from the non-rejection region. It is denoted as zαz_\alpha for one-tailed tests and zα/2z_{\alpha/2} for two-tailed tests.

The rejection region is defined as follows 31:

  • One-tailed test (Right-tailed, Ha:μ>μ0H_a: \mu > \mu_0): Reject H0H_0 if z>zαz > z_\alpha.
  • One-tailed test (Left-tailed, Ha:μ<μ0H_a: \mu < \mu_0): Reject H0H_0 if z<−zαz < -z_\alpha.
  • Two-tailed test (Ha:μ≠μ0H_a: \mu \neq \mu_0): Reject H0H_0 if z>zα/2z > z_{\alpha/2} or z<−zα/2z < -z_{\alpha/2}.

The critical value zαz_\alpha is the value that cuts off an area of α\alpha in the tail of the standard normal distribution 24.

Example: For a significance level of α=0.01\alpha = 0.01 in a right-tailed test, the critical value is z0.01=2.33z_{0.01} = 2.33. Thus, we reject H0H_0 if our calculated zz-statistic is greater than 2.33.

2.1.4 Assumptions for large-sample tests

For large-sample tests concerning a population mean to be valid, the following assumptions must be met:

  • Random Sampling: The nn observations in the sample must be randomly selected from the population.
  • Large Sample Size: The sample size (nn) must be sufficiently large. A common guideline is n≥30n \ge 30 32.

2.2 Example: Testing for higher average weekly earnings

Consider a scenario where we want to test if the average weekly earnings for male social workers are higher than the average for female social workers.

  • Given:

    • Average weekly earnings for female social workers: 670 euros.
    • Sample of n=40n = 40 male social workers.
    • Sample mean earnings for males (xˉ\bar{x}): 725 euros.
    • Sample standard deviation (ss): 102 euros.
    • Significance level (α\alpha): 0.01.
  • Steps:

    1. Null and Alternative Hypotheses:
      • H0:μ=670H_0: \mu = 670
      • Ha:μ>670H_a: \mu > 670 (We want to show men's earnings are higher) 26.
    2. Test Statistic: z=725−670102/40=55102/6.3246≈5516.127≈3.41z = \frac{725 - 670}{102 / \sqrt{40}} = \frac{55}{102 / 6.3246} \approx \frac{55}{16.127} \approx 3.41
    3. Rejection Region: For α=0.01\alpha = 0.01 in a right-tailed test, the critical value is z0.01=2.33z_{0.01} = 2.33. The rejection region is z>2.33z > 2.33.
    4. Conclusion: Since the calculated test statistic (z=3.41z = 3.41) is greater than the critical value (2.332.33), we reject the null hypothesis (H0H_0). This indicates that the average weekly earnings for male social workers are statistically higher than the average for female social workers. The probability of making an incorrect decision (Type I error) is α=0.01\alpha = 0.01 27 28.

Important: When performing these tests, it is crucial to use full currency names (e.g., "euros", "USD", "pounds") and never currency symbols. For instance, use "725 euros", not "EUR 725".

2.3 Summary table of large-sample tests for μ\mu

The following table summarizes the key components of a large-sample statistical test for a population mean:

ComponentOne-Tailed Test (Ha:μ>μ0H_a: \mu > \mu_0)One-Tailed Test (Ha:μ<μ0H_a: \mu < \mu_0)Two-Tailed Test (Ha:μ≠μ0H_a: \mu \neq \mu_0)
Null HypothesisH0:μ=μ0H_0: \mu = \mu_0H0:μ=μ0H_0: \mu = \mu_0H0:μ=μ0H_0: \mu = \mu_0
Alternative HypothesisHa:μ>μ0H_a: \mu > \mu_0Ha:μ<μ0H_a: \mu < \mu_0Ha:μ≠μ0H_a: \mu \neq \mu_0
Test Statisticz=xˉ−μ0s/nz = \frac{\bar{x} - \mu_0}{s / \sqrt{n}}z=xˉ−μ0s/nz = \frac{\bar{x} - \mu_0}{s / \sqrt{n}}z=xˉ−μ0s/nz = \frac{\bar{x} - \mu_0}{s / \sqrt{n}}
Rejection Regionz>zαz > z_\alphaz<−zαz < -z_\alphaz>zα/2z > z_{\alpha/2} or z<−zα/2z < -z_{\alpha/2}
Assumptionsn≥30n \ge 30, random samplen≥30n \ge 30, random samplen≥30n \ge 30, random sample

3. Calculating and interpreting p-values

The p-value serves as a crucial metric in hypothesis testing, representing the smallest significance level at which the null hypothesis can be rejected and quantifying the evidence against it.

3.1 Understanding the p-value

The p-value, also known as the observed significance level, is defined as the smallest significance level (α\alpha) at which the null hypothesis (H0H_0) can be rejected. It quantifies the actual risk of committing a Type I error if H0H_0 is rejected based on the observed value of the test statistic. The p-value is a measure of the strength of evidence against the null hypothesis; a smaller p-value indicates stronger evidence against H0H_0 35.

Important: In contrast to fixed significance levels (α\alpha), which are determined before the test, the p-value is calculated from the observed data. Using a p-value avoids ambiguity in conclusions, as different significance levels might lead to different outcomes 34.

3.2 Calculating the p-value

The calculation of the p-value depends on the type of hypothesis test (one-tailed or two-tailed) and the calculated test statistic.

3.2.1 Two-tailed tests

For a two-tailed test, the p-value is the sum of the probabilities of observing a test statistic as extreme or more extreme than the one obtained, in both tails of the distribution. If the calculated test statistic is zz, the p-value is given by P(Z>∣z∣)P(Z > |z|) or P(Z<−∣z∣)P(Z < -|z|), which is equivalent to P(Z>∣z∣)+P(Z<−∣z∣)P(Z > |z|) + P(Z < -|z|). Notably, this is twice the tail area corresponding to the calculated test statistic.

3.2.2 One-tailed tests

For a one-tailed test, the p-value is the probability of observing a test statistic as extreme or more extreme than the one obtained, in the direction specified by the alternative hypothesis (HaH_a). For instance, if the alternative hypothesis is Ha:μ>μ0H_a: \mu > \mu_0, the p-value is P(Z≥z)P(Z \ge z), where zz is the calculated test statistic.

Example Calculation (Two-tailed test): Suppose a sample of n=50n=50 days yields an average yield (xˉ\bar{x}) of 871 tons with a standard deviation (ss) of 21 tons, and the hypothesized population mean (μ\mu) is 880 tons. For a two-tailed test, the test statistic zz is calculated as: z=xˉ−μs/n=871−88021/50≈−3.03z = \frac{\bar{x} - \mu}{s/\sqrt{n}} = \frac{871 - 880}{21/\sqrt{50}} \approx -3.03 The p-value is then: p-value = P(z>3.03)+P(z<−3.03)≈(1−0.9988)+0.0012=0.0024P(z > 3.03) + P(z < -3.03) \approx (1 - 0.9988) + 0.0012 = 0.0024 41.

Example Calculation (One-tailed test): Consider a scenario where the hypothesized mean sodium intake (μ\mu) is 3300 milligrams, and a sample of n=100n=100 Americans has a mean intake (xˉ\bar{x}) of 3400 mg with a standard deviation (ss) of 1100 mg. For the alternative hypothesis Ha:μ>3300H_a: \mu > 3300, the test statistic zz is: z=xˉ−μs/n=3400−33001100/100=100110≈0.91z = \frac{\bar{x} - \mu}{s/\sqrt{n}} = \frac{3400 - 3300}{1100/\sqrt{100}} = \frac{100}{110} \approx 0.91 The p-value for this one-tailed test is: p-value = P(z≥0.91)=1−P(z<0.91)≈1−0.8186=0.1814P(z \ge 0.91) = 1 - P(z < 0.91) \approx 1 - 0.8186 = 0.1814.

3.3 Interpreting the p-value

Interpreting the p-value involves comparing it to a preassigned significance level (α\alpha) to make a decision about the null hypothesis. The p-value can also be used to classify the strength of the evidence against H0H_0.

3.3.1 Decision Rule

The fundamental rule for decision-making based on the p-value is:

  • If the p-value ≤α\le \alpha, reject the null hypothesis (H0H_0). The results are considered statistically significant at the α\alpha level.
  • If the p-value >α> \alpha, do not reject the null hypothesis (H0H_0). The results are not statistically significant at the α\alpha level 39.

3.3.2 Classification of results

A common "sliding scale" can be used to classify the strength of evidence based on the p-value:

p-value RangeDecision on H0H_0Significance Level
p-value < 0.01RejectHighly significant
0.01 ≤\le p-value < 0.05RejectStatistically significant
0.05 ≤\le p-value < 0.10Usually not rejectedTending toward statistical significance
p-value ≥\ge 0.10Not rejectedNot statistically significant

Note on Interpretation: A small p-value indicates that the observed test statistic is far from the hypothesized value, suggesting strong evidence against H0H_0. Conversely, a large p-value suggests that the observed test statistic is close to the hypothesized mean, providing little support for rejecting H0H_0 38.

3.3.3 Advantages of the p-value approach

The p-value approach offers several advantages:

  • Universal Reporting: Statistical software packages commonly report the p-value, making it a standard output.
  • Flexibility in Significance Level: Researchers can evaluate their results using any desired significance level after the test is conducted. This allows for reporting the smallest significance level at which the results are statistically significant 48.

Example Interpretation (using Example 9.6): The calculated p-value was 0.0024. If a significance level of α=0.01\alpha = 0.01 or α=0.05\alpha = 0.05 was preassigned, since 0.0024≤0.010.0024 \le 0.01 and 0.0024≤0.050.0024 \le 0.05, the null hypothesis would be rejected at either level. This indicates highly significant results 42.

Example Interpretation (using Example 9.7): The calculated p-value was 0.1814. With a significance level of α=0.05\alpha = 0.05, since 0.1814>0.050.1814 > 0.05, the null hypothesis is not rejected. The results are not statistically significant, and there is insufficient evidence to conclude that the average daily sodium intake exceeds 3300 mg 47.

4. Types of errors and statistical test power

This section delves into the fundamental concepts of errors encountered in hypothesis testing and the power of a statistical test to correctly identify a false null hypothesis.

4.1 Two types of errors in hypothesis testing

In hypothesis testing, two types of errors can occur: Type I and Type II errors. These errors arise from the decisions made based on sample data, which may not perfectly reflect the true population parameters.

4.1.1 Type I error

A Type I error occurs when the null hypothesis (H0H_0) is rejected, even though it is actually true. The probability of committing a Type I error is denoted by the Greek letter alpha (α\alpha). This α\alpha value is often referred to as the significance level of the test.

4.1.2 Type II error

A Type II error occurs when the null hypothesis (H0H_0) is accepted (or, more accurately, not rejected) when it is false, and an alternative hypothesis (HaH_a) is actually true. The probability of committing a Type II error is denoted by the Greek letter beta (β\beta).

Note: The decisions made in hypothesis testing can be summarized in a decision table, which illustrates the relationship between the true state of the null hypothesis and the decision made based on the test results.

A conceptual framework for understanding these errors can be presented as follows:

True State of H0H_0Decision: Reject H0H_0Decision: Fail to Reject H0H_0
H0H_0 is TrueType I Error (probability α\alpha)Correct Decision (probability 1−α1-\alpha)
H0H_0 is FalseCorrect Decision (probability 1−β1-\beta)Type II Error (probability β\beta)

4.2 The power of a statistical test

The power of a statistical test is a crucial measure of its effectiveness. It quantizes the test's ability to correctly detect a false null hypothesis.

4.2.1 Definition of statistical test power

The power of a statistical test is defined as the probability of correctly rejecting the null hypothesis (H0H_0) when the alternative hypothesis (HaH_a) is true. Mathematically, it is expressed as:

Power=1−βPower = 1 - \beta

where β\beta is the probability of a Type II error. Therefore, the power represents the probability of not making a Type II error.

Important: A high power is desirable in a statistical test, as it indicates a greater likelihood of detecting a true effect or difference when one exists. Ideally, researchers aim for both a low α\alpha (to minimize Type I errors) and a high power (to minimize Type II errors).

4.2.2 Power curve

A power curve is a graphical representation that illustrates the power of a statistical test as a function of the true value of the parameter being tested. Specifically, it plots 1−β1 - \beta against the actual value of the parameter of interest. The power curve visually demonstrates how the probability of rejecting a false H0H_0 changes as the true parameter value deviates further from the value specified in the null hypothesis.

4.2.3 Example of calculating test power

Consider a scenario where a chemical plant's average daily yield has historically been 880 tons. A quality control manager wants to test if this average has changed. A random sample of 50 days yields an average of xˉ=871\bar{x} = 871 tons and a standard deviation of s=21s = 21 tons. We want to calculate the power of the test if the true mean yield is actually 870 tons.

Let the null hypothesis be H0:μ=880H_0: \mu = 880 tons and the alternative hypothesis be Ha:μ≠880H_a: \mu \neq 880 tons. For this example, let's assume a significance level α=0.05\alpha = 0.05.

  1. Determine the critical values for the rejection region: Assuming a two-tailed test with α=0.05\alpha = 0.05, the critical z-values are approximately ±1.96\pm 1.96. The test statistic is calculated as z=xˉ−μ0s/nz = \frac{\bar{x} - \mu_0}{s/\sqrt{n}}. For the rejection region:

    • Lower critical value for xˉ\bar{x}: μ0−zα/2sn=880−1.962150≈880−5.82=874.18\mu_0 - z_{\alpha/2} \frac{s}{\sqrt{n}} = 880 - 1.96 \frac{21}{\sqrt{50}} \approx 880 - 5.82 = 874.18
    • Upper critical value for xˉ\bar{x}: μ0+zα/2sn=880+1.962150≈880+5.82=885.82\mu_0 + z_{\alpha/2} \frac{s}{\sqrt{n}} = 880 + 1.96 \frac{21}{\sqrt{50}} \approx 880 + 5.82 = 885.82 Thus, the rejection region for xˉ\bar{x} is xˉ<874.18\bar{x} < 874.18 or xˉ>885.82\bar{x} > 885.82.
  2. Calculate β\beta (probability of Type II error) when the true mean is μ=870\mu = 870: If the true mean is 870 tons, the sampling distribution of xˉ\bar{x} is centered at 870. We need to find the probability of failing to reject H0H_0 (i.e., xˉ\bar{x} falling within the acceptance region [874.18, 885.82]) under this new distribution.

    • Calculate the z-scores corresponding to the acceptance region boundaries using the true mean of 870:
      • z1=874.18−87021/50≈4.182.97≈1.41z_1 = \frac{874.18 - 870}{21/\sqrt{50}} \approx \frac{4.18}{2.97} \approx 1.41
      • z2=885.82−87021/50≈15.822.97≈5.33z_2 = \frac{885.82 - 870}{21/\sqrt{50}} \approx \frac{15.82}{2.97} \approx 5.33
    • The probability of xˉ\bar{x} falling in the acceptance region when μ=870\mu=870 is β=P(874.18≤xˉ≤885.82∣μ=870)\beta = P(874.18 \le \bar{x} \le 885.82 \mid \mu=870). This corresponds to P(1.41≤z≤5.33)P(1.41 \le z \le 5.33).
    • Using a standard normal distribution table, P(z≤5.33)P(z \le 5.33) is very close to 1. P(z≤1.41)≈0.9207P(z \le 1.41) \approx 0.9207.
    • Therefore, β=P(z>1.41)=1−P(z≤1.41)≈1−0.9207=0.0793\beta = P(z > 1.41) = 1 - P(z \le 1.41) \approx 1 - 0.9207 = 0.0793.
  3. Calculate the power of the test: The power is 1−β1 - \beta.

    • Power =1−0.0793=0.9207= 1 - 0.0793 = 0.9207.

Example Interpretation: This means that if the true average daily yield of the chemical plant is indeed 870 tons, there is approximately a 92.07% chance that the statistical test will correctly reject the null hypothesis that the average is 880 tons.

Remember: The power of a test is influenced by several factors, including the sample size (nn), the significance level (α\alpha), the true effect size (the difference between the true parameter value and the hypothesized value), and the variability in the data (standard deviation). Increasing the sample size or the significance level generally increases the power of the test, while increasing the effect size also increases power.

Common mistakes to avoid

  • Review all topics thoroughly before exams
  • Pay attention to formulas and key definitions
  • Practice with examples provided in each section
  • Don't memorize without understanding the underlying concepts

© 2026 Maeve. All rights reserved. This content is protected by copyright.

See also