Sampling Distribution and P G Estimation: T I3 Topic 3
Sampling Distribution and P G Estimation: T I3 Topic 3
Topic
Sampling
p g Distribution and
Estimation
Section 1 – Estimation
Section 1.1 Point Estimate
1
Section 1 – Estimation
Section 1.1 Point Estimate
Definitions:
Section 1 – Estimation
Section 1.2 Estimator
2
Section 1 – Estimation
Section 1.2 Estimator
Population Sample
Parameter Statistic
Mean X
Standard deviation s
Variance 2 s2
Proportion p p
Section 1 – Estimation
Section 1.2 Estimator
Example:
3
Section 1 – Estimation
Section 1.2 Estimator
Example:
H takes
He k a sample
l off 10 scores:
Section 1 – Estimation
Section 1.2 Estimator
95 67 79
X 74.9
10
4
Section 1 – Estimation
Section 1.2 Estimator
The estimator for the population variance is the sample
variance, s 2 .
s 2
95 2
67 2 792 10(74.9) 2
247.65
10 1
The professor can use X 74.9 and s 2 247.65 to do his
or her class performance analysis. The formula for
combinations reveals that there are 50 C10 10,272,278,000
possible estimates each for the population mean and the
population variance.
Section 1 – Estimation
Section 1.2 Estimator
Definition:
An Interval
A I t l Estimate
E ti t is i constructed
t t d aroundd the th
point estimate, and it is stated that this interval is likely to
contain the corresponding population parameter. Interval
estimates indicate the precision, or accuracy, of an
estimate and are therefore preferable.
5
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
Definition:
The population
l ti di t ib ti
distribution is the probability
distribution of the population data.
Example:
6
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
Example:
7
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
8
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
X f f (X )
76.00 2 0.2
76.67 1 0.1
79.33 1 0.1
81 00
81.00 1 01
0.1
81.67 2 0.2
84.33 2 0.2
85.00 1 0.1
9
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
Example:
70 78 80 80 95
80.60
5
10
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
70 80 95
X 81.67
3
Consequently, Sample Error X 81.67 80.60 1.07
That is, the mean score estimated from the sample is 1.07
higher than the mean score of the population. Note that
this difference occurred due to chance, that is, because we
used a sample instead of the population.
70 82 95
X 82.33
3
11
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
However, this difference between the sample mean and the
population mean does not represent the sampling error.
12
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
X
where
h is
i the
th standard
t d d deviation
d i ti off the
th population
l ti andd n is
i
the sample size. This formula is used when n / N 0.05 ,
where N is the population size.
13
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
N n
X
n N 1
finite population
correction factor
Case I:
Sampling from a Normally Distributed Population
Case II:
Sampling from a population that is not Normally
Distributed
14
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
p of the sampling
1. The shape p g distribution of X is normal,
whatever the value of n.
2. The mean of X , X , is equal to .
3. The standard deviation of X , X , is equal to X .
n
( assume n / N 0.05 )
Most of the time the population from which the samples are
selected is not normally distributed.
15
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
Mean X X
Standard error X / n X / n
2 2
Notation X ~ N , X ~ N ,
n n
16
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
Example:
Solution:
X 195 198
P ( X 195) P
4
P Z 0.75 0.2266
17
Section 2 – Sampling Distribution
Section 2.1 Sampling Distribution of the Sample Mean
X 198;; X X N 198,,
n 50 50
X X 199 198
P ( X 199) P P Z 1.77 0.0384
X 4 / 50
Definition:
The population
l ti proportionti , denoted by p, is
obtained by taking the ratio of the number of elements in a
population with a specific characteristic to the total number
of elements in the population.
18
Section 2 – Sampling Distribution
Section 2.2 Sampling Distribution of the Sample Proportion
x x
p and p
N n
w ee
where
N – Total number of elements in the population
n – Total number of elements in the sample
x – Number of elements in the population or sample that
possess a specific characteristic
Example:
19
Section 2 – Sampling Distribution
Section 2.2 Sampling Distribution of the Sample Proportion
Now, suppose a sample of 240 families is taken from this
city and 158 of them are homeowner.
Th
Then, n 240 andd x 158 .
x 158
The sample proportion is p 0.6583
n 240
The difference between the sample proportion and the
corresponding population proportion gives the sampling
error, assuming that the sample is random and no non-
sampling error has been made. That is, in case of the
proportion,
Sample Error p p 0.6583 0.7133 0.055
Example:
Boe Consultant Associates has five employees. The
following table gives the name of these five employees
and information concerning their knowledge of statistics.
20
Section 2 – Sampling Distribution
Section 2.2 Sampling Distribution of the Sample Proportion
21
Section 2 – Sampling Distribution
Section 2.2 Sampling Distribution of the Sample Proportion
p f ( p)
0.33 0.30
0.67 0.60
1.00 0.10
22
Section 2 – Sampling Distribution
Section 2.2 Sampling Distribution of the Sample Proportion
Sampling Distribution of p
Mean p p
p(1 p)
Standard error p
n
p (1 p )
2
Notation
p ~ N p,
n
23
Section 2 – Sampling Distribution
Section 2.2 Sampling Distribution of the Sample Proportion
Example:
Solution:
This gives:
p (1 p ) (0.46)(0.54)
p p 0.46, p 0.0352
n 200
24
Section 2 – Sampling Distribution
Section 2.2 Sampling Distribution of the Sample Proportion
p ~ N (0.46, (0.0352) 2 )
Required probability:
p p 0.50 0.46
P ( p 0.50) P P( Z 1.14) 0.1271
0.0352
p
A 0.46
0 46
1.645 A 0.4021
0.0352
25
Section 2 – Sampling Distribution
Section 2.3 Sampling Distribution of the Sample Variance
Definition:
The quantity
1 n
s
2
n 1 i 1
( xi x ) 2
26
Section 2 – Sampling Distribution
Section 2.3 Sampling Distribution of the Sample Variance
Then,
(n 1) s 2 1 n
2
2 (x x )
i 1
i
2
freedom
27
Section 2 – Sampling Distribution
Section 2.3 Sampling Distribution of the Sample Variance
n 1
28
Section 2 – Sampling Distribution
Section 2.3 Sampling Distribution of the Sample Variance
Solution:
From the ggiven information,, n 6 and 2 3.62 12.96
Let K be the required upper bound.
We have,
(n 1) s 2
P( s K ) P
2
52 0.05
12.96
(n 1) s 2 (6 1) K
11.07 K 28.69
12.96 12.96
29
Section 2 – Sampling Distribution
Section 2.3 Sampling Distribution of the Sample Variance
Example:
A manager of a quality assurance food company wants to ensure
the variation of ppackage
g weights
g is small so that the company
p y
does not produce a large proportion of packages that are under
the stated package weight. The manager wants to obtain upper
and lower limits for the ratio of the sample variance divided by
the population variance for a random sample of
n 20 observations.
The limits are such that the probability that the ratio is below the
lower limit is 0.025 and the probability that the ratio is above the
upper limit is 0.025. Thus, 95% of the ratios will be between
these limits. The population distribution can be assumed to be
normal.
Solution:
s2 s2
P 2 K L 0.025 and P 2 KU 0.025
30
Section 2 – Sampling Distribution
Section 2.3 Sampling Distribution of the Sample Variance
For the (n 1) s 2
lower limit: 0.025 P 2 (n 1) K L P ( (n 1) K L )
2
8.91 19 K L K L 0.4689
32.85 19 KU KU 1.7289
I. Unbiasedness
II. Efficiency
III. Consistency
31
Section 2 – Sampling Distribution
Section 2.4 Properties of Estimators
Unbiasedness
Efficiency
32
Section 2 – Sampling Distribution
Section 2.4 Properties of Estimators
Consistency
2
As n , Var
A V (X ) 0 .
nn
33
Section 3 – Confidence Interval
Definitions:
34
Section 3 – Confidence Interval
35
Section 3 – Confidence Interval
E Z /2
n
Example:
36
Section 3 – Confidence Interval
Solution:
37
Section 3 – Confidence Interval
4.5
X Z /2 48.40
48 40 1.9
1 96 (46.93,4
(46 93 499.87)
n 36
Thus, we are 95% confident that the mean price of all such
college textbooks is between $46.93 and $49.87.
All we can say is that we are 95% confident that the mean
price of all such college textbooks between $46.93 and
$49.87.
38
Section 3 – Confidence Interval
Illustration:
95% C.I. 95% C.I. – #1
X 1 K1 X1 X 1 K1
95% C.I. – #2
X 2 K2 X2 X 2 K2
95% C.I. – #3
95% C.I. – #4
95% C.I.
CI – #5
95% C.I. – #6
95% C.I. – #7
95% C.I. – #n
39
Section 3 – Confidence Interval
( i ) The value of Z
( ii ) The sample size n
40
Section 3 – Confidence Interval
Example (revisit):
41
Section 3 – Confidence Interval
Solution:
4.5
X Z /2 48.40 1.65 (47.16,49.64)
n 36
Solution:
4.5
X Z /2 48.40 1.96 (47.70,49.10)
n 160
160
Comparing this to the 95% confidence interval obtained
previously, (46.93,49.87) , it is observed that the width of
the 95% confidence interval for n 160 is smaller than the
one for n 36 .
42
Section 3 – Confidence Interval
43
Section 3 – Confidence Interval
Verify:
a. t4,0.05 2.132 and t4,0.95
, 2.132
b. t6,0.005 3.707 and t6,0.995 3.707
c. P (T t ) 0.10 with 22 t22,0.1 1.321
d. P (T t ) 0.05 with 16 t16,0.95 1.746
e Given that T t5 , P(T 3.365)
e. 3 365) 0.99
0 99
f. Given that T t8 , P (2.306 T 2.306) 0.95
g. Given that T t26 , P(T 3.435) 0.999
s
X t /2, n1
n
where
p mean; s is sample
X is sample p standard deviation; n is the
sample size; and t /2, n1 is obtained from the t distribution
table for n 1 d.f. and the (1 )100% confidence level.
44
Section 3 – Confidence Interval
Example:
Solution:
n 25, X 186, s 12
D
Degree off ffreedom:
d 25 1 24
45
Section 3 – Confidence Interval
s 12
X t /2, n1 186 2.064 (181.0464,190.9536)
n 25
AMA 1006
Lecture Notes
~ END ~
46