Download X - eLisa UGM

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
Statistika
Chapter 7
Sampling and
Sampling Distributions
Tools of Business Statistics
 Descriptive statistics
 Collecting, presenting, and describing data
 Inferential statistics
 Drawing conclusions and/or making decisions
concerning a population based only on sample
data
Population vs. Sample
Population
a b
Sample
cd
b
ef gh i jk l m n
o p q rs t u v w
x y
z
c
gi
o
n
r
y
u
Why Sample?
 Less time consuming than a census
 Less costly to administer than a census
 It is possible to obtain statistical results of a sufficiently
high precision based on samples.
Simple Random Samples
 Every object in the population has an equal chance of
being selected
 Objects are selected independently
 Samples can be obtained from a table of random numbers
or computer random number generators
 A simple random sample is the ideal against which other
sample methods are compared
Inferential Statistics
Making statements about a population by examining
sample results
Sample statistics
(known)
Population parameters
Inference
Sample
(unknown, but can
be estimated from
sample evidence)
Population
Inferential Statistics
Drawing conclusions and/or making decisions
concerning a population based on sample results.
 Estimation
 e.g., Estimate the population mean weight
using the sample mean weight
 Hypothesis Testing
 e.g., Use sample evidence to test the claim
that the population mean weight is 120
pounds
Sampling Distributions
 A sampling distribution is a distribution of
all of the possible values of a statistic for a
given size sample selected from a
population
 Seperti distribusi sampling rata-rata
Sampling Distributions of
Sample Means
Sampling
Distributions
Sampling
Distribution of
Sample
Mean
Sampling
Distribution of
Sample
Proportion
Sampling
Distribution of
Sample
Variance
Developing a
Sampling Distribution
 Assume there is a population …
 Population size N=4
 Random variable, X,
is age of individuals
 Values of X:
18, 20, 22, 24 (years)
A
B
C
D
Developing a
Sampling Distribution
Summary Measures for the Population Distribution:
X

μ
P(x)
i
N
18  20  22  24

 21
4
σ
 (X  μ)
i
N
.25
0
2
 2.236
18
20
22
24
A
B
C
D
Uniform Distribution
x
Developing a
Sampling Distribution
Now consider all possible samples of size n = 2
1st
Obs
2nd Observation
18
20
22
24
18 18,18 18,20 18,22 18,24
16 Sample
Means
20 20,18 20,20 20,22 20,24
1st 2nd Observation
Obs 18 20 22 24
22 22,18 22,20 22,22 22,24
18 18 19 20 21
24 24,18 24,20 24,22 24,24
20 19 20 21 22
16 possible samples
(sampling with
replacement)
22 20 21 22 23
24 21 22 23 24
Developing a
Sampling Distribution
Sampling Distribution of All Sample Means
Sample Means
Distribution
16 Sample Means
1st 2nd Observation
Obs 18 20 22 24
18 18 19 20 21
20 19 20 21 22
22 20 21 22 23
24 21 22 23 24
_
P(X)
.3
.2
.1
0
18 19
20 21 22 23
(no longer uniform)
24
_
X
Developing a
Sampling Distribution
Summary Measures of this Sampling Distribution:
X

E(X) 
N
σX 

i
18  19+19  20 

16
 24
 21  μ
2
(X

μ)
i

N
(18-21) 2  (19-21) 2 
16
 (24-21) 2
 1.58
Comparing the Population with its
Sampling Distribution
Population
N=4
μ  21
σ  2.236
Sample Means Distribution
n=2
μX  21
σ X  1.58
_
P(X)
.3
P(X)
.3
.2
.2
.1
.1
0
18
20
22
24
A
B
C
D
X
0
18 19
20 21 22 23
24
_
X
Expected Value of Sample Mean
 Let X1, X2, . . . Xn represent a random sample from a
population
n
1
X   Xi
n i1
 The sample mean value of these observations is
defined as
Standard Error of the Mean
 Different samples of the same size from the same
population will yield different sample means
 A measure of the variability in the mean from sample to
sample is given by the Standard Error of the Mean:
σ
σX 
n
 Note that the standard error of the mean decreases as
the sample size increases
If the Population is Normal
 If a population is normal with mean μ and standard
deviation σ, the sampling distribution of mean sampel (xbar) is also normally distributed with
μX  μ
x
σ
σX 
n
σ
(μ,
)
n
Z-value for Sampling Distribution
of the Mean
 Z-value for the sampling distribution of
:
( X  μ) ( X  μ)
Z

σ
σX
n
where:
X = sample mean
μ = population mean
σ = population standard deviation
n = sample size
If the Population is not Normal
 We can apply the Central Limit Theorem:
 Even if the population is not normal,
 …sample means from the population will be approximately
normal as long as the sample size is large enough.
Properties of the sampling distribution:
and
μx  μ
σ
σx 
n
Central Limit Theorem
As the
sample
size gets
large
enough…
n↑
the sampling
distribution
becomes
almost normal
regardless of
shape of
population
x
If the Population is not Normal
Population Distribution
Sampling distribution
properties:
Central Tendency
μx  μ
σ
σx 
n
Variation
μ
x
Sampling Distribution
(becomes normal as n increases)
Larger
sample
size
Smaller
sample size
μx
x
How Large is Large Enough?
 For most distributions, n > 25 will give a sampling
distribution that is nearly normal
 For normal population distributions, the sampling
distribution of the mean is always normally distributed
Example
 Dipunyai rata-rata nilai stat μ = 8 dan dev standard σ = 3.
Diambil sampel random berukuran n = 36.
 Berapakah probabilitas rata-rata sampel terletak antara
7.8 dan 8.2?
 Sampel mean ~N(8, σ = 0.5)


μX -μ
 7.8 - 8
8.2 - 8 
P(7.8  μ X  8.2)  P



3
σ
3


36
n
36


 P(-0.5  Z  0.5)  0.3830
Example
 Dipunyai rata-rata berat timbang susu merk XYZ μ = 500,1
gr dan dev standard σ =1.3. Diambil sampel random
berukuran n = 36.
 Berapakah probabilitas rata-rata sampel kurang dari 500
gram ?
 Sampel mean ~N(500,1, σ = 0.217)


 x -μ
500-500,1 
P(x  500)  P


σ
1,3


n
36


 P(Z  0.4615)  0.32
Related documents