Solved Exercises on Introduction to Confidence Intervals in Grade 12

Master introduction to confidence intervals: estimation, margin of error, and statistical inference through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Basic Confidence Interval
Exercise 1
A sample of 50 students has a mean test score of 78 with a known population standard deviation of 12. Construct a 95% confidence interval for the population mean test score.
Definition:

Confidence Interval: An interval estimate that specifies a range of values within which the population parameter is likely to fall, with a specified level of confidence. Formula: X̄ ± z*(σ/√n)

Method:
  1. Identify the sample statistics: X̄, n, σ
  2. Determine the confidence level and corresponding z-score
  3. Calculate the standard error: σ/√n
  4. Calculate the margin of error: z*(σ/√n)
  5. Construct the confidence interval: X̄ ± margin of error
Given
X̄=78, σ=12, n=50
z-score
z=1.96
Interval
[74.67, 81.33]
Step 1: Identify the given information

X̄ = 78 (sample mean), σ = 12 (population standard deviation), n = 50 (sample size)

Step 2: Find the critical z-value for 95% confidence

For 95% confidence, α = 0.05, α/2 = 0.025, z₀.₀₂₅ = 1.96

Step 3: Calculate the standard error

SE = σ/√n = 12/√50 = 12/7.071 ≈ 1.697

Step 4: Calculate the margin of error

ME = z × SE = 1.96 × 1.697 ≈ 3.326

Step 5: Construct the confidence interval

CI = X̄ ± ME = 78 ± 3.326 = [74.674, 81.326]

CI = [74.67, 81.33]
Final answer:

We are 95% confident that the population mean test score is between 74.67 and 81.33.

Applied rules:

• Confidence interval formula: X̄ ± z*(σ/√n) for known σ

• Critical values: z₀.₀₂₅ = 1.96 for 95% confidence

• Standard error: SE = σ/√n measures sampling variability

Key notes:

• The interval captures the population mean in 95% of repeated samples

• A wider interval indicates less precision in estimation

• The confidence level represents the reliability of the procedure

2 Different Confidence Levels
Exercise 2
A survey of 100 people found that the average monthly spending is $250 with a population standard deviation of $40. Construct 90%, 95%, and 99% confidence intervals. How does the confidence level affect the interval width?
Definition:

Confidence level: The probability that the confidence interval will contain the true population parameter. Higher confidence levels result in wider intervals.

Given
X̄=250, σ=40, n=100
90% CI
[243.42, 256.58]
95% CI
[242.16, 257.84]
99% CI
[239.68, 260.32]
Step 1: Calculate standard error

SE = σ/√n = 40/√100 = 40/10 = 4

Step 2: Find critical z-values

90% confidence: z₀.₀₅ = 1.645

95% confidence: z₀.₀₂₅ = 1.96

99% confidence: z₀.₀₀₅ = 2.576

Step 3: Calculate margins of error

90%: ME = 1.645 × 4 = 6.58

95%: ME = 1.96 × 4 = 7.84

99%: ME = 2.576 × 4 = 10.304

Step 4: Construct confidence intervals

90% CI: 250 ± 6.58 = [243.42, 256.58]

95% CI: 250 ± 7.84 = [242.16, 257.84]

99% CI: 250 ± 10.304 = [239.696, 260.304]

90% CI: [243.42, 256.58], 95% CI: [242.16, 257.84], 99% CI: [239.70, 260.30]
Final answer:

Higher confidence levels produce wider intervals. The 99% CI is widest, followed by 95%, then 90%. This reflects the trade-off between confidence and precision.

Applied rules:

• Confidence-precision tradeoff: Higher confidence requires wider intervals

• Critical values: z₀.₀₅ = 1.645, z₀.₀₂₅ = 1.96, z₀.₀₀₅ = 2.576

• Interval width: Proportional to the critical value

Key notes:

• Higher confidence levels increase certainty but decrease precision

• The interval width increases as the critical value increases

• Practitioners often use 95% confidence as a standard compromise

3 Margin of Error Analysis
Exercise 3
A researcher wants to estimate the average height of students with a margin of error of at most 2 cm. The population standard deviation is 8 cm. What sample size is needed for 95% confidence?
Definition:

Margin of Error: The maximum likely difference between the sample statistic and the population parameter. Formula: ME = z*(σ/√n)

