Download SAMPLING DISTRIBUTIONS

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
INFERENTIAL STATISTICS
By using the sample statistics, researchers are
usually interested in making inferences about the
population.
This branch of statistics is referred to as
INFERENTIAL STATISICS.
INFERENTIAL STATISICS
i. Estimation
ii. Hypothesis testing
Sampling Distribution
The distribution of values for that sample statistic
obtained from all possible samples of a population. The
samples must all be the same size, and the sample
statistic could be any descriptive sample statistic.
The distribution is used for judging the quality (precision)
of that estimate.
Example
As a hypothetical example, suppose that in a population
of 5 hospitalized patients, the length of hospitalization (in
days) are given
x1=5
x2=7
x3=4
x4=5
x5=3
Assume that a sample of size 2 will be selected. The list
of all possible samples of size2, and the estimated
avarege length of hospitalization per subject will be as
follows
Possible
Samples
x1,x2
x1,x3
x1,x4
x1,x5
x2,x3
x2,x4
x2,x5
x3,x4
x3,x5
x4,x5
Estimated
Average
x1  5  7  2  6
The distribution of sample
x2  5  4 2  4.5 means is called the
x3  5  5 2  5 Sampling Distribution of
mean. This distribution is a
x4  5  3 2  4
Normal Distribution.
x5  7  4 2  5.5
x6  7  5 2  6
x7  7  3 2  5
x8  4  5 2  4.5
x9  4  3 2  3.5
x10  5  3 2  4
If say x4 were 15 instead of 5. What would change?
Possible Samples Estimated Average
x1,x2
x1,x3
x1,x4
x1,x5
x2,x3
x2,x4
x2,x5
x3,x4
x3,x5
x4,x5
x1  5  7  2  6
x2  5  4 2  4.5
x3  5  5 2  5
x4  5  3 2  4
x5  7  4 2  5.5
x6  7  5 2  6
x7  7  3 2  5
x3  5  15 2  10
x6  7  15 2  11
x8  4  5 2  4.5 x8  4  15 2  9.5
x9  4  3 2  3.5
x10  5  3 2  4
x10  15  3 2  9
Now, suppose that a sample of size 3 (n=3) is going to be
selected from this population. List of all posible samples
of size 3, and estimated average length of hospitalization
will be: Possible Samples Estimated Average
x  5  7  4 3  5.33
x1,x2,x3
x  5  7  5 3  5.67
x1,x2,x4
x1,x2 ,x5
x  5  7  3 3  5.00
x1,x3 ,x4
x  5  4  5 3  4.67
x1,x3 ,x5
x  5  4  3 3  4.00
x1,x4 ,x5
x  5  5  3 3  4.33
x2,x3 ,x4
x  7  4  5 3  5.33
x2,x3 ,x5
x  7  4  3 3  4.67
x2,x4 ,x5
x  7  5  3 3  5.00
x3,x4 ,x5
x  4  5  3 3  4.00
1
2
3
4
5
6
7
8
9
10
Again assuming that x4=15, sample means are
Possible Samples Estimated Average
x1  5  7  4 3  5.33
x1,x2,x3
x1,x2,x4
x1,x2 ,x5
x1,x3 ,x4
x1,x3 ,x5
x1,x4 ,x5
x2,x3 ,x4
x2,x3 ,x5
x2,x4 ,x5
x3,x4 ,x5
x2  5  7  5 3  5.67
x2  5  7  15 3  9.00
x3  5  7  3 3  5.00
x4  5  4  5 3  4.67
x4  5  4  15 3  8.00
x6  5  5  3 3  4.33
x7  7  4  5 3  5.33
x6  5  15  3 3  7.67
x7  7  4  15 3  8.67
x5  5  4  3 3  4.00
x8  7  4  3 3  4.67
x9  7  5  3 3  5.00
x10  4  5  3 3  4.00
x9  7  15  3 3  8.33
x10  4  15  3 3  7 .33
A Normal Distribution is characterized by its mean and
its standard deviation (or its variance).
The mean of the sampling distribution of the sample
mean is always equal to the population mean.
The population mean,  (which is unknown) in our
hypothetical example is
=(5+7+4+5+3)/5=4.8 days
=(5+7+4+15+3)/5=6.8 days
When n=2 mean of the sample means
 x =(6+4.5+5+...+4)/10=48/10=4.8
 x =(6+4.5+10+...+9)/10=68/10=6.8
