Escolar Documentos
Profissional Documentos
Cultura Documentos
STATISTIKA
&
PROBABILITAS
9th week
Review
I. What’s in last lecture?
Continuous Probability distribution
Sampling Distribution
Sampling Method
1
3/13/2019
Inference
Statistic
Inference
Use a random
sample to learn
something about a
larger population
2
3/13/2019
Types of Inference
Descriptive statistic
𝑥ҧ = 4.55
𝑠 = 5.17
𝑚𝑒𝑑𝑖𝑎𝑛 = 4.0
etc
3
3/13/2019
Type of Inference
4
3/13/2019
POINT ESTIMATION OF A
POPULATION MEAN
The object of point estimation is to calculate, from the
sample data, a single number that is likely to be close
to the unknown value of the parameter.
A statistic intended for estimating a parameter is called
a point estimator, or simply an estimator.
The standard deviation of an estimator is called
standard error: S.E.
In case Example 1, we would naturally compute the
mean of the sample data. Employing the estimator 𝑋ത
with the data of Table 1, we get the result 𝑋ത = 4.55,
which we call a point estimate, or simply an estimate
of m
Point Estimation
10
5
3/13/2019
11
Illustration
𝑥ҧ − 𝜇
𝑧= 𝜎
Let us review the results from ൗ 𝑛
Chapter Sampling Distribution.
1. Mean of 𝑋ത = 𝜇 → 𝐸(𝑋) ത =𝜇
ത = 𝜎 → 𝑆. 𝐸. (𝑋)
2. 𝑠𝑑(𝑋) ത = 𝜎
𝑛 𝑛
3. n large → 𝑋ത is nearly normal distributed
12
6
3/13/2019
Define:
(1- α) is confident coefficient
(1- α) 100% is confidence level
13
14
7
3/13/2019
𝜎 𝜎
𝑥ҧ − zα/2( ) , 𝑥ҧ + zα/2( )
𝑛 𝑛
15
𝑠 𝑠
𝑋ത − zα/2( ) , 𝑋ത + zα/2( )
𝑛 𝑛
16
8
3/13/2019
Example
= (3.2, 5.9)
= (3.5, 5.6)
17
18
9
3/13/2019
19
Example:
Determining a Sample Size
A limnologist wishes to estimate the mean phosphate content
per unit volume of lake water. It is known from studies in
previous years that the standard deviation has a fairly stable
value of 𝜎 = 4. How many water samples must the limnologist
analyze to be 90% certain that the error of estimation does not
exceed 0.8 milligrams?
𝜎=4 𝑧𝛼/2 𝜎 2
1- α = 0.9 → α/2 = 0.05 𝑛 =
𝑑
From normal table 𝑧0.05 = 1.645 1.645 𝑥 4 2
= 0.8
d = 0.8
= 67.65
= 68
20
10
3/13/2019
Exercise
21
Comparing Two
Treatments
22
11
3/13/2019
Example:
To compare the effectiveness of two drugs in curing a
disease, suppose that 8 patients are included in a clinical
study. Here, the time to cure is the response of interest.
23
24
12
3/13/2019
𝜇1 𝑎𝑛𝑑 𝜎1
𝜇2 𝑎𝑛𝑑 𝜎2
25
Notations –
Comparing Two Means
Mean Variance Standard Deviation
Population 1 µ1 σ12 σ1
Population 2 µ2 σ22 σ2
Sample Mean Variance Standard
size Deviation
Sample from n1 ഥ
X s12 s1
Population 1
Sample from n2 ഥ
Y s22 s2
Population 2
26
13
3/13/2019
𝑠1 2 𝑠2 2
ഥ Y z α/2
X-ഥ +
𝑛1 𝑛2
𝑠1 2 𝑠2 2 𝑠12 𝑠2 2
ഥ
X−ഥ
Y − z α/2 + ,ഥ
X−ഥ
Y + z α/2 +
𝑛1 𝑛2 𝑛1 𝑛2
27
Example
Responses Firefighter Office Supervisor
Sample size 226 247
Sample mean 3.673 3.547
Sample Std Dev 0.7235 0.6089
Construct a 95% confidence interval for difference in mean
job satisfaction scores
Solution:
𝑠1 2 𝑠2 2 0.72352 0.60892
ഥ Y z α/2
X-ഥ + = 3.673 - 3.547 1.96 +
𝑛1 𝑛2 226 247
28
14
3/13/2019
Exercise
29
Student’s t
Distribution
30
15
3/13/2019
Student’s t Distribution
Fortunately, this statistic does have a sampling
distribution that is well known to statisticians,
called the Student’s t distribution, with
degrees of freedom (df) = n-1.
x−m
t=
s/ n
32
16
3/13/2019
Student’s t Distribution
33
𝑠 𝑠
𝑋ത − tα/2( ) , 𝑋ത + tα/2( )
𝑛 𝑛
where tα/2 is the upper α/2 point of the t distribution with d.f. = n-1.
34
17
3/13/2019
→ t0.025 = 2.262
35
Example
36
18
3/13/2019
Solution
Calculating the sample mean and standard
deviation we have
n =10, 𝑥ҧ = 86, and s = 11.842.
We find that the value of 𝑡𝛼/2 is 1.833 by looking
on the t table in the row corresponding to df =9,
in the column with label 𝑡.050.
The 90% confidence interval for µ is
𝑠 11.842
𝑥ҧ ± 𝑡𝛼/2 = 86 ± 1.833
𝑛 10
= 86 ± 6.86
= (79.14 ; 92.86)
37
38
19
3/13/2019
Exercise
39
Comparing Two
Treatments
(Small sample)
40
20
3/13/2019
1 1
(𝑥1- 𝑥2 ) t α/2 𝑠𝑝𝑜𝑜𝑙𝑒𝑑 2 𝑛1
+𝑛
2
𝑛1 − 1 𝑠1 2 + 𝑛2 − 1 𝑠2 2
𝑠𝑝𝑜𝑜𝑙𝑒𝑑 2 =
𝑛1 + 𝑛2 − 2
41
Example
A student recorded the mileage he obtained while
commuting to school in his car. He kept track of the
mileage for twelve different tanks of fuel, involving
gasoline of two different octane ratings. Compute the
95% confidence interval for the difference of mean
mileages. His data follow:
87 Octane 90 Octane
26.4, 27.6, 29.7 30.5, 30.9, 29.2
28.9, 29.3, 28.8 31.7, 32.8, 29.3
42
21
3/13/2019
Example
Let 87 octane fuel be the first group and 90 octane
fuel the second group, so we have n1 = n2 = 6 and
x1 =28.45, s1 = 1.228, x 2 =30.73, s 2 = 1.392
d.f.=n1 + n2 - 2=10. The critical
(n −value
1) s 2 + (of
n −t0.025
1) s 2 is52.228.
1.508 + 5 1.938
2
s = 1 1 2 2
= = 1.723
2 2
n1 + n22 − 2 10
𝑛1 − 1 𝑠1 + 𝑛2 − 1 𝑠2 5 1.228 + 5 1.3922
𝑠𝑝𝑜𝑜𝑙𝑒𝑑 2 = = = 1.723
𝑛1 + 𝑛2 − 2 2 10
1 1
x1 − x2 ta / 2 s +
n1 n2
1 1
(𝑥1- 𝑥2 ) t α/2 𝑠𝑝𝑜𝑜𝑙𝑒𝑑 2 𝑛1
+𝑛 = (28.45−
= 28.45 − 30.73 2.2.228
30.73) 228 1.723 (1 / 6 + 1 / 6)
2
1.723
1
+
1 = −2.28 1.688
6 6
The 95% confidence interval for µ 1 - µ2 is (-3.968 ; -0.592)
43
Exercise
44
22
3/13/2019
Key Concepts
I. Point Estimators
45
Key Concepts
III. Small-Sample Interval Estimaters
s
x t α/2
n
1 1
(𝑥1- 𝑥2 ) t α/2 𝑠𝑝𝑜𝑜𝑙𝑒𝑑 2 +
𝑛1 𝑛2
𝑛1 − 1 𝑠1 2 + 𝑛2 − 1 𝑠2 2
𝑠𝑝𝑜𝑜𝑙𝑒𝑑 2 =
𝑛1 + 𝑛2 − 2
46
23
3/13/2019
47
24