Given
ME≤2, σ=8, z=1.96
Formula
n ≥ (z*σ/ME)²
Sample Size
n ≥ 62
Step 1: Start with the margin of error formula

ME = z*(σ/√n)

Step 2: Solve for minimum sample size

We want ME ≤ 2, so z*(σ/√n) ≤ 2

Therefore: √n ≥ (z*σ)/ME, which gives n ≥ [(z*σ)/ME]²

Step 3: Substitute known values

n ≥ [(1.96 × 8)/2]² = [15.68/2]² = [7.84]² = 61.47

Step 4: Round up to nearest integer

Since n must be an integer, we need n ≥ 62

n ≥ 62 to achieve ME ≤ 2
Final answer:

A sample size of at least 62 is needed to achieve a margin of error of at most 2 cm with 95% confidence.

Applied rules:

• Sample size formula: n ≥ (z*σ/ME)² for desired margin of error

• Quadratic relationship: Halving ME requires quadrupling sample size

• Rounding rule: Always round up to ensure requirements are met

Key notes:

• The relationship between precision and sample size is quadratic

• More precise estimates require significantly larger samples

• Researchers must balance precision needs with resource constraints

Confidence Intervals Rules and Methods
\( CI = \bar{X} \pm z^* \left(\frac{\sigma}{\sqrt{n}}\right) \)
Confidence Interval Formula (Known σ)
\( ME = z^* \left(\frac{\sigma}{\sqrt{n}}\right) \)
Margin of Error Formula
\( n = \left(\frac{z^* \sigma}{ME}\right)^2 \)
Sample Size Formula
90% Confidence
z = 1.645
Critical Value
95% Confidence
z = 1.96
Critical Value
99% Confidence
z = 2.576
Critical Value
Key definitions:

Confidence Interval: An interval estimate that specifies a range of values within which the population parameter is likely to fall, with a specified level of confidence

Confidence Level: The probability that the confidence interval will contain the true population parameter

Margin of Error: The maximum likely difference between the sample statistic and the population parameter

Point Estimate: A single value used to estimate a population parameter (e.g., sample mean)

Complete methodology:
  1. Identify parameters: X̄, σ, n, and desired confidence level
  2. Find critical value: Look up z-score corresponding to confidence level
  3. Calculate standard error: SE = σ/√n
  4. Calculate margin of error: ME = z* × SE
  5. Construct interval: CI = X̄ ± ME
Tip 1: Confidence intervals express uncertainty in estimation with a probability statement.
Tip 2: The confidence level refers to the procedure, not the specific interval.
Tip 3: Larger samples produce narrower confidence intervals.
Tip 4: Higher confidence levels produce wider intervals.
Key insight: Confidence intervals provide both an estimate and a measure of uncertainty.
Practical application: Used in surveys, experiments, and quality control.
Key Properties:

• Interval width: 2 × ME = 2 × z*(σ/√n)

• Confidence level: Probability that interval contains true parameter

• Tradeoff: Higher confidence → Wider interval → Less precision

• Sample size effect: Larger n → Narrower interval → More precision

Solution: Exercises 4 to 5
4 Sample Size Planning
Exercise 4
A company wants to estimate the average customer satisfaction rating (out of 10) with a margin of error of at most 0.3. Historical data suggests the standard deviation is 1.5. What sample size is needed for 90% confidence?
Definition:

Sample size planning: Determining the minimum sample size needed to achieve a desired level of precision at a specified confidence level

Given
ME≤0.3, σ=1.5, z=1.645
Formula
n ≥ 67.65
Sample Size
n ≥ 68
Step 1: Identify requirements

Desired ME ≤ 0.3, σ = 1.5, confidence level = 90% (z = 1.645)

Step 2: Apply the sample size formula

n ≥ (z*σ/ME)² = (1.645 × 1.5/0.3)²

Step 3: Calculate the required sample size

n ≥ (2.4675/0.3)² = (8.225)² = 67.65

Step 4: Round up to ensure requirements

Since n must be an integer, we need n ≥ 68

n ≥ 68 to achieve ME ≤ 0.3
Final answer:

A sample size of at least 68 customers is needed to achieve a margin of error of at most 0.3 with 90% confidence.

Applied rules:

• Sample size planning: n ≥ (z*σ/ME)² for desired precision

• Conservative approach: Always round up to meet requirements

