Professional Documents
Culture Documents
10/26/2014
Inferential Methods:
Confidence Interval
Estimation
Discrete w/ Probability Distribution Single variable with probability distribution; E(X), V(X)
Linear Combinations Multiple variables with known expected values E(aX + bY), V(aX + bY)
Bernoulli Single trial resulting in one of two mutually exclusive and collectively exhaustive outcomes.
Binomial: X~B(n, ) Repeated, independent Bernoulli trials with constant probability of success.
Students t: t(df)
Sample proportion ~(, ) if X is a binomial, and n* > 5 AND n*(1-)> 5
( )
Population Proportion, n*>5, n*(1-) > 5 /
Confidence Interval Estimation To estimate
Population /
Mean when
is known
To estimate
Population /
Mean when
is unknown
To estimate
Population ( )
Proportion /
when n*>5
& n*(1-) > 5
Parameters are important!
We never know parameters,
but, we WANT to know parameters!
About the closest we are going to get is to make
educated guesses about parameter values.
Our first inferential task is to figure out how to
estimate parameters.
We will focus on estimating the population mean, ,
and the population proportion, .
Estimators
We have options when we choose point
estimators, so criteria have been developed for
selecting the best point estimator.
The best estimators are unbiased; they are close to
the parameter they estimate.
An estimator is unbiased if its expected value is equal to the
parameter being estimated.
The best unbiased estimators are those that vary the
least.
An efficient estimator is one that has the smallest variance
of all estimators.
Anatomy
of a Confidence Interval
=ABS(NORM.S.INV(/2))
=
= NORM.S.INV(1- /2)
=ABS(T.INV(/2, n-1))
=
=T.INV(1- /2, n-1)
() =ABS(NORM.S.INV(/2))
=
= NORM.S.INV(1- /2)
Margins of Error
The Cherry Farmer's Co-op on the peninsula in
Grand Traverse Bay in Michigan is responsible for
packing and shipping the annual cherry harvest.
The co-op coordinator needs to know the average
diameter of the cherries at harvest so that
appropriate packing boxes can be ready for the
different cherry varieties. A random sample of 100
Bing cherries was drawn and measured. The mean
of the sample was 1.2 inches. The standard
deviation of Bing cherries is believed to be 0.1
inches. Calculate a 99% confidence interval for the
population mean diameter of Bing cherries.
An application
What we know:
n=100 = . = .
What we want: An estimate of mean Bing cherry
diameter at a level of confidence of 99%.
Point Estimate
1.2 inches
Margin of error, e
=
=NORM.S.INV(0.995)= 2.576
.
= = . = . . = .
Calculations
We have 99% confidence that the mean
diameter of Bing cherries is between 1.17 and
1.23 inches.
State the level of confidence.
Specify the parameter you are estimating.
State the interval.
You should always know the sample size that was
used in the estimate.
What we know
=NORM.S.INV(0.95)= 1.645
= = . . = .
Calculations
Mr.Peckman is 90% confident that the
proportion of all Denver residents in favor of
the establishment of an Extraterrestrial Affairs
Commission is 51% plus or minus 6%.
OR
Unfortunately,
Dr. Gupta of CNN's "Paging Dr. Gupta" reported that a poll
of 49 American adults reported 48% exceeding the
recommended dose of over-the-counter (non-prescription)
drugs. Calculate a 95% confidence interval for the
proportion of American adults who exceed the
recommended dose of over-the-counter (non-prescription)
drugs.
What is the random variable?
. .
~ . , = .
What is e?
= . . = . . .
Or [. , . ]
Another application
An important use of confidence intervals is
calculating the minimum n for a particular level
of confidence. We use the margin of error, e, to
estimate n.
=
Solve for n: =
Some practice
=
.
=
= . . . = .
..
=
30 seconds = 0.5 minutes
..
= = .
.
= ( )
. . .and proportions. . .
In2008, when Doritos broadcast the first ever
advertisement directed towards potential extra
terrestrial life, 61% of UK residents sampled by
BBC-Lite thought that regular communication
with an alien species was an excellent idea. At
a level of 99%, how many UK residents would
need to be polled to estimate the proportion of
UK residents in favor of communication with
aliens with an interval no wider than 5%?
more practice
= ( )
= . ( . )
= . . . = .
.
= . ( . )
A width of 5%? What is e?
.
= . . = .
.
What do we want in a
Confidence Interval?
Two are under our control
level of confidence
sample size
Level of Confidence: Ceteris paribus, the higher the
level of confidence, the wider the interval.
Sample Size, n: Ceteris paribus, the larger the
sample size, the narrower the interval.
Population Standard Deviation/Population Proportion
Ceteris paribus, the larger the Population Standard
Deviation, the wider the interval.
Ceteris paribus, as approaches 0.5, the wider the
interval.
Anything else?
Z
t