Professional Documents
Culture Documents
Sampling Distribution: 1 Populations and Samples
Sampling Distribution: 1 Populations and Samples
Sampling Distribution: 1 Populations and Samples
Sampling Distribution
BMIR Lecture Series in Probability and Statistics
Populations: Examples
• If there 600 students in the school whom we classified according to blood
type, we say that we have a population of size 600.
• The number of the cards in a deck, the heights of residents in a city, and
the lengths of cars in a parking lot are examples of populations with finite
number. The total number of observations is also a finite number.
• The observations obtained by measuring the atmospheric pressure every
day or all measurements of the depth of a lake are examples of populations
whose sizes are infinite.
8.3
An Observation
• Each observation in a population is a value of a random variable X having
some probability distribution f (x).
• For example, if one is inspecting items coming off an assembly line for
detect, then each observation in the population might be a value 0 or 1 of
the Bernoulli random variable X with probability distribution
b(x : 1, p) = px q1−x , x = 0, 1
1
Probability and Statistics 2/11 Fall, 2015
Sampling
Definition 2. A sample is a subset of population.
• In the statistical inference, statisticians are interested in arriving at con-
clusions concerning a population when it is impossible or impractical to
observe the entire set of observations that make up the population.
• We must depend on a subset of observations from the population to help
us make inferences concerning that same population.
• If our inferences are to be valid, we must obtain samples that are represen-
tative of the population.
• Any sampling procedure that produces inferences that consistently over-
estimate or consistently under-estimate some characteristic of the popula-
tion is said to be biased.
8.5
Random Sample
Definition 3. Let X1 , X2 , . . . , Xn be n independent random variables, each having
the same probability distribution function f (x). Define X1 , X2 , . . . , Xn to be a
random sample of size n from the population f (x) and write its joint probability
distribution as
f (x1 , x2 , . . . , xn ) = f (x1 ) f (x2 ) · · · f (xn )
• In a random sample, the observations are made independently and at ran-
dom.
• The random variable Xi , i = 1, . . . , n represents the ith measurement or sam-
ple value that we observe.
• And xi , i = 1, . . . , n represents the real value that we measure.
8.6
1 n 2
S2 = ∑ (Xi − X̄)
n − 1 i=1
!2
n n n
1
= ∑ ∑ Xi2 −
n(n − 1) i=1
n ∑ Xi
i=1 i=1
• Sample Range: Let Xmax denote the largest of the Xi values and Xmin the
smallest:
R = Xmax − Xmin
8.10
Solution 6. We find that ∑6i=1 xi2 = 171, ∑6i=1 xi = 31, and n = 6. Hence
1 13
s2 = (6)(171) − (31)2 =
(6)(5) 6
q
The sample standard deviation s = 13 6 = 1.47 and the sample range is 7 − 3 =
4.
8.11
3 Sampling Distributions
Sampling Distribution
and variance
1 2 σ2
σX̄2 = (σ + σ 2
+ · · · + σ 2
) =
n2 | {z } n
n terms
8.13
(X̄1 − µ1 ) − (X̄2 − µ2 )
Z= q 2 (1)
σ1 σ22
n1 + n2
is approximately normal, when the conditions for the central limits theorem ap-
ply.
σX̄2 σX̄2
σX̄2 = 2
+ 1
= 62 + 102 = 136
n2 n1
Chi-Squared Distribution
The probability that a random sample produces a χ 2 value greater than some
specified value, α, is equal to the area under the curve to the right of this value.
P(χ 2 > χα,ν
2
)=α
8.25
Figure 3: The chi-squared distribution with the degrees of freedom ν and the
area of α.
Figure 4: The chi-squared distribution with the degrees of freedom ν and the
area of α.
have lifetimes of 1.9, 2.4, 3.0, 3.5 and 4.2 years, should the manufacturer still be
convinced that the batteries have a standard deviation of 1 year? Assume that the
battery lifetime follows a normal distribution.
• The sample variance is
(5)(48.26) − (15)2
s2 = = 0.815
(5)(4)
• The corresponding value of χ 2 is
(4)(0.815)
χ2 = = 3.26
1
with 4 degrees of freedom. 8.28
Chi-Squared Distribution
Theorem 15. If the random variable X is N(µ, σ 2 ), then the random variable
2
Y = (X−µ)
σ2
= Z 2 is χ 2 (1).
• Z = (X−µ)
σ is N(0, 1).
1 √ √
• Since fY (y) = 2√ y [ f X ( y) + f X (− y)],
1
fY (y) = √ y1/2−1 e−y/2
21/2 π
1/2
1 1
= 1
y1/2−1 e−y/2
Γ( 2 ) 2
λ γ xγ−1 e−λ x
= fY (y; γ = 1/2, λ = 1/2) =
Γ(γ)
= χ 2 (1) = χ 2 (ν = 1)
8.30