When n=3 mean of the sample means
 x =(6+4.5+5+...+4)/10=48/10=4.8
 x =(6+4.5+10+...+9)/10=68/10=6.8
The scatter of all possible sample means, around the
unknown population mean is measured by the variance
(or standard deviation) of the sampling distribution of the
sample means.
The variance of all possible sample means is directly
proportional with the population variance (2) and
inversly proportional with the sample size (n).
2
2
Thus the variance of the sample means:
x

 
n
The standard deviation of sample means is also
known as

the standard error of the mean:  x 
n
When  (the population standard deviation) is unknown,
it can be estimated from the sample.
Then, the estimated standard error
s
sx 
n
The distribution of sample mean will possess the
following properties:
1. The distribution of x will be normal.
2. The mean  x of the distribution of x will be equal
to the mean of the population from which the
samples were drawn.
3. The variance  2 of the distribution of x will be
x
equal to the variance of the population divided by the
2
sample size ,

2
x 
n
Its square root, the standard deviation is referred to as
the standard error
x 

n
n=4
n=3
How we can use these properties:
Remember
xi~ N(,) P(Xx0) can be found by transforming x to
z, where z  xi  

Instead of individual xi values, if our concern is the
probability that the mean of a sample of size n, is greater
than (or smaler than) x0, that is P( x x0) can be
calculated similar to the previous transformation:
Individual xi’s
z
xi  

Sample Mean
x
z
 n
Example (Regarding Xi’s)
If the mean and standard deviation of serum iron values
for healty men are 120 and 15 gr/100 ml., respectively,
what is the probability that a random selected healty man
will have a serum iron value less than 115 gr/100 ml.?
P(Xi 115)=?
z
xi  

115  120

 0.33
15
P(Zi -0.33)=0.37
(Regarding means, x‘s)
If the mean and standard deviation of serum iron values
for healty men are 120 and 15 gr/100 ml., respectively,
what is the probability that a random sample of 50 men
will yield a mean less than 115 gr/100 ml.?
P( x 115)=?
x   115  120
z

 2.36
 n 15 50
P(Zi -2.36)=0.009
The above properties can also be used to make
INTERVAL ESTIMATION.
A point estimation is a single numerical value used to
estimate the corresponding population parameter
x
estimates

An interval estimate consists of two numerical values
defining an interval which, with a specified degree of
confidence, we feel includes the parameter being
estimated. This interval is also named as “The
Confidence Interval” for a parameter.
Example
The distribution of x‘s are normal.
The shaded area covers
95% of the total area. In
other words, 95% of the
0.025
0.95
0.025
sample means, of the
same size, fall within this
interval
xi  x x j
 x  1.96 / n
 x  1.96 / n
P( xi   x  1.96
n AND xi   x  1.96
n)
P(  1.96
n  xi    1.96
n)
 P( xi  1.96
n    xi  1.96
n )  0.95
Example
Suppose we wish to estimate the average score on the
2nd committee exam. To do this, a random sample of 10
students is selected with the following scores: 64, 37, 78,
73, 44, 59, 81, 51, 33, 46. From previous years
experience, I can assume that the standad deviation of
scores is approximately equal to 17.
Point estimate of the population mean:
10
 xi
566
x

 56.6
