Isom 2500
Isom 2500
Isom 2500
Topic 3: Estimation
Part a
Probability
Random
variables
Discrete
Random
Variable
Continuous
Random
Variable
Sampling
distribution
Simple
Linear
regression
Hypothesis
testing
Estimation
Confidence
intervals
2
Sample mean, x
i =1
xi
x1 x2 ... x100
(
)
100
=4800.03 seconds
s2
x
i 1
n 1
, s s2
Point Estimate
Estimate Population with Sample
Parameter Statistic
_
Mean
X
Proportion
Variance
Difference
-
1
ps
s
2
_
_
x - x
1
Proportions
Customer Identity
Customer 1
Customer 2
Customer 3
Customer 4
Customer 5
12
Random Sample
14
Example
Sample
Sample
Sample
Sample
Sample
1:
2:
3:
4:
5:
2
5
1
4
2
3
4
5
5
3
4
3
3
4
2
mean
mean
mean
mean
mean
=
=
=
=
=
3
4
3
3.33
2.33
15
Example
Sample
Sample
Sample
Sample
Sample
1:
2:
3:
4:
5:
2
5
1
4
2
3
4
5
5
3
continued
4
3
3
4
2
mean
mean
mean
mean
mean
=
=
=
=
=
3
4
3
3.33
2.33
Observation:
Sample Variation
Sampling Distribution of
the Sample Mean
Sampling distribution of the sample
mean x is the probability distribution of the
population of the sample means obtainable
from all possible samples of size n from a
population of size N.
1 n
n
i 1
18
In general,
Sample Statistics are random variables and
have distributions.
19
Example
Developing Sampling Distribution
of Sample Mean
Suppose theres a
population...
C
D
Random variable, X,
is Age of individuals
Values of X: 18, 20, 22, 24
(measured in years)
EVERYONE is one of these 4
ages in this population
20
Example
Continued
Population Characteristics
Summary Measure
Population Distribution
X
i 1
P(X)
.3
18 20 22 24
21
4
.2
.1
0
i
i 1
2 . 236
(18)
(20)
(22)
(24)
21
Example
Continued
2nd Observation
18
20
22
24
16 Sample Means
18 18 19 20 21
20 19 20 21 22
16 Samples
Samples Taken with
Replacement
22 20 21 22 23
24 21 22 23 24
22
Example
Continued
P(X)
18 18 19 20 21
.3
20 19 20 21 22
.2
22 20 21 22 23
.1
24 21 22 23 24
# in sample = 2,
Sample Means
Distribution
18 19
20 21 22 23
24
# in Sampling Distribution = 16
X
23
Example
Continued
X
i 1
18 19 19 24
21
16
X
N
i1
18 21 19 21
2
16
24 21
1.58
24
Example
Continued
_ x 21
= 21, = 2.236
P(X)
.3
P(X)
.3
.2
.2
.1
.1
X 0
(18)
(20)
(22)
(24)
18 19
n=2
x 1.58
20 21 22 23
24
25
Example
Continued
X
i 1
18 20 22 24
21
4
i
i 1
2.236
26
Unbiased estimator
E.g. E ( X ) , E ( s 2 ) 2
Otherwise its biased, e.g. E (s )
27
Biased
E ()
expected true
P(X)
Unbiased
Biased
Bias =
= the difference between the expected value of the
estimator and the true value in the population.
28
sample
E( X )
population mean
29
More accurate
(sampling
distribution
of Estimate 1)
less accurate
(sampling
distribution
of Estimate 2)
30
31
32
Sampling Distribution of
the Sample Mean: Normal Model
Normal Models
Sample
Population Distribution
=
= 10
10
=
= 50
50
n =16
X = 2.5
n=4
X = 5
-X
-=
X
= 50
50
X
X
Central Tendency
_
=
x
Variation
x_ =
X
X
Sample
=
Population Distribution
= 10
= 50
Sampling Distributions
n=4
X = 5
n =30
X =
1.8
X 50
x_ =
n
33
Sampling Distribution
of the sample mean
Becomes
Almost Normal
regardless of
shape of
population
X
X
34
X ~ N ( ,
X ( E ( X )) ,
35
36
General Conclusions
1.
2.
General Conclusions
Continued
3.
That is, x =
4.
39
Example
)
3
3
P ( Z 1) 0.1586
40
Example
Continued
3 2
X ~ N (298, ( ) )
6
_
P( X < 295)
X 298 295 298
)
P(
3/ 6
3/ 6
P( Z 2.45) .0071
41
Example
Continued
_
P(X<295) = 0.1586, but P( X < 295) = 0.0071
Averages have less variation than individual
observations.
As the sample size increases, the variation in the
distribution decreases so that a value like 295ml is very
difficult and rare to occur in an average of a six pack or
more of bottles, but could quite easily occur
_ in a single
bottle.
X of 6
pdf
bottles
X, One
bottle
298
295
X
42
Example
)
2 / 36 2 / 36 2 / 36
P ( 0 .6 Z 0 .6 ) 0 .2257 2 0 .4514
43
X
n
i 1
sX
s
n
45
-> reflected in the fatter tails of the tdistribution compared to the standard normal
Properties of t Distribution
47
Degree of Freedom
Let x1=8
Let x2=13
Whats x3?
10
sX
continued
2610 . 62
2610 . 62
s
261 . 06 seconds
10
n
100
sX
261 . 06
~ t 99
49
X
X
X
t
sX
800000 / 64 100000
~ t 63
50
Point estimate
t-distribution
51
Probability
Random
variables
Discrete
Random
Variable
Continuous
Random
Variable
Sampling
distribution
Simple
Linear
regression
Hypothesis
testing
Estimation
Confidence
intervals
52
Appendix 3-1:
Proof for Variance of
Proportion
54
Let's suppose there are m 1s (and n-m 0s) among the n subjects.
Then,
and
is equal to (1-m/n) for m observations
and 0-m/n for (n-m) observations. When these results are combined, the
final result is
55
Appendix 3-2:
Proof that sample
variance is unbiased
56
57
58