Professional Documents
Culture Documents
Inferencial Statistics PDF
Inferencial Statistics PDF
Umi Yuliatin,M.Sc
PEM Akamigas
23 Januari 2020
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 1 / 28
Content:
1 Hypothesis Testing
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 2 / 28
Statistical Inference for One Sample
Umi Yuliatin,M.Sc
PEM Akamigas
23 Januari 2020
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 3 / 28
Hypothesis Testing
Hypothesis Testing
Statistical hypothesis testing and confidence interval estimation of parameters are the
fundamental methods used at the data analysis stage of a comparative experiment, in
which the engineer is interested, for example, in comparing the mean of a population
to a specified value. These simple comparative experiments are frequently
encountered in practice and provide a good foundation for the more complex
experimental design problems.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 4 / 28
Hypothesis Testing
Definition
A statistical hypothesis is a statement about the parameters of one or more
populations.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 5 / 28
Hypothesis Testing
Definition
A statistical hypothesis is a statement about the parameters of one or more
populations.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 5 / 28
Hypothesis Testing
Example:
The true mean burning rate of the propellant could be equal to 50 centimeters per
second. However, for the randomly selected propellant specimens that are tested, we
could observe a value of the test statistic x̄ that falls into the critical region. We would
then reject the null hypothesis H0 in favor of the alternate H1 when, in fact, H0 is really
true.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 6 / 28
Hypothesis Testing
Example:
The true mean burning rate of the propellant could be equal to 50 centimeters per
second. However, for the randomly selected propellant specimens that are tested, we
could observe a value of the test statistic x̄ that falls into the critical region. We would
then reject the null hypothesis H0 in favor of the alternate H1 when, in fact, H0 is really
true.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 6 / 28
General Procedure for Hypothesis Tests
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 7 / 28
Test on The Mean of A Normal Distribution, Variance Known
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 8 / 28
Test on The Mean of A Normal Distribution, Variance Known
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 9 / 28
Test on The Mean of A Normal Distribution, Variance Known
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 9 / 28
Test on The Mean of A Normal Distribution, Variance Known
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 9 / 28
Test on The Mean of A Normal Distribution, Variance Known
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 9 / 28
Test on The Mean of A Normal Distribution, Variance Known
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 9 / 28
Test on The Mean of A Normal Distribution, Variance Known
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 9 / 28
Test on The Mean of A Normal Distribution, Variance Known
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 10 / 28
Test on The Mean of A Normal Distribution, Variance Known
Definition
The P − value is the smallest level of significance that would lead to rejection of the null
hypothesis H0 with the given data.
Once the P − value is known, the decision maker can determine how significant the
data are without the data analyst formally imposing a preselected level of significance.
If zcalc is computed value of the test statistic, p-value is
P(Z < −zcalc ) + P(Z > zcalc ) for two-tailed test : H0 : µ = µ0 and H1 : µ 6= µ0
P(Z < −zcalc ) for upper-tailed test : H0 : µ ≥ µ0 and H1 : µ < µ0
P(Z > zcalc ) for lower-tailed test : H0 : µ ≤ µ0 and H1 : µ > µ0
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 11 / 28
Test on The Mean of A Normal Distribution, Variance Known
Example:
Aircrew escape systems are powered by a solid propellant. The burning rate of this
propellant is an important product characteristic. Specifications require that the mean
burning rate must be 50 centimeters per second. We know that the standard deviation
of burning rate is σ = 2 centimeters per second. The experimenter decides to specify a
type I error probability or significance level of α = 0.05 and selects a random sample of
n = 25 and obtains a sample average burning rate of x̄ = 51.3 centimeters per second.
What conclusions should be drawn?
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 12 / 28
Test on The Mean of A Normal Distribution, Variance Known
We may solve this problem by following the five-step procedure outlined. This results
in
1 The parameter of interest is µ, the mean burning rate.
H0 : µ = 50 centimeter per second
H1 : µ 6= 50 centimeter per second
2 Significant level α = 0.05
3 Test statistics
x̄ − µ0
Zcalc = √
σ/ n
51.3 − 50
= √
2/ 25
= 3.25
4 Critical region :
Reject H0 if Zcalc > Zα/2 or Zcalc < −Zα/2
5 Conclusion Since z0 = 3.25 > 1.96, we reject H0 : µ = 50 at the 0.05 level og
significance. We conclude that the mean burning rate differs from 50 centimeters
per second, base on a sample of 25 measurements. There is strong evidence that
the mean burning rate exceeds 50 centimeters per second.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 13 / 28
Test on The Mean of A Normal Distribution, Variance Known
We may solve this problem by following the five-step procedure outlined. This results
in
1 The parameter of interest is µ, the mean burning rate.
H0 : µ = 50 centimeter per second
H1 : µ 6= 50 centimeter per second
2 Significant level α = 0.05
3 Test statistics
x̄ − µ0
Zcalc = √
σ/ n
51.3 − 50
= √
2/ 25
= 3.25
4 Critical region :
Reject H0 if Zcalc > Zα/2 or Zcalc < −Zα/2
5 Conclusion Since z0 = 3.25 > 1.96, we reject H0 : µ = 50 at the 0.05 level og
significance. We conclude that the mean burning rate differs from 50 centimeters
per second, base on a sample of 25 measurements. There is strong evidence that
the mean burning rate exceeds 50 centimeters per second.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 13 / 28
Test on The Mean of A Normal Distribution, Variance Known
We may solve this problem by following the five-step procedure outlined. This results
in
1 The parameter of interest is µ, the mean burning rate.
H0 : µ = 50 centimeter per second
H1 : µ 6= 50 centimeter per second
2 Significant level α = 0.05
3 Test statistics
x̄ − µ0
Zcalc = √
σ/ n
51.3 − 50
= √
2/ 25
= 3.25
4 Critical region :
Reject H0 if Zcalc > Zα/2 or Zcalc < −Zα/2
5 Conclusion Since z0 = 3.25 > 1.96, we reject H0 : µ = 50 at the 0.05 level og
significance. We conclude that the mean burning rate differs from 50 centimeters
per second, base on a sample of 25 measurements. There is strong evidence that
the mean burning rate exceeds 50 centimeters per second.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 13 / 28
Test on The Mean of A Normal Distribution, Variance Known
We may solve this problem by following the five-step procedure outlined. This results
in
1 The parameter of interest is µ, the mean burning rate.
H0 : µ = 50 centimeter per second
H1 : µ 6= 50 centimeter per second
2 Significant level α = 0.05
3 Test statistics
x̄ − µ0
Zcalc = √
σ/ n
51.3 − 50
= √
2/ 25
= 3.25
4 Critical region :
Reject H0 if Zcalc > Zα/2 or Zcalc < −Zα/2
5 Conclusion Since z0 = 3.25 > 1.96, we reject H0 : µ = 50 at the 0.05 level og
significance. We conclude that the mean burning rate differs from 50 centimeters
per second, base on a sample of 25 measurements. There is strong evidence that
the mean burning rate exceeds 50 centimeters per second.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 13 / 28
Test on The Mean of A Normal Distribution, Variance Known
We may solve this problem by following the five-step procedure outlined. This results
in
1 The parameter of interest is µ, the mean burning rate.
H0 : µ = 50 centimeter per second
H1 : µ 6= 50 centimeter per second
2 Significant level α = 0.05
3 Test statistics
x̄ − µ0
Zcalc = √
σ/ n
51.3 − 50
= √
2/ 25
= 3.25
4 Critical region :
Reject H0 if Zcalc > Zα/2 or Zcalc < −Zα/2
5 Conclusion Since z0 = 3.25 > 1.96, we reject H0 : µ = 50 at the 0.05 level og
significance. We conclude that the mean burning rate differs from 50 centimeters
per second, base on a sample of 25 measurements. There is strong evidence that
the mean burning rate exceeds 50 centimeters per second.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 13 / 28
Test on The Mean of A Normal Distribution, Variance Known
To illustrate, here are some computations from Minitab for the propellant burning rate
problem. Using p-value the step hypothesis testing easier to do.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 14 / 28
Test on The Mean of A Normal Distribution, Variance Known
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 15 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
We now consider the case of hypothesis testing on the mean of a population with
unknown variance σ2 . The validity of the test procedure we will describe rests on the
assumption that the population distribution is at least approximately normal.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 16 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 17 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 17 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 17 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 17 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 17 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 17 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
Gambar: The reference distribution for critical region (a)H1 : µ 6= µ0 , (b) H1 : µ > µ0 and (c)
H1 : µ < µ 0
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 18 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
Example:
In the experiment the golf balls were fired from an air cannon so that the incoming
velocity and spin rate of the ball could be precisely controlled. The incoming velocity
spin rate of the ball is depend on coefficient of restitution. Now, It is of interest to
determine if there is evidence (with α = 0.05) to support a claim that the mean
coefficient of restitution exceeds 0.82. The observations follow:
The sample mean and sample standard deviation are x̄ = 0.83725 and s = 0.02456.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 19 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 20 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 20 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 21 / 28
Tests on the Mean of a Normal Distributions, Variance Unknown
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 22 / 28
Test on A Population Proportion
In many engineering problems, we are concerned with a random variable that follows
the binomial distribution. For example, consider a production process that
manufactures items that are classified as either acceptable or defective. It is usually
reasonable to model the occurrence of defectives with the binomial distribution, where
the binomial parameter p represents the proportion of defective items produced.
Consequently, many engineering decision problems include hypothesis testing about p.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 23 / 28
Test on A Population Proportion
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 24 / 28
Test on A Population Proportion
Example:
A semiconductor manufacturer produces controllers used in automobile engine
applications. The customer requires that the process fallout or fraction defective at a
critical manufacturing step not exceed 0.05 and that the manufacturer demonstrate
process capability at this level of quality using α = 0.05. The semiconductor
manufacturer takes a random sample of 200 devices and finds that four of them are
defective. Can the manufacturer demonstrate process capability for the customer?
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 25 / 28
Test on A Population Proportion
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 26 / 28
Test on A Population Proportion
Gambar: Minitab 18 output for proportion of the fraction defective from semiconductor
manufacturer.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 27 / 28
Test on A Population Proportion
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 28 / 28
Test on A Population Proportion
Since p − value < α (0.026 < 0.05), we reject H0 and conclude that the process fraction
defective p is less than 0.05.
Umi Yuliatin,M.Sc (PEM Akamigas) Statistical Inference for One Sample 23 Januari 2020 28 / 28