Sampling Distribution and Estimation
Sampling Distribution and Estimation
and
Estimation
Sample Population
Summary
Summary
(Statistic/Estimator Inference
(Parameter)
)
Population
Distribution
Sampling
(Binomial,
Distribution
Poisson,
(Z, t, chi-square, F) Inference
Normal)
Case
A restaurant chain has made improvements to its pizzas by
including a new soft and tasty crust, more and bigger toppings,
more cheese and a new heavier imported tomato sauce. The
chain makes a promotional campaign by offering the product to
its customers at half price expecting a large footfall of youths
and families in the outlets. The offer is limited to one month.
LO 8.4
Chi-square
The distribution of chi-square depends on 1 parameter, its degrees of freedom (df
or v). As df gets large, curve is less skewed, more normal.
F Distribution
Car Mileage Case
Hybrid and electric cars are a vital part in reducing US’s gasoline consumption.
Most effective way to conserve gasoline is to design gasoline powered cars that are
more fuel efficient. Virtually every gasoline powered midsize cars equipped with
automatic transmission has an EPA combined city and highway mileage estimate of
26miles/gallon or less. Suppose that government has decided to offer tax credit to
any automaker selling midsize model which achieves an EPA of at least 31mpg.
Consider an automaker has recently introduced a new midsized model that this
qualifies for the tax credit. Consider the population of all cars of this type that will
or could be potentially be produced. The automaker will choose a sample of 50 of
these cars. The manufacturers production operation runs 8 hour-shifts, with 100
midsized cars produced on each shift. When all start up problems have been
corrected, automaker select 1 car at random from each of 50 shifts and they are
subjected to EPA test.
Sampling Distribution of the Sample Mean
E ( x) =
ˆ = x
s.e( x ) =
n
2 𝜎2
𝐼𝑓 𝑋~𝑁 𝜇, 𝜎 , 𝑥~𝑁(𝜇,
ҧ )
𝑛
Example
The foreman of a bottling plant has observed that the amount
of soda in each “32-ounce” bottle is actually a normally
distributed random variable, with a mean of 32.2 ounces and
a standard deviation of .3 ounce.
X − 32 − 32.2
P(X 32) = P = P( Z − .67) = 1 − .2514 = .7486
.3
“there is about a 75% chance that a single bottle of soda contains more than
32oz.”
Example
Things we know:
X is normally distributed, therefore so will X.
= 32.2 oz.
Example
“There is about a 91% chance the mean of the four bottles will exceed
32oz.”
mean=32.2
what is the probability that one bottle will what is the probability that the mean of
contain more than 32 ounces? four bottles will exceed 32 oz?
Central Limit Theorem (CLT)
Mean 31.56
Standard Error 0.112812
Median 31.55
Mode 31.4
Standard Deviation 0.797701
Sample Variance 0.636327
Kurtosis -0.51125
Skewness -0.03422
Range 3.5
Minimum 29.8
Maximum 33.3
Sum 1578
Count 50
How to estimate parameters?
1 2
𝜎ො = 𝑠 = 𝑠𝑎𝑚𝑝𝑙𝑒 𝑠𝑑 = 𝑥 − 𝑥ҧ
𝑛−1
x 1.96 x = x 1.96
n
What is happening?
S ampling Dis tribution of the Me an
0.4
95%
0.3
f(x) 0.2
0.1
2.5% 2.5%
0.0
x
x + 1.96
x − 1.96 n
n
x
2.5% fall below
the interval x
x
x
x 2.5% fall above
the interval
x
x
x
x z 2 x
= x z 2
n
• The normal point zα/2 gives a right hand tail area under
the standard normal curve equal to α/2
• The normal point -zα/2 gives a left hand tail area under
the standard normal curve equal to a/2
• The area under the standard normal curve between zα/2
and zα/2 is 1 – α
General Confidence Interval
x z 2 = x − z 2 , x + z 2
n n n
95% Confidence Interval
x z 0.025 x = x 1.96
n
= x − 1.96 , x + 1.96
n n
99% Confidence Interval
x z 0.025 x = x 2.575
n
= x − 2.575 , x + 2.575
n n
The Effect of α on Confidence Interval Width
t-Based Confidence Intervals for a Mean:
σ Unknown
x −
t=
s n
• If the population is normal, then for any sample size n, this sampling
distribution is called the t distribution
The t Distribution
s
x t 2
n
0 .8
x = = = 0.113
n 50
t 0.025, 49 = 2.010
Car Mileage: 95% Confidence interval of
mean mileage
s
x t 2; n −1
n
= 31.56 ( 2.010 * 0.113)
= 31.56 0.22713
95% CI of
[31.33,31.79]
Practice Problem 1:
• A manufacturer of light bulbs claims that its light bulbs have a mean life hours
with a standard deviation of 85 hours. A random sample of 40 such bulbs is
selected for testing. If the sample produces a mean value of 1505 hours, find out
95% Confidence Interval of .
Solution: Given, n=40 (large), =85 (known), 1-=0.95, =0.05,
x = 1505
z / 2 = z 0.025 = 1.96
95% CI of is given by
85 85
1505 − 1.96 , 1505 + 1.96
40 40
= 1478.66 , 1531.34
Practice Problem 2:
• Waiting times (in hours) at a popular restaurant are found to have a mean
waiting time of 1.52 hours with sd 2.25hrs. for a sample of 50 customers.
Construct the 99% confidence interval for the estimate of the population mean.
Solution: Given, n=50 (large), s=2.25 (estimated), 1-=0.99, =0.01,
z / 2 = z 0.005 = 2.58
x = 1.52
Therefore,
99% CI of is given by
2.25 2.25
1.52 − 2.58 , 1.52 + 2.58
50 50
= 1.20 , 2.34
Use t based confidence interval and observe the difference (assuming normal
population).