Title: Confidence Intervals
1Chapter 7
2Estimation
- There are 2 types of estimation in statistics
point estimation and interval estimation.
3Point Estimation
- With point estimation, a single statistic such as
the sample mean, sample median, sample proportion
is given as an estimate of the parameter of
interest. - Sometimes there are various choices when choosing
a point estimate (ie sample mean vs. sample
median)
4Illustration of CI
- The center is the target (the parameter of
interest). - The blue points are statistics. Each one is
based on a different sample. On average, they
equal the target.
5(No Transcript)
6- The larger the diameter, the more confident we
are. Confidence level is given by a percentage
number.
7- The confidence interval is given in the form
- estimate margin of error
- Three factors must be made to develop a CI
- a good estimator of the parameter
- The sampling distribution or approximate
distribution of the estimate (standard deviation
of the estimate). - The desired confidence level.
87.1 Confidence Interval for population
proportion ?
- In general , confidence interval of ? of a
sample with a large sample size n, is -
- p z
9z ?
The blue area is 1-?
Standard Normal Distn
z
-z
10Select values of z
- (1-?) is how confident we want to be that the
confidence interval WILL contain the parameter of
interest. Well refer to these as the level of
confidence.
11Steps to calculate CI for ?
- Calculate estimate p and SE(p)
- Find the critical value z from the Table
corresponding to the level (1-?) - ME z SE
- CIp ME
12Example 1
- To find the proportion of all students who study
on weekends, survey 200 students and find out 60
students study on weekends, find out - 80 confidence interval for ?
- 95 confidence interval for ?
- 98 confidence interval for ?
13Finding the desired sample size for proportions
In this case, 0.5 is used in place of p because
this is where is largest. This is
a worst case scenario.
Here, you have to calculate p.
14Example 1 (continued)
- To find the proportion of all students who study
on weekends, survey 200 students and find out 60
students study on weekends, the estimate margin
of error for the 95 confidence interval is
.0635, find the sample size necessary to reduce
the margin to .03? How about .01?
15 7.2 Confidence interval for ? based on
when ? is known the z-interval.
The standard deviation of the estimate.
An estimate for µ
Depends on how confident you want to be.
16Margin of Error
- The margin of error (E ) is half the width of the
confidence interval.
17Steps to calculate CI for ?
- Calculate estimate and SE( )
- Find the critical value z from the Table
corresponding to the level (1-?) - ME z SE
- CI ME
18Finding the sample size.
- For a given bound B on the margin of error, the
sample size
19An example
- Based on a sample of 35 cars of a particular
model, the fuel tank capacity is calculated for
each. Based on this data, the sample mean is
18.99 gallons. The population standard deviation
is believed to be 3.5. Obtain a 90 confidence
interval for the mean fuel capacity of this model
of car.
20Cont.
- We are 90 confident that the mean fuel
- capacity is between 18.01 and 18.96
- gallons.
21Example
- Suppose a 95 confidence interval for µ is (4.2,
4.8). What is the sample mean? Whats the width
of this interval? What is the margin of error? - Whats the width of the interval below?
22Finding the sample size. (cont.)
- Based on a sample of 35 cars of a particular
model, the fuel tank capacity is calculated for
each. Based on this data, the sample mean is
18.99 gallons. The population standard deviation
is believed to be 3.5. suppose that we want to
obtain a 90 confidence interval for µ and we
want the margin of error to be 0.2.
23We want margin of error (ME) to be 0.2.
Calculate the sample size?
This means we need at least a sample of size 829
to achieve this margin of error.
24What if s is unknown?
When you dont know s, you estimate it with s but
the distribution becomes a t with n-1 degrees of
freedom.
Z is used because the statistic below is
standard normal when s is known.
25 7.2 Confidence interval for ? based on
when ? is unknown the t-interval.
The standard deviation of the estimate.
An estimate for µ
Depends on how confident you want to be.
26Margin of Error
- The margin of error (E ) is half the width of the
confidence interval.
27Steps to calculate CI for ?
- Calculate estimate and SE( )
- where s is the sample standard deviation
- Find the critical value t from the Table. Its
the upper ?/2 critical value with dfn-1 - ME t SE
- (1-?)100 CI for ? is given by
- CI ME
28Finding the sample size.
- For a given bound B on the margin of error, the
sample size
29Exercise
- For the following cases, to find the
corresponding critical value - a) 90 confidence level, n20
- b) 98 confidence level, n30
- c) 95 confidence level, n51
30Example
- Based on a sample of 35 cars of a particular
model, the fuel tank capacity is calculated for
each. Based on this data, the sample mean is
18.99 gallons. The sample standard deviation is
believed to be 3.5. - Obtain a 90 confidence interval for the mean
fuel capacity of this model of car. - suppose that we want to obtain a 90 confidence
interval for µ and we want the margin of error to
be 0.2. Calculate the sample size?
31Exercise
- To find out the weight of a particle, it was
measured 41 times, and sample mean 174 units
with sample standard deviation s1.1 units. Give
a 95 CI of its true weight.
32 A real estate agent needs to estimate the
average value of a residential property of a
given size in a given area. He believes that the
standard deviation of the property values is s
5,500, and that property values are
approximately normally distributed. A random
sample of 16 units gives a sample mean of
89,673.12. What is the 95 confidence interval
for the average value of all properties of this
kind?
33PARAMETRIC STATISTICAL INFERENCE ESTIMATION
- Exercise
- A manufacturer of pharmaceutical products
analyzes a specimen from each batch of a product
to verify the concentration of the active
ingredient. The chemical analysis is not
perfectly precise. Repeated measurements on the
same specimen give slightly different results.
The results of repeated measurements follow a
normal distribution. The analysis procedure has
no bias, so the mean of the population of all
measurements is the true concentration in the
specimen. The standard deviation of this
distribution is known to be 0.0068 g/l. Three
analyses of one specimen give the following
concentrations 0.8403 0.8363 0.8447 - Calculate the 99 confidence interval for the
true concentration.