Population Sample: Parameters:, , Statistics
Population Sample: Parameters:, , Statistics
Population Sample: Parameters:, , Statistics
• By constructing
confidence intervals on
population parameters
Statistical
Inference • Or by setting up a
hypothesis test on a
population parameter.
Quick Recap:
Ways of obtaining an appropriate
Chapter 1 sample of size n from a population of
size N.
Descriptive Organizing the data collected from
Statistics Chapter 2 the sample, summarizing it and
representing it graphically…
Drawing conclusions Inferential
Chapter 7 about a population Statistics
parameter (𝝁𝝁, 𝝈𝝈𝟐𝟐 , 𝒑𝒑)
by using a statistic
𝒙𝒙, 𝑺𝑺𝟐𝟐 , 𝒑𝒑
(� �) calculated Estimation - Ch 7
from a sample.
Hypothesis Tests – Ch 8
Statistical inference is the process by which we acquire
information and draw conclusions about populations from samples.
Statistics
Point estimate
An alternative statement is: We are 95% confident that the mean service
time will be from 1.637 minutes to 4.009 minutes,
Interval estimate
(1.283 ; 3.283)
1.283 2.283 3.283 = (2.283 – 1 ; 2.283 + 1)
=( �−E
𝒙𝒙 ; �
𝒙𝒙 + E )
If 𝝁𝝁 = 3.283, then,
� = 2.283 and E = 1
since 𝒙𝒙
� and 𝝁𝝁
E = distance between 𝒙𝒙
E = 3.283 – 2.283 = 1
In general, an interval estimate/confidence interval for 𝝁𝝁:
� − E ; 𝒙𝒙
(𝒙𝒙 � + E) �±E
or 𝒙𝒙
i.e. (point estimate − error ; point estimate + error)
Now,
• How do we determine the value of the error (E)?
• How sure are we that the interval contains the population parameter?
Answer: We utilize the standard normal distribution and its properties…
(Note: The following slides show the theory behind the formula for a interval
estimate/confidence interval for 𝝁𝝁, however you do not need to know this theory.)
Not examinable
𝒛𝒛𝜶𝜶 𝒛𝒛𝟏𝟏−𝜶𝜶
Due to symmetry, these two 𝟐𝟐 𝟐𝟐
z-values will be the same, = −𝒛𝒛𝟏𝟏−𝜶𝜶
where one will be positive 𝟐𝟐
and the other will be
negative. Since the area to the right of this z-
𝜶𝜶
value is , the area to the left of
𝟐𝟐 𝜶𝜶
this value is 𝟏𝟏 −
𝟐𝟐
Not examinable
� − 𝝁𝝁
𝒙𝒙
Recall from chapter 6: 𝒁𝒁 = 𝝈𝝈 −𝒛𝒛𝟏𝟏−𝜶𝜶 𝒛𝒛𝟏𝟏−𝜶𝜶
𝟐𝟐 𝟐𝟐
𝒏𝒏
Now we can
� − 𝝁𝝁
𝒙𝒙
= 𝑷𝑷 −𝒛𝒛𝟏𝟏− 𝜶𝜶 < 𝝈𝝈 < 𝒛𝒛𝟏𝟏− 𝜶𝜶 = 𝟏𝟏 − 𝜶𝜶 solve for 𝝁𝝁 in
𝟐𝟐 𝟐𝟐 the centre of
𝒏𝒏 this
expression…
Not examinable
� − 𝝁𝝁
𝒙𝒙
𝟏𝟏 − 𝜶𝜶 = 𝑷𝑷 −𝒛𝒛𝟏𝟏− 𝜶𝜶 < 𝝈𝝈 < 𝒛𝒛𝟏𝟏− 𝜶𝜶
𝟐𝟐 𝟐𝟐
𝒏𝒏
𝝈𝝈 𝝈𝝈 Multiply by 𝝈𝝈
= 𝑷𝑷 −𝒛𝒛𝟏𝟏− 𝜶𝜶 × � − 𝝁𝝁 < 𝒛𝒛𝟏𝟏− 𝜶𝜶 ×
< 𝒙𝒙
𝟐𝟐 𝒏𝒏 𝟐𝟐 𝒏𝒏 𝒏𝒏
𝝈𝝈 𝝈𝝈 Subtract 𝒙𝒙
= 𝑷𝑷 −�
𝒙𝒙 − 𝒛𝒛𝟏𝟏− 𝜶𝜶 × 𝒙𝒙 + 𝒛𝒛𝟏𝟏− 𝜶𝜶 ×
< −𝝁𝝁 < −� �
𝟐𝟐 𝒏𝒏 𝟐𝟐 𝒏𝒏
𝝈𝝈 𝝈𝝈
� − 𝒛𝒛𝟏𝟏− 𝜶𝜶 ×
∴ 𝟏𝟏 − 𝜶𝜶 = 𝑷𝑷 𝒙𝒙 � + 𝒛𝒛𝟏𝟏− 𝜶𝜶 ×
< 𝝁𝝁 < 𝒙𝒙 Divide by −𝟏𝟏
𝟐𝟐 𝒏𝒏 𝟐𝟐 𝒏𝒏
and reorder
When the value of 𝝈𝝈𝟐𝟐 is known,
we can be (1−𝜶𝜶)100% confident that 𝝁𝝁 will lie between
𝝈𝝈 𝝈𝝈
�
𝒙𝒙 − 𝒛𝒛𝟏𝟏− 𝜶𝜶 and �
𝒙𝒙 + 𝒛𝒛𝟏𝟏− 𝜶𝜶 .
𝟐𝟐 𝒏𝒏 𝟐𝟐 𝒏𝒏
𝝈𝝈 𝝈𝝈 On the
� − 𝒛𝒛𝟏𝟏− 𝜶𝜶
𝒙𝒙 � + 𝒛𝒛𝟏𝟏− 𝜶𝜶
; 𝒙𝒙 formula
𝟐𝟐 𝒏𝒏 𝟐𝟐 𝒏𝒏 sheet
Calculate 95% and 99% confidence intervals for the mean content of all the
bottles.
𝝈𝝈
𝝈𝝈 𝟓𝟓 � ± 𝒛𝒛𝟏𝟏− 𝜶𝜶
𝒙𝒙
𝟐𝟐 𝒏𝒏
𝒏𝒏 𝟑𝟑𝟑𝟑 Given
We are to calculate a
�
𝒙𝒙 𝟒𝟒𝟒𝟒𝟒𝟒. 𝟓𝟓
confidence interval for 𝝁𝝁, the
𝒛𝒛𝟏𝟏− 𝜶𝜶 ? mean amount of cool drink in
𝟐𝟐
ALL the bottles (the
population mean).
(i) For a 95% confidence interval for the mean content:
𝜶𝜶
∴ 𝟏𝟏 − 𝜶𝜶 𝟏𝟏𝟏𝟏𝟏𝟏𝟏 = 𝟗𝟗𝟗𝟗𝟗 𝜶𝜶
𝟐𝟐
= 0.025 𝟐𝟐
= 0.025
𝜶𝜶 = 𝟎𝟎. 𝟎𝟎𝟎𝟎
𝜶𝜶 𝟎𝟎. 𝟎𝟎𝟎𝟎
𝟐𝟐 = = 𝟎𝟎. 𝟎𝟎𝟎𝟎𝟎𝟎
𝟐𝟐
𝜶𝜶 𝝈𝝈
∴ 𝟏𝟏 − = 𝟏𝟏 − 𝟎𝟎. 𝟎𝟎𝟎𝟎𝟎𝟎 = 𝟎𝟎. 𝟗𝟗𝟗𝟗𝟗𝟗 � ± 𝒛𝒛𝟏𝟏− 𝜶𝜶
𝒙𝒙
𝟐𝟐 𝟐𝟐 𝒏𝒏
Use the std 𝟓𝟓
∴ 𝒛𝒛𝟏𝟏− 𝜶𝜶 = 𝒛𝒛𝟎𝟎.𝟗𝟗𝟗𝟗𝟗𝟗 = 𝟒𝟒𝟒𝟒𝟒𝟒. 𝟓𝟓 ± 𝟏𝟏. 𝟗𝟗𝟗𝟗
𝟐𝟐 normal tables 𝟑𝟑𝟑𝟑
= 𝟏𝟏. 𝟗𝟗𝟗𝟗 = (𝟒𝟒𝟒𝟒𝟒𝟒. 𝟕𝟕𝟕𝟕 ; 𝟓𝟓𝟓𝟓𝟓𝟓. 𝟐𝟐𝟐𝟐)
We are 95% sure that μ lies in this interval ( L ; U )
(ii) For a 99% confidence interval for the mean content:
𝜶𝜶
∴ 𝟏𝟏 − 𝜶𝜶 𝟏𝟏𝟏𝟏𝟏𝟏𝟏 = 𝟗𝟗𝟗𝟗𝟗 𝜶𝜶
𝟐𝟐
= 0.005 𝟐𝟐
= 0.005
𝜶𝜶 = 𝟎𝟎. 𝟎𝟎𝟎𝟎
𝜶𝜶 𝟎𝟎. 𝟎𝟎𝟎𝟎
𝟐𝟐 = = 𝟎𝟎. 𝟎𝟎𝟎𝟎𝟎𝟎
𝟐𝟐
𝜶𝜶 𝝈𝝈
∴ 𝟏𝟏 − = 𝟏𝟏 − 𝟎𝟎. 𝟎𝟎𝟎𝟎𝟎𝟎 = 𝟎𝟎. 𝟗𝟗𝟗𝟗𝟗𝟗 � ± 𝒛𝒛𝟏𝟏− 𝜶𝜶
𝒙𝒙
𝟐𝟐 𝟐𝟐 𝒏𝒏
Use the std 𝟓𝟓
∴ 𝒛𝒛𝟏𝟏− 𝜶𝜶 = 𝒛𝒛𝟎𝟎.𝟗𝟗𝟗𝟗𝟗𝟗 = 𝟒𝟒𝟒𝟒𝟒𝟒. 𝟓𝟓 ± 𝟐𝟐. 𝟓𝟓𝟓𝟓𝟓𝟓
𝟐𝟐 normal tables 𝟑𝟑𝟑𝟑
= 𝟐𝟐. 𝟓𝟓𝟓𝟓𝟓𝟓 = (𝟒𝟒𝟒𝟒𝟒𝟒. 𝟏𝟏𝟏𝟏 ; 𝟓𝟓𝟓𝟓𝟓𝟓. 𝟖𝟖𝟖𝟖)
We are 99% sure that μ lies in this interval ( L ; U )