10
10
i 1
95% CI for the population mean:
56.6  (1.96)  (17) / 10    56.6  (1.96)  (17) / 10
46.06    67.14
90% CI for the population mean:
56.6  (1.64)  (17) / 10    56.6  (1.64)  (17) / 10
47.8    65.4
STANDARD NORMAL DISTRIBUTION TABLE
0.0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
1.1
1.2
1.3
1.4
1.5
1.6
1.7
1.8
1.9
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
3.0
0.00
0.0000
0.0398
0.0793
0.1179
0.1554
0.1915
0.2257
0.2580
0.2881
0.3159
0.3413
0.3643
0.3849
0.4032
0.4192
0.4332
0.4452
0.4554
0.4641
0.4713
0.4772
0.4821
0.4861
0.4893
0.4918
0.4938
0.4953
0.4965
0.4974
0.4981
0.4987
0.01
0.0040
0.0438
0.0832
0.1217
0.1591
0.1950
0.2291
0.2611
0.2910
0.3186
0.3438
0.3665
0.3869
0.4049
0.4207
0.4345
0.4463
0.4564
0.4649
0.4719
0.4778
0.4826
0.4864
0.4896
0.4920
0.4940
0.4955
0.4966
0.4975
0.4982
0.4987
0.02
0.0080
0.0478
0.0871
0.1255
0.1628
0.1985
0.2324
0.2642
0.2939
0.3212
0.3461
0.3686
0.3888
0.4066
0.4222
0.4357
0.4474
0.4573
0.4656
0.4726
0.4783
0.4830
0.4868
0.4898
0.4922
0.4941
0.4956
0.4967
0.4976
0.4982
0.4987
0.03
0.0120
0.0517
0.0910
0.1293
0.1664
0.2019
0.2357
0.2673
0.2967
0.3238
0.3485
0.3708
0.3907
0.4082
0.4236
0.4370
0.4484
0.4582
0.4664
0.4732
0.4788
0.4834
0.4871
0.4901
0.4925
0.4943
0.4957
0.4968
0.4977
0.4983
0.4988
0.04
0.0160
0.0557
0.0948
0.1331
0.1700
0.2054
0.2389
0.2704
0.2995
0.3264
0.3508
0.3729
0.3925
0.4099
0.4251
0.4382
0.4495
0.4591
0.4671
0.4738
0.4793
0.4838
0.4875
0.4904
0.4927
0.4945
0.4959
0.4969
0.4977
0.4984
0.4988
0.05
0.0199
0.0596
0.0987
0.1368
0.1736
0.2088
0.2422
0.2734
0.3023
0.3289
0.3531
0.3749
0.3944
0.4115
0.4265
0.4394
0.4505
0.4599
0.4678
0.4744
0.4798
0.4842
0.4878
0.4906
0.4929
0.4946
0.4960
0.4970
0.4978
0.4984
0.4989
0.06
0.0239
0.0636
0.1026
0.1406
0.1772
0.2123
0.2454
0.2764
0.3051
0.3315
0.3554
0.3770
0.3962
0.4131
0.4279
0.4406
0.4515
0.4608
0.4686
0.4750
0.4803
0.4846
0.4881
0.4909
0.4931
0.4948
0.4961
0.4971
0.4979
0.4985
0.4989
0.07
0.0279
0.0675
0.1064
0.1443
0.1808
0.2157
0.2486
0.2794
0.3078
0.3340
0.3577
0.3790
0.3980
0.4147
0.4292
0.4418
0.4525
0.4616
0.4693
0.4756
0.4808
0.4850
0.4884
0.4911
0.4932
0.4949
0.4962
0.4972
0.4979
0.4985
0.4989
0.08
0.0319
0.0714
0.1103
0.1480
0.1844
0.2190
0.2517
0.2823
0.3106
0.3365
0.3599
0.3810
0.3997
0.4162
0.4306
0.4429
0.4535
0.4625
0.4699
0.4761
0.4812
0.4854
0.4887
0.4913
0.4934
0.4951
0.4963
0.4973
0.4980
0.4986
0.4990
0.09
0.0359
0.0753
0.1141
0.1517
0.1879
0.2224
0.2549
0.2852
0.3133
0.3389
0.3621
0.3830
0.4015
0.4177
0.4319
0.4441
0.4545
0.4633
0.4706
0.4767
0.4817
0.4857
0.4890
0.4916
0.4936
0.4952
0.4964
0.4974
0.4981
0.4986
0.4990
P(0<Z<zi)
The t-distribution
In the previous sections procedures were outlined for
constructing CI for a population mean. These
procedures require a knowledge about the population
standard deviation, , from which the sample is
drawn. This condition presents a problem when
constructing confidence intervals and when finding
probabilities related with the sample mean.
x   is normally distributed
z
 n
