Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Confidence Intervals for Means and Proportions: A Comprehensive Guide with Examples, Exams of Statistics

We shall concentrate on estimation of population proportions and population means. If we use a single value of a statistic ˆΘ, say ˆθ, to estimate a population ...

Typology: Exams

2021/2022

Uploaded on 09/12/2022

eshal
eshal 🇺🇸

4.3

(37)

258 documents

1 / 31

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Confidence Intervals for Means and Proportions
Semester 1
Confidence Intervals for Means and Proportions
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f

Partial preview of the text

Download Confidence Intervals for Means and Proportions: A Comprehensive Guide with Examples and more Exams Statistics in PDF only on Docsity!

Confidence Intervals for Means and Proportions

Semester 1

Confidence Intervals

Estimating population parameters from sample statistics is a central theme in statistical inference. We shall concentrate on estimation of population proportions and population means. If we use a single value of a statistic ˆΘ, say ˆθ, to estimate a population parameter θ, then we refer to this as a point estimate. For example, if we use the mean height (say 172cm) of a random sample of 200 students to estimate the mean height in a population of 100,000, this is a point estimate.

Confidence Intervals for the Mean - Large Sample

We wish to construct interval estimates for the population mean μ. To begin with, we assume that: (i) the population standard deviation σ is known; (ii) the size of our random sample n is greater than or equal to 30. Under the above assumptions, the Central Limit Theorem tells us that the random variable X¯ − μ σ/

n is approximately a standard normal random variable. This allows us to use the table of standard normal probabilities to make inferences about how “close” values of ¯X “typically” are to the true mean μ.

95% Confidence Intervals for the Mean

Let z 0. 025 denote the value such that 0.025 or 2.5% of the Z-distribution lies in the tail to the right of z 0. 025. Then P(−z 0. 025 ≤ Z ≤ z 0. 025 ) = 0. 95. It can be checked from the table of standard normal probabilities that z 0. 025 = 1.96. Thus

P(− 1. 96 ≤

X¯ − μ σ/

n

P(− 1 .96(

σ √ n

) ≤ X¯ − μ ≤ 1 .96( σ √ n

95% Confidence Intervals for the Mean

Definition Given a value ¯x of X¯ , the large sample 95% confidence interval for μ is given by

¯x − 1 .96(

σ √ n ) ≤ μ ≤ x¯ + 1.96(

σ √ n

In practice, we calculate a single value ¯x of X¯ and use it to construct a single confidence interval. Once such an interval is constructed, we can assert with 95% confidence that μ lies in the interval.

General Confidence Intervals for the Mean

In the same way as we calculated a 95% confidence interval for μ, we can construct intervals with different levels of confidence. For example, for a standard normal random variable Z

P(− 2. 58 ≤ Z ≤ 2 .58) = 0. 99.

In the same way as before, we say that

x¯ − 2. 58

σ √ n ≤ μ ≤ ¯x + 2. 58

σ √ n

is a 99% confidence interval for μ.

Confidence Intervals for the Mean

Similarly the 99% confidence interval for μ is

1023 − 2. 58

≤ μ ≤ 1023 + 2. 58

1023 − 9. 12 ≤ μ ≤ 1023 + 9. 12

  1. 88 ≤ μ ≤ 1032. 12.

General Confidence Intervals

It is possible to construct confidence intervals for levels of confidence other than 99% and 95%. Let zα/ 2 denote the value such that

P(−zα/ 2 ≤ Z ≤ zα/ 2 ) = 1 − α

. Then the 100(1 − α)% confidence interval for the mean μ is

¯x − zα/ 2 σ √ n

≤ μ ≤ ¯x + zα/ 2 σ √ n

Error Magnitude and Sample Size

In fact, we can be 95% confident that the error |¯x − μ| ≤ E provided that

  1. 96

σ √ n

≤ E

which after rearrangement becomes

n ≥

  1. 96 σ E

Error Magnitude and Sample Size

Example The light bulb manufacturer in our earlier example wants to choose a random sample and to be 95% confident that the error in estimating the mean lifetime of a bulb with the sample mean is less than 5 hours. How large a sample is required?

Solution: E = 5, σ = 20, so we need to choose

n ≥

So we need a sample of size 62 or larger.

Small Sample Confidence Intervals for the Mean

If the population standard deviation is not known, we need to use the sample standard deviation

S =

(X 1 − X¯ )^2 + · · · + (Xn − X¯ )^2 n − 1

instead of σ. Provided our sample is large (n ≥ 30 as a rule of thumb) it is reasonable to use the value of S as an estimate of σ and to construct confidence intervals as above. If our sample size is small however, we cannot use the normal distribution to generate confidence intervals.

Small Sample Confidence Intervals

However if we know that the population is normal, then for a sample of size n the random variable

t = X¯ − μ S/

n

follows a student’s t distribution with n − 1 degrees of freedom. As with the standard normal distribution, tables have been calculated for this distribution and the key percentage points have been calculated.

Small Sample Confidence Intervals

Example The assembly times for a piece of machinery follow a normal distribution. A quality control engineer randomly selects 8 pieces and measures the assembly time for each one. The assembly times in minutes for the 8 pieces were:

  1. 8 , 9. 1 , 8. 5 , 9. 3 , 9. 5 , 8. 8 , 8. 9 , 9. 2. Using these data, construct 95% and 99% confidence intervals for the mean assembly time for this piece of machinery.

Small Sample Confidence Intervals

Solution: As the size of the sample is small and we need to estimate the standard deviation from the sample data, we use the t-distribution to construct the confidence intervals.

¯x =

The sample variance s^2 is 0.1041 so the sample standard deviation is s = 0.323. Our sample size is n = 8, so we use the t-distribution with 8 − 1 = 7 degrees of freedom to construct confidence intervals.