• Planning consideration: Balance precision needs with cost/time constraints

Key notes:

• The sample size formula shows the quadratic relationship between precision and sample size

• Achieving high precision requires substantial sample sizes

• Companies must weigh the cost of data collection against precision gains

5 Real-world Application
Exercise 5
A political poll of 1000 voters shows 54% support for a candidate. Assuming the population standard deviation is 0.5 (for proportions), construct a 95% confidence interval for the true proportion of supporters. Interpret the results.
Definition:

Proportion confidence interval: An interval estimate for the population proportion based on sample proportion, with specified confidence level

Given
p̂=0.54, σ=0.5, n=1000
Standard Error
SE = 0.0158
CI
[0.509, 0.571]
Step 1: Calculate the standard error

SE = σ/√n = 0.5/√1000 = 0.5/31.62 ≈ 0.0158

Step 2: Find the critical z-value

For 95% confidence: z = 1.96

Step 3: Calculate the margin of error

ME = z × SE = 1.96 × 0.0158 ≈ 0.031

Step 4: Construct the confidence interval

CI = p̂ ± ME = 0.54 ± 0.031 = [0.509, 0.571]

Step 5: Interpret the results

We are 95% confident that between 50.9% and 57.1% of the population supports the candidate

CI = [50.9%, 57.1%]
Final answer:

We are 95% confident that the true proportion of supporters is between 50.9% and 57.1%. Since the entire interval is above 50%, the candidate appears to have majority support.

Applied rules:

• Proportion estimation: Similar approach to mean estimation

• Statistical significance: Interval entirely above 50% suggests majority support

• Interpretation: Focus on practical implications of the interval

Key notes:

• The large sample size (n=1000) results in a narrow confidence interval

• The interval provides both an estimate and a measure of uncertainty

• This type of analysis is fundamental in polling and market research

Introduction to Confidence Intervals Summary

Comprehensive Summary: Introduction to Confidence Intervals

Key Definitions:

Confidence Interval (CI): An interval estimate that specifies a range of values within which the population parameter is likely to fall, with a specified level of confidence. It takes the form: Point Estimate ± Margin of Error.

Confidence Level: The probability that the confidence interval will contain the true population parameter if we were to repeat the sampling process many times. Common levels are 90%, 95%, and 99%.

Margin of Error (ME): The maximum likely difference between the sample statistic and the population parameter. It represents the "radius" of the confidence interval.

Point Estimate: A single value used to estimate a population parameter (e.g., sample mean X̄ estimates population mean μ).

Core Principles and Rules:
  1. Basic Formula: CI = Point Estimate ± Critical Value × Standard Error
  2. Standard Error: Measures the variability of the sampling distribution (σ/√n for means)
  3. Critical Values: Depend on the desired confidence level (z₀.₀₂₅ = 1.96 for 95% confidence)
  4. Confidence-Precision Tradeoff: Higher confidence levels result in wider intervals
  5. Sample Size Effect: Larger samples produce narrower confidence intervals
Simple Example: Basic Confidence Interval

Sample: n = 25, X̄ = 100, σ = 10

95% CI: X̄ ± z₀.₀₂₅ × (σ/√n) = 100 ± 1.96 × (10/√25)

= 100 ± 1.96 × 2 = 100 ± 3.92 = [96.08, 103.92]

Advanced Example: Sample Size Planning

Want ME ≤ 1, σ = 5, 90% confidence (z = 1.645)

n ≥ (z*σ/ME)² = (1.645 × 5/1)² = (8.225)² = 67.65

Round up: n ≥ 68

Tip 1: The confidence level refers to the procedure, not to any specific interval. A 95% CI means the procedure will capture the true parameter 95% of the time in repeated sampling.
Tip 2: Confidence intervals provide both an estimate and a measure of uncertainty, unlike point estimates which only provide a single number.
Tip 3: The relationship between precision and sample size is quadratic: to halve the margin of error, you need to quadruple the sample size.
Tip 4: Common confidence levels and their critical values: 90% (z=1.645), 95% (z=1.96), 99% (z=2.576).
Common Pitfall: Interpreting a 95% confidence interval as "there is a 95% probability that the parameter is in the interval." The parameter is fixed; the interval varies.
Common Mistake: Forgetting to check conditions (normality, independence) before constructing confidence intervals.
Key Takeaway: Confidence intervals are fundamental to statistical inference and provide the foundation for hypothesis testing.
Essential Formulas:

