Module-5-Joint-Probanility-Distribution
Module-5-Joint-Probanility-Distribution
1|MODULE 5
Prepared by:
VHANESSA LIAN T. MARIANO
Emergency Instructor
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
College of Engineering
Chapter 5: Sampling Distributions and Point Estimation of Parameters
Central Limit Theorem
Suppose that a random variable X has a continuous uniform
distribution:
1 2, 4 x 6
f x
0, otherwise
Find the distribution of the sample mean of a random sample
of size n = 40.
Example 7-2: Central Limit Theorem Sampling Distribution of a Difference in Sample Means
2|MODULE 5
Prepared by:
VHANESSA LIAN T. MARIANO
Emergency Instructor
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
College of Engineering
Chapter 5: Sampling Distributions and Point Estimation of Parameters
• If we have two independent populations with means • We want point estimators that are:
μ1 and μ2, and variances σ12 and σ22, – Are unbiased.
• And if X-bar1 and X-bar2 are the sample means of two – Have a minimal variance.
independent random samples of sizes n1 and n2 from • We use the standard error of the estimator to
these populations: calculate its mean square error.
• Then the sampling distribution of:
Unbiased Estimators Defined
E θ (7-5)
is approximately standard normal, if the conditions of If the estimator is not unbiased, then the difference:
the central limit theorem apply.
• If the two populations are normal, then the sampling
E θ (7-6)
distribution is exactly standard normal.
is called the bias of the estimator .
The mean of the sampling distribution of
Example 7-3: Aircraft Engine Life
is equal to θ.
The effective life of a component used in jet-turbine aircraft
engines is a normal-distributed random variable with Example 7-4: Sample Man & Variance Are Unbiased-1
parameters shown (old). The engine manufacturer introduces
an improvement into the manufacturing process for this • X is a random variable with mean μ and variance σ2.
component that changes the parameters as shown (new). Let X1, X2,…,Xn be a random sample of size n.
Random samples are selected from the “old” process and • Show that the sample mean (X-bar) is an unbiased
“new” process as shown. estimator of μ.
What is the probability the difference in the two sample means
is at least 25 hours? X X 2 ... X n
EX E 1
n
1
E X 1 E X 2 ... E X n
n
1 n
Figure 7-4 Sampling distribution of the sample mean
...
n n
difference.
Example 7-4: Sample Man & Variance Are Unbiased-2
Process
Show that the sample variance (S2) is a unbiased estimator of
Old (1) New (2) Diff (2-1) σ2 .
x -bar = 5,000 5,050 50 n 2
X X
s= 40 30 50 E S E i 1
2
1 n
E X i2 X 2 2 XX i
n 1 n 1 i 1
n= 16 25
Calculations 1 n 2 2 1 n
E X i nX E X i2 nE X 2
s / √n = 10 6 11.7 n 1 i 1 n 1 i 1
z= -2.14 1 n
2 2 n 2 2 n
n 1 i 1
P(xbar2-xbar1 > 25) = P(Z > z) = 0.9840
1 1
= 1 - NORMSDIST(z) n 2 n 2 n 2 2 n 1 2 2
n 1 n 1
7 14.1 12.1
8 8.5 12.8
9 12.1 13.1
10 10.3 14.1
Σ 110.4
Choosing Among Unbiased Estimators
4|MODULE 5
Prepared by:
VHANESSA LIAN T. MARIANO
Emergency Instructor
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
College of Engineering
Chapter 5: Sampling Distributions and Point Estimation of Parameters
Relative Efficiency
Example 7-5: Thermal Conductivity
• The MSE is an important criterion for comparing
• These observations are 10 measurements of two estimators.
thermal conductivity of Armco iron.
• Since σ is not known, we use s to calculate the
standard error.
• Since the standard error is 0.2% of the mean, the
mean estimate is fairly precise. We can be very
confident that the true population mean is 41.924
± 2(0.0898).
5|MODULE 5
Prepared by:
VHANESSA LIAN T. MARIANO
Emergency Instructor
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
College of Engineering
Chapter 5: Sampling Distributions and Point Estimation of Parameters
Moments Defined
•
– Sample moment is x-bar.
The sample mean is the moment estimator of the
16.07
population mean.
31.50
Moment Estimators 7.73
Let X 1 , X 2 ,..., X n be a random sample from either
a probability mass function or a probability density function
11.10
with m unknown parameters θ1 ,θ 2 ,...,θ m . 22.38
The moment estimators 1 , 2 ,..., m are found
by equating the first m population moments 21.646 = Mean
to the first m sample moments and
solving the resulting simultaneous equations 0.04620 = λ est
for the unknown parameters.
Example 7-7: Normal Moment Estimators
Example 7-6: Exponential Moment Estimator-1
Suppose that X1, X2, …, Xn is a random sample
• Suppose that X1, X2, …, Xn is a random sample from a normal distribution with parameter μ and
from an exponential distribution with parameter λ. σ2. So E(X) = μ and E(X2) = μ2 + σ2.
• There is only one parameter to estimate, so
equating population and sample first moments,
we have E(X) = X-bar. 1 n 1 n 2
• E(X) = 1/λ = x-bar X Xi
n i 1
and 2 2 Xi
n i 1
• λ = 1/x-bar is the moment estimator. 2
n
1 n
1 n X n
i
2
Xi
n i 1
X i2 X 2 i 1
2
Example 7-6: Exponential Moment Estimator-2
n i 1 n
• As an example, the time to failure of an electronic
2
n
X X
n
Xi
2
module is exponentially distributed.
1 n 2 i 1 i
• Eight units are randomly selected and tested. Xi i 1
(biased)
Their times to failure are shown. n i 1 n n
• The moment estimate of the λ parameter is
0.04620.
6|MODULE 5
Prepared by:
VHANESSA LIAN T. MARIANO
Emergency Instructor
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
College of Engineering
Chapter 5: Sampling Distributions and Point Estimation of Parameters
2 xi n
1 p i1 i
n
p 1 p
1 xi n x
xi xi xi
p i1
i 1
11.96 143.0416 n n
ln L p xi ln p n xi ln 1 p
i 1
5.03 25.3009 i 1
n
n
67.40 4542.7600 xi n xi
d ln L p i 1
i 1 0
16.07 258.2449 dp p 1 p
n
31.50 992.2500 x i
p i 1
7.73 59.7529 n
11.10 123.2100
22.38 500.8644
X2 21.6462
r 1.29
n
1/ n X i2 X 2 1 8 6645.4247 21.6462
i 1
X 21.646
0.0598
n
1/ n X 2
X 2 1 8 6645.4247 21.6462
i
i 1
7|MODULE 5
Prepared by:
VHANESSA LIAN T. MARIANO
Emergency Instructor
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
College of Engineering
Chapter 5: Sampling Distributions and Point Estimation of Parameters
Example 7-10: Normal MLE for μ Figure 7-7 Log likelihood for exponential
distribution. (a) n = 8, (b) n = 8, 20, 40.
Let X be a normal random variable with unknown mean μ
and known variance σ2. The likelihood function of a Let X be a normal random variable with both unknown
random sample of size n is: mean μ and variance σ2. The likelihood function of a
random sample of size n is:
x 2 2
n
1
L
2
e i
i 1 2
xi 2 2
L ,
n
1
n 2 1 2
xi
2 e
i 1 2
1
e 2
2
i 1
2 2 n2
n
1
xi
2
1 2 2
n e i 1
ln 2 2 2
n
2
1
ln L x 2 n2
2
2
i
2 i 1
d ln L 1 n
ln L , 2 ln 2 2 2
n
1
x
n
x 0
2
2
2
i
d i
i 1
2 i 1
n
ln L , 2
x
n
1
i 1
i
X (same as moment estimator)
2
x 0
i 1
i
n
ln L , 2 n 1 n
x 0
2
Example 7-11: Exponential MLE
2 2 2 4
2 i
i 1
n xi n
L e xi
e n i 1
i 1 Properties of an MLE
n
ln L n ln xi
i 1 Under very general and non-restrictive conditions,
d ln L n n
when the sample size n is large and if is the MLE of the parameter ,
xi 0
d i 1
n
(1) is an approximately unbiased estimator for θ, i.e., E θ
n x
i 1
i 1 X (same as moment estimator) (2) The variance of is nearly as small as the variance
that could be obtained with any other estimator, and
Why Does MLE Work? (3) has an approximate normal distribution.
• From Examples 7-6 & 11 using the 8 data
Notes:
observations, the plot of the ln L(λ) function
• Mathematical statisticians will often prefer MLEs
maximizes at λ = 0.0462. The curve is flat near
because of these properties. Properties (1) and
max indicating estimator not precise.
(2) state that MLEs are MVUEs.
• As the sample size increases, while maintaining
• To use MLEs, the distribution of the population
the same x-bar, the curve maximums are the
must be known or assumed.
same, but sharper and more precise.
8|MODULE 5
Prepared by:
VHANESSA LIAN T. MARIANO
Emergency Instructor
NUEVA VIZCAYA STATE UNIVERSITY
Bayombong, Nueva Vizcaya
College of Engineering
Chapter 5: Sampling Distributions and Point Estimation of Parameters
xi X
n
2 2. The likelihood function may be impossible to
solve, so numerical methods must be used.
2 n 1 2 The following two examples illustrate.
E i 1
n n Example 7-14: Uniform Distribution MLE
is the same function h 1 , 2 ,..., k of the estimators 1 , 2 ,..., k
x X
n
2
i
2 i 1
n
which is not the sample standard deviation s.
9|MODULE 5
Prepared by:
VHANESSA LIAN T. MARIANO
Emergency Instructor