Unit-IV: Sampling Theory and Large Sample Tests
Standard Error of Sample Mean
In statistics, when we draw multiple random samples of size n from a population, the sample means (x̄) will vary from sample to sample. The standard deviation of the sampling distribution of a statistic is known as its standard error (SE).
The standard error of the sample mean measures the statistical accuracy of an estimate and quantifies the amount of error expected in our estimate of a population mean.
For a population with standard deviation σ, the standard error of the sample mean (SE(x̄)) depends on whether sampling is done with or without replacement from a finite or infinite population.
- Infinite Population or Sampling with Replacement: SE(x̄) = σ / √n
- Finite Population (with replacement correction using Finite Population Correction factor): SE(x̄) = (σ / √n) × √((N - n) / (N - 1)), where N is the population size and n is the sample size.
Key Concepts and Formulas
- Population Mean: μ
- Sample Mean: x̄
- Population Standard Deviation: σ
- Sample Size: n
Large Sample Tests
Large sample theory is based on the Central Limit Theorem, which states that regardless of the underlying distribution of the population, the sampling distribution of the sample mean will approximate a normal distribution as the sample size becomes large (typically n ≥ 30).
When n ≥ 30, the test statistic follows a standard normal distribution, Z ~ N(0, 1).
General steps for conducting a large sample hypothesis test:
- Set up the null hypothesis (H0) and alternative hypothesis (H1).
- Choose the level of significance (α), commonly 5% (0.05) or 1% (0.01).
- Calculate the appropriate test statistic (Z).
- Determine the critical value(s) from the standard normal distribution table.
- Compare the calculated Z with the critical table value and state the statistical conclusion.
Critical Values Table for Z-Test
| Level of Significance (α) | Two-Tailed Test | Right-Tailed Test | Left-Tailed Test |
|---|---|---|---|
| 1% (0.01) | |Z| ≥ 2.58 | Z ≥ 2.33 | Z ≤ -2.33 |
| 5% (0.05) | |Z| ≥ 1.96 | Z ≥ 1.645 | Z ≤ -1.645 |
| 10% (0.10) | |Z| ≥ 1.645 | Z ≥ 1.28 | Z ≤ -1.28 |
Test for Single Mean
We use this test when we want to determine if the mean of a sample significantly differs from a hypothesized population mean (μ0).
Hypothesis Formulation
- Two-tailed test: H0: μ = μ0 vs H1: μ ≠ μ0
- Right-tailed test: H0: μ ≤ μ0 vs H1: μ > μ0
- Left-tailed test: H0: μ ≥ μ0 vs H1: μ < μ0
Test Statistic Formula
Z = (x̄ - μ0) / (σ / √n)
If the population standard deviation σ is unknown and the sample size is large (n ≥ 30), we can substitute σ with the sample standard deviation s.
Practical Example
A factory claims that the average lifespan of its lightbulbs is 1000 hours with a standard deviation of 50 hours. A random sample of 100 bulbs is tested, yielding a sample mean of 985 hours. Test the claim at the 5% level of significance.
- H0: μ = 1000
- H1: μ ≠ 1000
- x̄ = 985, μ0 = 1000, σ = 50, n = 100
- Z = (985 - 1000) / (50 / √100) = -15 / (50 / 10) = -15 / 5 = -3.0
- Since |-3.0| ≥ 1.96, we reject H0. The sample mean significantly differs from the claimed population mean.
Test for Difference of Means
This test is used to compare the means of two independent populations to determine if the difference between them is statistically significant.
Hypothesis Formulation
- Two-tailed test: H0: μ1 = μ2 (or μ1 - μ2 = 0) vs H1: μ1 ≠ μ2
- Right-tailed test: H0: μ1 ≤ μ2 vs H1: μ1 > μ2
- Left-tailed test: H0: μ1 ≥ μ2 vs H1: μ1 < μ2
Test Statistic Formula
Z = (x̄1 - x̄2) / √( (σ12 / n1) + (σ22 / n2) )
Where:
- x̄1, x̄2 = Means of sample 1 and sample 2
- n1, n2 = Sizes of sample 1 and sample 2
- σ1, σ2 = Standard deviations of population 1 and population 2
Exam Note: If population standard deviations are unknown, substitute them with sample standard deviations s1 and s2 provided the sample sizes are large (n1 ≥ 30 and n2 ≥ 30).
Related Problems and Special Cases
If it is assumed that both samples come from populations with equal variances (σ1 = σ2 = σ), a pooled standard deviation (sp) can be calculated:
sp = √[ ((n1 - 1)s12 + (n2 - 1)s22) / (n1 + n2 - 2) ]
The test statistic for pooled variance is:
Z = (x̄1 - x̄2) / (sp × √( (1 / n1) + (1 / n2) ))
Common Mistakes to Avoid
- Confusing population standard deviation (σ) with sample standard deviation (s) when sample size rules apply.
- Forgetting to take the square root of the variance terms in the denominator of the difference of means formula.
- Misinterpreting critical values for one-tailed versus two-tailed hypothesis tests.