• Confidence Interval: CI = X̄ ± z*(σ/√n)

• Margin of Error: ME = z*(σ/√n)

• Sample Size: n = (z*σ/ME)²

• Interval Width: 2 × ME = 2 × z*(σ/√n)

Memory Techniques:

  • CI Structure: Center ± Spread → X̄ ± z*(σ/√n)
  • Critical Values: 90%=1.645, 95%=1.96, 99%=2.576
  • Tradeoff: Higher Confidence → Wider Interval → Less Precision
  • Sample Size Effect: Quadrupling n halves the Margin of Error

Questions & Answers

Question: I'm confused about what "95% confidence" actually means. Does it mean there's a 95% chance that the true parameter is in my specific interval?

Answer: This is a very common misconception! No, a 95% confidence interval does NOT mean there's a 95% probability that the true parameter is in your specific interval.

Instead, "95% confidence" means: If we were to repeat the sampling process and construct confidence intervals many times, approximately 95% of those intervals would contain the true population parameter.

The population parameter is fixed (though unknown), while the confidence interval varies from sample to sample. Once you have a specific interval calculated from your sample, the parameter is either in it (probability = 1) or not in it (probability = 0).

Think of it like this: If you shoot arrows at a target many times, 95% confidence means that 95% of your arrows will hit the target area, but for any specific arrow, it either hits or it doesn't.

Question: Why do we use different critical values (1.645, 1.96, 2.576) for different confidence levels? Where do these numbers come from?

Answer: These critical values come from the standard normal (z) distribution and correspond to the percentiles that leave specific amounts of area in the tails:

  • 90% confidence: Leaves 10% in the tails (5% in each tail), so we use z₀.₀₅ = 1.645
  • 95% confidence: Leaves 5% in the tails (2.5% in each tail), so we use z₀.₀₂₅ = 1.96
  • 99% confidence: Leaves 1% in the tails (0.5% in each tail), so we use z₀.₀₀₅ = 2.576

These values are chosen so that the middle portion of the distribution corresponds to the desired confidence level. For 95% confidence, we want to capture the middle 95% of the distribution, leaving 2.5% in each tail.

The higher the confidence level, the more extreme the critical values become, which results in wider confidence intervals.

Question: What happens to the confidence interval when the sample size increases? Why does this occur?

Answer: As the sample size increases, the confidence interval becomes narrower (more precise). This occurs because:

The standard error is calculated as: SE = σ/√n

When n increases, √n also increases, which makes σ/√n smaller. Since the margin of error is ME = z*(σ/√n), a smaller standard error leads to a smaller margin of error, resulting in a narrower interval.

Intuitively, larger samples provide more information about the population, so we can estimate the parameter with greater precision. With more data points, the sample mean is more likely to be close to the true population mean.

The relationship is inverse square root: to halve the margin of error, you need to quadruple the sample size.

Question: What's the difference between confidence intervals and hypothesis testing?

Answer: Both are methods of statistical inference, but they serve different purposes:

Confidence Intervals: Provide a range of plausible values for a population parameter. They give an estimate along with a measure of uncertainty.

Hypothesis Testing: Tests a specific claim about a population parameter. We decide whether to reject or fail to reject a null hypothesis.

They're actually closely related mathematically. For example, if a 95% confidence interval does not contain the hypothesized value, we would reject the null hypothesis at the 5% significance level.

Confidence intervals are often considered more informative because they provide a range of plausible values rather than just a binary decision (reject/fail to reject).

Both are part of the broader framework of statistical inference.

Question: How do I interpret a confidence interval in practical terms?

Answer: Here's how to interpret a confidence interval practically:

If you have a 95% confidence interval for mean test scores of [74.67, 81.33], you can say:

"We are 95% confident that the true mean test score for the population falls between 74.67 and 81.33."

Practical interpretations might include:

  • Whether the interval includes meaningful benchmarks (e.g., passing score of 70)
  • How wide the interval is (narrow = precise estimate)
  • Whether the entire interval is above or below important thresholds

For example, if a political poll shows 54% ± 3% support, you'd say the true support is likely between 51% and 57%, which suggests the candidate has majority support.

The interval gives you both the best estimate and the uncertainty around that estimate.