When  is unknown, use sample standard deviation


xi 

2
  xi 
n
s

n 1


2
The quantity
1/ 2


 to replace 



x   follows a t-distribution.
t
s n
Like the standard normal distribution, the t-distribution is
also tabulated
When  is unknown, its estimate, the sample standard
deviation is used to construct CI’s.
The inequality becomes:
xi  t( n1; )
s
s
   xi  t( n 1; )
n
n
Example
A researcher wishes to estimate the average age of the
mother at first birth. He selects 10 mothers at random,
and gathers the following data:
Mother No
1
2
3
4
5
6
7
8
9
10
Age at first birth 24 20 26 19 20 23 28 22 18 25
Point estimate of the population mean:
x

x
225

 22.5 years
10
i
n
Sample standard deviation:

x

x  n
2
s
i
2
i
n 1
(225) 2
5159 
10  3.27

9
Estimated standard eror of the mean:
s
3.27
sx 

 1.04
n
10
If the researcher wishes to be 95% confident in his
estimate:
xi  t( n1; )
s
s
   xi  t( n 1; )
n
n
22.5  2.26(1.04)    22.5  2.26(1.04)
20.15    24.85
DISTRIBUTION OF THE SAMPLE PROPORTION
From the population, take all possible samples of a given
size and for each sample compute the sample proportion,
p. The frequency distribution of p is normal.
The mean of the distribution, p ,is equal to the
population proportion, P. The standard deviation of the
distribution (standad error of proportion) is equal to
p 
p(1  p)
n
How we can use this property:
Example: To find some probabilities related to the
sample proportion
If xi’s are normally distributed:
z
Since x ’s are normally distributed:
Since p’s are normally distributed:
xi  

x
z
 n
z
pP
P(1  P)
n
Example:
Suppose we know that in a certain human population 8%
are colorblind. If we randomly select 50 individuals
from this population what is the probability that the
proportion in the sample who are colorblind will be
more than 10%?
P( P  0.10)  ?
z
0.10  0.08
 0.52
(0.08)(0.92)
50
P( z  0.52)  0.31
CONFIDENCE INTERVAL FOR
A POPULATION PROPORTION
When P, population proportion is unknown, its estimate,
the sample proportion, p can be used.
p  t( n1; )
p(1 - p)
p(1 - p)
 P  p  t( n 1; )
n
n
Example
A researcher wishes to estimate, with 95% confidence,
the proportion of woman who are at or below 20 years
of age at first birth.
Point estimate of the population proportion:
p=a/n=4/10=0.4
Estimated standard error of the mean:
sp 
p(1  p)
(0.4)(0.6)

 0.15
n
10
p  t( n1; )
p(1 - p)
p(1 - p)
 P  p  t( n 1; )
n
n
0.4  (2.26)(0.15)  P  0.4  (2.26)(0.15)
0.06  P  0.74
In the above example if the sample size
were 100 instead of 10, then the 95%
confidence interval would be:
0.29  P  0.51
Among 250 students of Hacettepe University
interwieved 185 responded that they reqularly read
a daily newspaper. With 95% confidence, find an
interval within which the proportion of students
who regularly read a newspaper in Hacettepe
University lie.
185
Point estimate of the proportion of students
p
 0.74 who read a newspaper.
250
p(1  p)
0.74x 0.26
Sp 

 0.028
n
250
The standard error of the estimate is 0.028.
In oder words, the standard deviation of the proportions that
can be computed from all possible samples of size 250 is
0.028.
The 95% Confidence Interval is:
p  t ( ;n 1)Sp  P  p  t ( ;n 1)Sp
0.74  1.96(0.028)  P  0.74  1.96(0.028)
0.69  P  0.80
Related documents