SlideShare a Scribd company logo
1 of 55
Hypothesis Testing
www.HelpWithAssignment.com
 Recall: We discussed an example in Chapter 5 about
microdrills.
 Our sample had a mean of 12.68 and standard
deviation of 6.83.
 Let us assume that the main question is whether or
not the population mean lifetime µ is greater than
11.
 We can address this by examining the value of the
sample mean. We see that our sample mean is
larger than 11, but because of uncertainty in the
means, this does not guarantee that µ > 11.
 We would like to know just how certain we can
be that µ > 11.
 A confidence interval is not quite what we
need.
 The statement “µ > 11” is a hypothesis about
the population mean µ.
 To determine just how certain we can be that a
hypothesis is true, we must perform a
hypothesis test.
 The null hypothesis says that the effect
indicated by the sample is due only to random
variation between the sample and the
population. We denote this with H0.
 The alternative hypothesis says that the
effect indicated by the sample is real, in that it
accurately represents the whole population.
We denote this with H1.
 In performing a hypothesis test, we essentially
put the null hypothesis on trial.
 We begin by assuming that H0is true just as we
begin a trial by assuming a defendant to be
innocent.
 The random sample provides the evidence.
 The hypothesis test involves measuring the
strength of the disagreement between the
sample and H0to produce a number between 0
and 1, called a P-value.
 The P-value measures the plausibility of H0.
 The smaller the P-value, the stronger the
evidence is against H0.
 If the P-value is sufficiently small, we may be
willing to abandon our assumption that H0is
true and believe H1instead.
 This is referred to as rejecting the null
hypothesis.
 Define H0 and H1.
 Assume H0 to be true.
 Compute a test statistic.
 A test statistic is a statistic that is used to assess the strength of the
evidence against H0.
 A test that uses the z-score as a test statistic is called a z-test.
 Compute the P-value of the test statistic.
 The P-value is the probability, assuming H0 to be true, that the test
statistic would have a value whose disagreement with H0 is as great as
or greater than what was actually observed.
 The P-value is also called the observed significance level.
 A scale is to be calibrated by weighing a 1000 g test weight 60 times. The 60
scale readings have mean 1000.6 g and standard deviation 2 g. Find the P-
value for testing:
H0 = 1000
H1 ≠ 1000
 The null hypothesis specifies that µ is equal to a specific value.
 For this reason, values of the sample mean that are either much larger or much
smaller than µ will provide evidence against H0.
 We assume that H0 is true, and that therefore the sample readings were drawn
from a population with mean µ = 1000.
 We approximate the population standard deviation with s = 2.
 The null distribution of is normal with mean 1000 and
standard deviation of The z-score of the
observed is
 Since H0 specifies µ = 1000, regions in both tails of the
curve are in greater disagreement with H0 that the observed
value of 1000.6. The P-value is the sum of the areas in
both tails, which is 0.0204.
 Therefore if H0 is true, the probability of a result as extreme
as or more extreme than that observed is only 0.0204.
 The evidence against H0 is pretty strong. It would be
prudent to reject H0 and to recalibrate the scale.
X
.258.060/2 =
6.1000=X
32.2
258.0
10006.1000
=
−
=z
 When H0 specifies a single value for µ, both
tails contribute to the P-value, and the test is
said to be a two-sided or two-tailed test.
 When H0 specifies only that µ is greater than or
equal to, or less than or equal to a value, only
one tail contributes to the P-value, and the test
is called a one-sided or one-tailed test.
 Let X1,…, Xn be a large (e.g., n ≥ 30) sample
from a population with mean µ and standard
deviation σ. To test a null hypothesis of the
form
H0: µ ≤ µ0, H0: µ ≥ µ0, or H0: µ = µ0.
 Compute the z-score:
 If σ is unknown it may be approximated by s.
n
X
z
/
0
σ
µ−
=
Compute the P-value. The P-value is an area under the
normal curve, which depends on the alternate hypothesis
as follows.
 If the alternative hypothesis is H1: µ > µ0, then the
P-value is the area to the right of z.
 If the alternative hypothesis is H1: µ < µ0, then the
P-value is the area to the left of z.
 If the alternative hypothesis is H1: µ ≠ µ0, then the
P-value is the sum of the areas in the tails cut off by z
and -z.
 A chemical plant has a mean daily output of
at least 740 tons. The output is measured
on a simple random sample of 60 days. The
sample had a mean of 715 tons/day and a
standard deviation of 24 tons/day. An
engineer tests:
 Ho: µ≥740, H1: µ <740
 Find the p-value
 The smaller the P-value, the more certain we
can be that H0 is false.
 The larger the P-value, the more plausible H0
becomes but we can never be certain that H0 is
true.
 A rule of thumb suggests to reject H0 whenever
P ≤ 0.05. While this rule is convenient, it has
no scientific basis.
 There are two conclusions that we draw when we
are finished with a hypothesis test,
 We reject H0. In other words, we concluded that H0 is
false.
 We do not reject H0. In other words, H0 is plausible.
 One can never conclude that H0 is true. We can just
conclude that H0 might be true.
 We need to know what level of disagreement,
measured with the P-value, is great enough to
render the null hypothesis implausible.
 Specifications for a water pipe call for a mean breaking strength
µ of more than 2000 lb per linear foot. Engineers will perform a
hypothesis test to decide whether or not to use a certain kind of
pipe. They will select a random sample of 1 ft sections of pipe,
measure their breaking strengths, and perform a hypothesis test.
The pipe will not be used unless the engineers can conclude that
µ > 2000.
 6.4: Assume they test H0: µ ≤ 2000 versus H1: µ > 2000. Will the
engineers decide to use the pipe if H0 is rejected? What if H0 is not
rejected?
 6.5: What are the two possible conclusions from Ho: µ ≥2000 vs. H1: μ <
2000?
 Whenever the P-value is less than a particular
threshold, the result is said to be “statistically
significant” at that level.
 So, if P ≤ 0.05, the result is statistically significant at
the 5% level.
 So, if P ≤ 0.01, the result is statistically significant at
the 1% level.
 If the test is statistically significant at the 100α% level,
we can also say that the null hypothesis is “rejected at
level 100α%.”
A hypothesis test is performed of the null
hypothesis H0: µ = 0. The P-value turns out to be
0.03.
Is the result statistically significant at the 10%
level? The 5% level? The 1% level?
Is the null hypothesis rejected at the 10% level?
The 5% level? The 1% level?
 When we had a large sample we used the sample
standard deviation s to approximate the population
deviation σ.
 When the sample size is small, s may not be close to
σ, which invalidates this large-sample method.
 However, when the population is approximately
normal, the Student’s t distribution can be used.
 The only time that we don’t use the Student’s t
distribution for this situation is when the population
standard deviation σ is known. Then we are no longer
approximating σ and we should use the z-test.
 Let X1,…, Xn be a sample from a normal
population with mean µ and standard deviation
σ, where σ is unknown.
 To test a null hypothesis of the form H0: µ ≤ µ0,
H0: µ ≥ µ0, or H0: µ = µ0.
 Compute the test statistic
.
/
0
ns
X
t
µ−
=
Before a substance can be deemed safe for
landfilling, its chemical properties must be
characterized. An article reports that in a sample
of six replicates of sludge from a New Hampshire
wastewater treatment plant, the mean pH was
6.68 with a standard deviation of 0.20. Can we
conclude that the mean pH is less than 7.0?
The article “Solid-Phase Chemical Fractionation of Selected Trace
Metals in Some Northern Kentucky Soils” (A. Karathanasis and
J. Pus, Soil and Sediment Contamination, 2005:293-308)
reports that in a sample of 26 soil specimens taken in a region
of Northern Kentucky, the average concentration of chromium
(Cr) in mg/kg was 20.75 with a standard deviation of 3.93.
a. Can you conclude that the mean concentration of Cr is
greater than 20 mg/kg?
b. Can you conclude that the mean concentration of Cr is less
than 25 mg/kg?
 Now, we are interested in determining whether or not
the means of two populations are equal.
 The data will consist of two samples, one from each
population.
 We will compute the difference of the sample means.
Since each of the sample means follows an
approximate normal distribution, the difference is
approximately normal as well.
 If the difference is far from zero, we will conclude that
the population means are different.
 If the difference is close to zero, we will conclude that
the population means might be the same.
 Let X1,…,XnX
and Y1,…,YnY
be large (e.g., nX ≥ 30 and nY ≥
30) samples from populations with mean µX and µY
and standard deviations σX and σY, respectively.
Assume the samples are drawn independently of each
other.
 To test a null hypothesis of the form H0: µX - µY ≤ Δ0, H0:
µX - µY ≥ Δ0, or H0: µX - µY = Δ0.
 Compute the z-score:
 If σX and σY are unknown they may be approximated by
sX and sY.
.
//
)(
22
0
YYXX nn
YX
z
σσ +
−−
=
∆
Sample Mean Difference between
Means
Large Sample
(σ is known)
Small Sample
(σ is known)
Small Sample
(σ is unknown,
variances are not
equal)
(σ is unknown,
variances are equal)
( ) ( )
1
/
1
/
2222
2
22
−
+
−








+
=
Y
YY
X
XX
Y
Y
X
X
n
ns
n
ns
n
s
n
s
v
.
2
)1()1( 22
2
−+
−+−
=
YX
YYXX
p
nn
snsn
s
n
X
z
/
0
σ
µ−
=
.
/
0
ns
X
t
µ−
=
n
X
z
/
0
σ
µ−
=
.
//
)(
22
0
YYXX nn
YX
z
σσ +
−−
=
∆
.
/1/1
)( 0
YXp nns
YX
t
+
−−
=
∆
.
//
)(
22
0
YYXX nsns
YX
t
+
∆−−
=
.
//
)(
22
0
YYXX nn
YX
z
σσ +
−−
=
∆
An article compares properties of welds made using
carbon dioxide as a shielding gas with those of welds
made using a mixture of argon and carbon dioxide.
One property studied was the diameter of inclusions,
which are particles embedded in the weld. A sample
of 544 inclusions in welds made using argon
shielding averaged 0.37µm in diameter, with a
standard deviation of 0.25 µm. A sample of 581
inclusions in welds made using carbon dioxide
shielding averaged 0.40 µm in diameter, with a
standard deviation of 0.26 µm. Can you conclude
that the mean diameters of inclusions differ between
the two shielding gases?
 In a study of the relationship of the shape of a tablet
to its dissolution time, 6 disk-shaped ibuprofen tablets
and 8 oval-shaped ibuprofen tablets were dissolved in
water. The dissolve times, in seconds, were as follows
 Disk: 269.0 249.3 255.2 252.7 247.0 261.6
 Oval: 268.8 260.0 273.5 253.9 278.5 289.4 261.6
280.2
 Can you conclude that the mean dissolve times are
different between the two shapes?
 We saw in Chapter 5 that sometimes it is better to
design a two-sample experiment so that each item in
one sample is paired with an item in the other.
 In this section, we present a method for testing
hypotheses involving the difference between two
population means on the basis of such paired data.
 If the sample is large, the Di need not be normally
distributed. The test statistic is
and a z-test should be performed.ns
D
z
D
0µ−
=
 Let (X1, Y1),…, (Xn, Yn) be sample of ordered pairs
whose differences D1,…,Dn are a sample from a
normal population with mean µD.
 To test a null hypothesis of the form H0: µD ≤ µ0,
H0: µD ≥ µ0, or H0: µD = µ0.
 Compute the test statistic
.ns
D
t
D
0µ−
=
 In an experiment to determine the
effect of ambient temperature on
the emissions of oxides of nitrogen
(NOx) of diesel trucks, 10 trucks
were run at temperatures of 40
and 80 F. Can you conclude that
the mean NOx emissions at the
two temperatures are different?
The emissions, in ppm, are
presented in the table at the right.
 Sometimes it is desirable to test a null hypothesis that
two populations have equal variances.
 In general, there is no good way to do this.
 In the special case where both populations are
normal, there is a method available.
 Let X1,…, Xm be a simple random sample from a N(µ1,
σ1
2
) population, and let Y1,…, Yn be a simple random
sample from a N(µ2, σ2
2
) population.
 Assume that the samples are chosen independently.
 The values of the means are irrelevant, we are only
concerned with the variances.
 Let s1
2
and s2
2
be the sample variances.
 Any of three null hypothesis may be tested.
They are
2
2
2
12
2
2
1
0
2
2
2
12
2
2
1
0
2
2
2
12
2
2
1
0
ly,equivalentor,1:
ly,equivalentor,1:
ly,equivalentor,1:
σσ
σ
σ
σσ
σ
σ
σσ
σ
σ
==
≥≥
≤≤
H
H
H
 The test statistic is the ratio of the two sample
variances:
 When H0 is true, we assume that σ1
2
/σ2
2
=1, or
equivalently σ1
2
= σ2
2
. When s1
2
and s2
2
are, on average,
the same size, F is likely to be near 1.
 When H0 is false, we assume that σ1
2
> σ2
2
. When s1
2
is
likely to be larger than s2
2
, and F is likely to be greater
than 1.
2
2
2
1
s
s
F =
 Statistics that have an F distribution are ratios of
quantities, such as the ratio of two variances.
 The F distribution has two values for the degrees of
freedom: one associated with the numerator, and one
associated with the denominator.
 The degrees of freedom are indicated with subscripts
under the letter F.
 Note that the numerator degrees of freedom are
always listed first.
 A table for the F distribution is provided (Table A.7 in
Appendix A).
 The null distribution of the F statistic is Fm-1,n-1.
 The number of degrees of freedom for the numerator is one
less than the sample size used to compute s1
2
, and the number
of degrees of freedom for the denominator is one less than the
sample size used to compute s2
2
.
 Note that the F test is sensitive to the assumption that the
samples come from normal populations.
 If the shapes of the populations differ much from the normal
curve, the F test may give misleading results.
 The F test does not prove that two variances are equal. The
basic reason for the failure to reject the null hypothesis does
not justify the assumption that the null hypothesis is true.
In a series of experiments to determine the
absorption rate of certain pesticides into skin,
measured amounts of two pesticides were applied to
several skin specimens. After a time, the amounts
absorbed (in µg) were measured. For pesticide A, the
variance of the amounts absorbed in 6 specimens
was 2.3, while for pesticide B, the variance of the
amounts absorbed in 10 specimens was 0.6.
Assume that for each pesticide, the amounts
absorbed are a simple random sample from a normal
population. Can we conclude that the variance in the
amount absorbed is greater for pesticide A than for
pesticide B?
 A broth used to manufacture a pharmaceutical
product has its sugar content, in mg/mL,
measured several times on each of three
successive days.
 Is variability of the process greater on Day 2 compared
to Day 1?
 Is variability on Day 3 greater than that of Day 2?
Ave = 4.96
s2
=0.019
Ave = 5.18
s2
= 0.148
Ave = 5.42
s2
= 0.269
 A hypothesis test measures the plausibility of the null
hypothesis by producing a P-value.
 The smaller the P-value, the less plausible the null.
 We have pointed out that there is no scientifically valid dividing
line between plausibility and implausibility, so it is impossible to
specify a “correct” P-value below which we should reject H0.
 If a decision is going to be made on the basis of a hypothesis
test, there is no choice but to pick a cut-off point for the P-
value.
 When this is done, the test is referred to as a fixed-level test.
To conduct a fixed-level test:
 Choose a number α, where 0 < α < 1. This is
called the significance level, or the level, of the
test.
 Compute the P-value in the usual way.
 If P ≤ α, reject H0. If P > α, do not reject H0.
 In a fixed-level test, a critical point is a value of the
test statistic that produces a P-value exactly equal to α.
 A critical point is a dividing line for the test statistic just
as the significance level is a dividing line for the P-value.
 If the test statistic is on one side of the critical point, the
P-value will be less than α, and H0 will be rejected.
 If the test statistic is on the other side of the critical
point, the P-value will be more than α, and H0 will not be
rejected.
 The region on the side of the critical point that leads to
rejection is called the rejection region.
 The critical point itself is also in the rejection region.
A new concrete mix is being evaluated. The plan is to sample 100
concrete blocks made with the new mix, compute the sample
mean compressive strength (X), and then test H0: µ ≤ 1350 versus
H1: µ > 1350, where the units are MPa. It is assumed that
previous tests of this sort that the population standard deviation
σ will be close to 70 MPa. Find the critical point and the rejection
region if the test will be conducted at a significance level of 5%.
When conducting a fixed-level test at significance level
α, there are two types of errors that can be made.
These are
 Type I error: Reject H0 when it is true.
 Type II error: Fail to reject H0 when it is false.
The probability of Type I error is never greater than α.
Not Reject Null
Hypothesis
Reject Null Hypothesis
Null Hypothesis is true OK
Incorrectly reject the null =
Type I Error
Alternative Hypothesis is true
Incorrectly not
reject the null =
Type II Error
OK
 A hypothesis test results in Type II error if H0 is not
rejected when it is false.
 The power of the test is the probability of rejecting
H0 when it is false. Therefore,
Power = 1 – P(Type II error).
 To be useful, a test must have reasonable small
probabilities of both type I and type II errors.
 The type I error is kept small by choosing a small
value of α as the significance level.
 If the power is large, then the probability of type II
error is small as well, and the test is a useful one.
 The purpose of a power calculation is to determine
whether or not a hypothesis test, when performed,
is likely to reject H0 in the event that H0 is false.
This involves two steps:
1. Compute the rejection region.
2. Compute the probability that the test
statistic falls in the rejection region if the
alternate hypothesis is true. This is power.
When power is not large enough, it can be
increased by increasing the sample size.
Find the power of the 5% level test of H0: µ≤ 80
versus H1: µ > 80 for the mean yield of the new
process under the alternative µ = 82, assuming n =
50 and σ = 5.
 In testing the hypothesis
 Ho : μ ≤ 80
 Ha : μ > 80
 regarding the mean yield of the new process,
how many times must the new process be run
so that a test conducted at a significance level
of 5% will have power 0.90 against the
situation in which μ = 81, if it is assumed that
σ= 5?
 The mean drying time of a certain paint in a certain application is 12
minutes. A new additive will be tested to see if it reduces the drying time.
One hundred specimens will be painted, and the sample mean drying time
will be computed. Assume the population standard deviation of drying
times is σ = 2 minutes. Let μ be the mean drying time for the new paint.
The null hypothesis Ho: μ ≥ 12 will be tested against the alternate H1: μ <
12.
a) It is decided to reject Ho if ≤ 11.7. Find the level of this test.
b) For parts b-e, assume that unknown to the investigators, the true mean
drying time of the new paint is 11.5 minutes.
c) Find the power of the test in part a).
d) For what values of should Ho be rejected so that the power of the test
will be 0.90? What will the level then be?
e) For what values of should Ho be rejected so that the level of the test will
be 5%? What will the power then be?
f) How large a sample is needed so that a 5% level test has power 0.90?
X
X
X
 Sometimes a situation occurs in which it is
necessary to perform many hypothesis tests.
 The basic rule governing this situation is that as
more tests are performed, the confidence that we
can place in our results decreases.
 The Bonferroni method provides a way to adjust P-
values upward when several hypothesis tests are
performed.
 If a P-value remains small after the adjustment, the
null hypothesis may be rejected.
 To make the Bonferroni adjustment, simply multiply
the P-value by the number of test performed.
Four different coating formulations are tested to see if they
reduce the wear on cam gears to a value below 100 µm. The
null hypothesis H0: µ ≥ 100 µm is tested for each formulation
and the results are
Formulation A: P = 0.37
Formulation B: P = 0.41
Formulation C: P = 0.005
Formulation D: P = 0.21
The operator suspects that formulation C may be effective, but
he knows that the P-value of 0.005 is unreliable, because
several tests have been performed. Use the Bonferroni
adjustment to produce a reliable P-value.
www.HelpWithAssignment.com is an online tutoring and
Live Assigment help company. We provides seamless online
tuitions in sessions of 30 minutes, 60 minutes or 120 minutes
covering a variety of subjects. The specialty of HWA online
tuitions are:
•Conducted by experts in the subject taught
•Tutors selected after rigorous assessment and training
•Tutoring sessions follow a pre-decided structure based on
instructional design best practices
•State-of-the art technology used With a whiteboard,
document sharing facility, video and audio conferencing as
well as chat support HWA’s one-on-one tuitions have a large
following. Several thousand hours of tuitions have already
been delivered to the satisfaction of customers.
In short,HWA’s online tuitions are seamless,personalized and
convenient.
WWW.HELPWITHASSIGNMENT.COM
www.HelpWithAssignment.com

More Related Content

What's hot

NULL AND ALTERNATIVE HYPOTHESIS.pptx
NULL AND ALTERNATIVE HYPOTHESIS.pptxNULL AND ALTERNATIVE HYPOTHESIS.pptx
NULL AND ALTERNATIVE HYPOTHESIS.pptx04ShainaSachdeva
 
Sampling distribution
Sampling distributionSampling distribution
Sampling distributionDanu Saputra
 
Testing of hypothesis and tests of significance
Testing of hypothesis and tests of significanceTesting of hypothesis and tests of significance
Testing of hypothesis and tests of significanceSudha Rameshwari
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...nszakir
 
Normal Probability Distribution
Normal Probability DistributionNormal Probability Distribution
Normal Probability DistributionAarti Kudhail
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1HanaaBayomy
 
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-testHypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-testRavindra Nath Shukla
 
Kolmogorov Smirnov
Kolmogorov SmirnovKolmogorov Smirnov
Kolmogorov SmirnovRabin BK
 
Concept of Inferential statistics
Concept of Inferential statisticsConcept of Inferential statistics
Concept of Inferential statisticsSarfraz Ahmad
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypothesesRajThakuri
 

What's hot (20)

Chi-Square test.pptx
Chi-Square test.pptxChi-Square test.pptx
Chi-Square test.pptx
 
Tests of significance
Tests of significanceTests of significance
Tests of significance
 
NULL AND ALTERNATIVE HYPOTHESIS.pptx
NULL AND ALTERNATIVE HYPOTHESIS.pptxNULL AND ALTERNATIVE HYPOTHESIS.pptx
NULL AND ALTERNATIVE HYPOTHESIS.pptx
 
Sampling distribution
Sampling distributionSampling distribution
Sampling distribution
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Testing of hypothesis and tests of significance
Testing of hypothesis and tests of significanceTesting of hypothesis and tests of significance
Testing of hypothesis and tests of significance
 
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...Chapter 6 part2-Introduction to Inference-Tests of Significance,  Stating Hyp...
Chapter 6 part2-Introduction to Inference-Tests of Significance, Stating Hyp...
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Normality
NormalityNormality
Normality
 
Normal Probability Distribution
Normal Probability DistributionNormal Probability Distribution
Normal Probability Distribution
 
Chi sqr
Chi sqrChi sqr
Chi sqr
 
Hypothesis testing1
Hypothesis testing1Hypothesis testing1
Hypothesis testing1
 
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-testHypothesis Test _One-sample t-test, Z-test, Proportion Z-test
Hypothesis Test _One-sample t-test, Z-test, Proportion Z-test
 
Kolmogorov Smirnov
Kolmogorov SmirnovKolmogorov Smirnov
Kolmogorov Smirnov
 
Concept of Inferential statistics
Concept of Inferential statisticsConcept of Inferential statistics
Concept of Inferential statistics
 
Testing of hypotheses
Testing of hypothesesTesting of hypotheses
Testing of hypotheses
 
Probability Distribution
Probability DistributionProbability Distribution
Probability Distribution
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Significance test
Significance testSignificance test
Significance test
 
T test and types of t-test
T test and types of t-testT test and types of t-test
T test and types of t-test
 

Viewers also liked

Rights of the Parties and Discharge; Remedies for Breach of Contract
Rights of the Parties and Discharge; Remedies for Breach of ContractRights of the Parties and Discharge; Remedies for Breach of Contract
Rights of the Parties and Discharge; Remedies for Breach of ContractHelpWithAssignment.com
 
Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715HelpWithAssignment.com
 
Systems Programming Assignment Help - Processes
Systems Programming Assignment Help - ProcessesSystems Programming Assignment Help - Processes
Systems Programming Assignment Help - ProcessesHelpWithAssignment.com
 
Significance of information in marketing
Significance of information in marketingSignificance of information in marketing
Significance of information in marketingHelpWithAssignment.com
 
Mothers day ideas for college students
Mothers day ideas for college studentsMothers day ideas for college students
Mothers day ideas for college studentsHelpWithAssignment.com
 
Proportions and Confidence Intervals in Biostatistics
Proportions and Confidence Intervals in BiostatisticsProportions and Confidence Intervals in Biostatistics
Proportions and Confidence Intervals in BiostatisticsHelpWithAssignment.com
 
Performance appraisal in human resource management
Performance appraisal in human resource managementPerformance appraisal in human resource management
Performance appraisal in human resource managementHelpWithAssignment.com
 
Halloween Party, Costume and Theme Ideas for Students
Halloween Party, Costume and Theme Ideas for StudentsHalloween Party, Costume and Theme Ideas for Students
Halloween Party, Costume and Theme Ideas for StudentsHelpWithAssignment.com
 

Viewers also liked (14)

Rights of the Parties and Discharge; Remedies for Breach of Contract
Rights of the Parties and Discharge; Remedies for Breach of ContractRights of the Parties and Discharge; Remedies for Breach of Contract
Rights of the Parties and Discharge; Remedies for Breach of Contract
 
Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715Fundamentals of Transport Phenomena ChE 715
Fundamentals of Transport Phenomena ChE 715
 
International Accounting
International AccountingInternational Accounting
International Accounting
 
Systems Programming - File IO
Systems Programming - File IOSystems Programming - File IO
Systems Programming - File IO
 
Quantum Assignment Help
Quantum Assignment HelpQuantum Assignment Help
Quantum Assignment Help
 
Systems Programming Assignment Help - Processes
Systems Programming Assignment Help - ProcessesSystems Programming Assignment Help - Processes
Systems Programming Assignment Help - Processes
 
Significance of information in marketing
Significance of information in marketingSignificance of information in marketing
Significance of information in marketing
 
Forecasting Assignment Help
Forecasting Assignment HelpForecasting Assignment Help
Forecasting Assignment Help
 
Mothers day ideas for college students
Mothers day ideas for college studentsMothers day ideas for college students
Mothers day ideas for college students
 
Proportions and Confidence Intervals in Biostatistics
Proportions and Confidence Intervals in BiostatisticsProportions and Confidence Intervals in Biostatistics
Proportions and Confidence Intervals in Biostatistics
 
Performance appraisal in human resource management
Performance appraisal in human resource managementPerformance appraisal in human resource management
Performance appraisal in human resource management
 
Target market selection
Target market selectionTarget market selection
Target market selection
 
Halloween Party, Costume and Theme Ideas for Students
Halloween Party, Costume and Theme Ideas for StudentsHalloween Party, Costume and Theme Ideas for Students
Halloween Party, Costume and Theme Ideas for Students
 
Constructivism assignment help
Constructivism assignment helpConstructivism assignment help
Constructivism assignment help
 

Similar to Hypothesis Testing Assignment Help

Similar to Hypothesis Testing Assignment Help (20)

Testing of hypothesis
Testing of hypothesisTesting of hypothesis
Testing of hypothesis
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
Hypothesis testing
Hypothesis testingHypothesis testing
Hypothesis testing
 
HYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.pptHYPOTHESIS TESTING.ppt
HYPOTHESIS TESTING.ppt
 
Hypothesis testing an introduction
Hypothesis testing an introductionHypothesis testing an introduction
Hypothesis testing an introduction
 
Test of hypotheses part i
Test of hypotheses part iTest of hypotheses part i
Test of hypotheses part i
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
hypothesis test
 hypothesis test hypothesis test
hypothesis test
 
TEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptxTEST OF SIGNIFICANCE.pptx
TEST OF SIGNIFICANCE.pptx
 
7 hypothesis testing
7 hypothesis testing7 hypothesis testing
7 hypothesis testing
 
PG STAT 531 Lecture 6 Test of Significance, z Test
PG STAT 531 Lecture 6 Test of Significance, z TestPG STAT 531 Lecture 6 Test of Significance, z Test
PG STAT 531 Lecture 6 Test of Significance, z Test
 
Unit 3
Unit 3Unit 3
Unit 3
 
Top schools in delhi ncr
Top schools in delhi ncrTop schools in delhi ncr
Top schools in delhi ncr
 
Biostatistics
BiostatisticsBiostatistics
Biostatistics
 
Hypothesis
HypothesisHypothesis
Hypothesis
 
hypothesis testing - research oriented
hypothesis testing  -  research orientedhypothesis testing  -  research oriented
hypothesis testing - research oriented
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Hypothesis Testing
Hypothesis TestingHypothesis Testing
Hypothesis Testing
 
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesisTesting of Hypothesis, p-value, Gaussian distribution, null hypothesis
Testing of Hypothesis, p-value, Gaussian distribution, null hypothesis
 
Nonparametric and Distribution- Free Statistics
Nonparametric and Distribution- Free Statistics Nonparametric and Distribution- Free Statistics
Nonparametric and Distribution- Free Statistics
 

Recently uploaded

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Recently uploaded (20)

Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

Hypothesis Testing Assignment Help

  • 2.  Recall: We discussed an example in Chapter 5 about microdrills.  Our sample had a mean of 12.68 and standard deviation of 6.83.  Let us assume that the main question is whether or not the population mean lifetime µ is greater than 11.  We can address this by examining the value of the sample mean. We see that our sample mean is larger than 11, but because of uncertainty in the means, this does not guarantee that µ > 11.
  • 3.  We would like to know just how certain we can be that µ > 11.  A confidence interval is not quite what we need.  The statement “µ > 11” is a hypothesis about the population mean µ.  To determine just how certain we can be that a hypothesis is true, we must perform a hypothesis test.
  • 4.  The null hypothesis says that the effect indicated by the sample is due only to random variation between the sample and the population. We denote this with H0.  The alternative hypothesis says that the effect indicated by the sample is real, in that it accurately represents the whole population. We denote this with H1.  In performing a hypothesis test, we essentially put the null hypothesis on trial.
  • 5.  We begin by assuming that H0is true just as we begin a trial by assuming a defendant to be innocent.  The random sample provides the evidence.  The hypothesis test involves measuring the strength of the disagreement between the sample and H0to produce a number between 0 and 1, called a P-value.
  • 6.  The P-value measures the plausibility of H0.  The smaller the P-value, the stronger the evidence is against H0.  If the P-value is sufficiently small, we may be willing to abandon our assumption that H0is true and believe H1instead.  This is referred to as rejecting the null hypothesis.
  • 7.  Define H0 and H1.  Assume H0 to be true.  Compute a test statistic.  A test statistic is a statistic that is used to assess the strength of the evidence against H0.  A test that uses the z-score as a test statistic is called a z-test.  Compute the P-value of the test statistic.  The P-value is the probability, assuming H0 to be true, that the test statistic would have a value whose disagreement with H0 is as great as or greater than what was actually observed.  The P-value is also called the observed significance level.
  • 8.  A scale is to be calibrated by weighing a 1000 g test weight 60 times. The 60 scale readings have mean 1000.6 g and standard deviation 2 g. Find the P- value for testing: H0 = 1000 H1 ≠ 1000  The null hypothesis specifies that µ is equal to a specific value.  For this reason, values of the sample mean that are either much larger or much smaller than µ will provide evidence against H0.  We assume that H0 is true, and that therefore the sample readings were drawn from a population with mean µ = 1000.  We approximate the population standard deviation with s = 2.
  • 9.  The null distribution of is normal with mean 1000 and standard deviation of The z-score of the observed is  Since H0 specifies µ = 1000, regions in both tails of the curve are in greater disagreement with H0 that the observed value of 1000.6. The P-value is the sum of the areas in both tails, which is 0.0204.  Therefore if H0 is true, the probability of a result as extreme as or more extreme than that observed is only 0.0204.  The evidence against H0 is pretty strong. It would be prudent to reject H0 and to recalibrate the scale. X .258.060/2 = 6.1000=X 32.2 258.0 10006.1000 = − =z
  • 10.  When H0 specifies a single value for µ, both tails contribute to the P-value, and the test is said to be a two-sided or two-tailed test.  When H0 specifies only that µ is greater than or equal to, or less than or equal to a value, only one tail contributes to the P-value, and the test is called a one-sided or one-tailed test.
  • 11.  Let X1,…, Xn be a large (e.g., n ≥ 30) sample from a population with mean µ and standard deviation σ. To test a null hypothesis of the form H0: µ ≤ µ0, H0: µ ≥ µ0, or H0: µ = µ0.  Compute the z-score:  If σ is unknown it may be approximated by s. n X z / 0 σ µ− =
  • 12. Compute the P-value. The P-value is an area under the normal curve, which depends on the alternate hypothesis as follows.  If the alternative hypothesis is H1: µ > µ0, then the P-value is the area to the right of z.  If the alternative hypothesis is H1: µ < µ0, then the P-value is the area to the left of z.  If the alternative hypothesis is H1: µ ≠ µ0, then the P-value is the sum of the areas in the tails cut off by z and -z.
  • 13.  A chemical plant has a mean daily output of at least 740 tons. The output is measured on a simple random sample of 60 days. The sample had a mean of 715 tons/day and a standard deviation of 24 tons/day. An engineer tests:  Ho: µ≥740, H1: µ <740  Find the p-value
  • 14.  The smaller the P-value, the more certain we can be that H0 is false.  The larger the P-value, the more plausible H0 becomes but we can never be certain that H0 is true.  A rule of thumb suggests to reject H0 whenever P ≤ 0.05. While this rule is convenient, it has no scientific basis.
  • 15.  There are two conclusions that we draw when we are finished with a hypothesis test,  We reject H0. In other words, we concluded that H0 is false.  We do not reject H0. In other words, H0 is plausible.  One can never conclude that H0 is true. We can just conclude that H0 might be true.  We need to know what level of disagreement, measured with the P-value, is great enough to render the null hypothesis implausible.
  • 16.  Specifications for a water pipe call for a mean breaking strength µ of more than 2000 lb per linear foot. Engineers will perform a hypothesis test to decide whether or not to use a certain kind of pipe. They will select a random sample of 1 ft sections of pipe, measure their breaking strengths, and perform a hypothesis test. The pipe will not be used unless the engineers can conclude that µ > 2000.  6.4: Assume they test H0: µ ≤ 2000 versus H1: µ > 2000. Will the engineers decide to use the pipe if H0 is rejected? What if H0 is not rejected?  6.5: What are the two possible conclusions from Ho: µ ≥2000 vs. H1: μ < 2000?
  • 17.  Whenever the P-value is less than a particular threshold, the result is said to be “statistically significant” at that level.  So, if P ≤ 0.05, the result is statistically significant at the 5% level.  So, if P ≤ 0.01, the result is statistically significant at the 1% level.  If the test is statistically significant at the 100α% level, we can also say that the null hypothesis is “rejected at level 100α%.”
  • 18. A hypothesis test is performed of the null hypothesis H0: µ = 0. The P-value turns out to be 0.03. Is the result statistically significant at the 10% level? The 5% level? The 1% level? Is the null hypothesis rejected at the 10% level? The 5% level? The 1% level?
  • 19.  When we had a large sample we used the sample standard deviation s to approximate the population deviation σ.  When the sample size is small, s may not be close to σ, which invalidates this large-sample method.  However, when the population is approximately normal, the Student’s t distribution can be used.  The only time that we don’t use the Student’s t distribution for this situation is when the population standard deviation σ is known. Then we are no longer approximating σ and we should use the z-test.
  • 20.  Let X1,…, Xn be a sample from a normal population with mean µ and standard deviation σ, where σ is unknown.  To test a null hypothesis of the form H0: µ ≤ µ0, H0: µ ≥ µ0, or H0: µ = µ0.  Compute the test statistic . / 0 ns X t µ− =
  • 21. Before a substance can be deemed safe for landfilling, its chemical properties must be characterized. An article reports that in a sample of six replicates of sludge from a New Hampshire wastewater treatment plant, the mean pH was 6.68 with a standard deviation of 0.20. Can we conclude that the mean pH is less than 7.0?
  • 22.
  • 23. The article “Solid-Phase Chemical Fractionation of Selected Trace Metals in Some Northern Kentucky Soils” (A. Karathanasis and J. Pus, Soil and Sediment Contamination, 2005:293-308) reports that in a sample of 26 soil specimens taken in a region of Northern Kentucky, the average concentration of chromium (Cr) in mg/kg was 20.75 with a standard deviation of 3.93. a. Can you conclude that the mean concentration of Cr is greater than 20 mg/kg? b. Can you conclude that the mean concentration of Cr is less than 25 mg/kg?
  • 24.  Now, we are interested in determining whether or not the means of two populations are equal.  The data will consist of two samples, one from each population.  We will compute the difference of the sample means. Since each of the sample means follows an approximate normal distribution, the difference is approximately normal as well.  If the difference is far from zero, we will conclude that the population means are different.  If the difference is close to zero, we will conclude that the population means might be the same.
  • 25.  Let X1,…,XnX and Y1,…,YnY be large (e.g., nX ≥ 30 and nY ≥ 30) samples from populations with mean µX and µY and standard deviations σX and σY, respectively. Assume the samples are drawn independently of each other.  To test a null hypothesis of the form H0: µX - µY ≤ Δ0, H0: µX - µY ≥ Δ0, or H0: µX - µY = Δ0.  Compute the z-score:  If σX and σY are unknown they may be approximated by sX and sY. . // )( 22 0 YYXX nn YX z σσ + −− = ∆
  • 26. Sample Mean Difference between Means Large Sample (σ is known) Small Sample (σ is known) Small Sample (σ is unknown, variances are not equal) (σ is unknown, variances are equal) ( ) ( ) 1 / 1 / 2222 2 22 − + −         + = Y YY X XX Y Y X X n ns n ns n s n s v . 2 )1()1( 22 2 −+ −+− = YX YYXX p nn snsn s n X z / 0 σ µ− = . / 0 ns X t µ− = n X z / 0 σ µ− = . // )( 22 0 YYXX nn YX z σσ + −− = ∆ . /1/1 )( 0 YXp nns YX t + −− = ∆ . // )( 22 0 YYXX nsns YX t + ∆−− = . // )( 22 0 YYXX nn YX z σσ + −− = ∆
  • 27. An article compares properties of welds made using carbon dioxide as a shielding gas with those of welds made using a mixture of argon and carbon dioxide. One property studied was the diameter of inclusions, which are particles embedded in the weld. A sample of 544 inclusions in welds made using argon shielding averaged 0.37µm in diameter, with a standard deviation of 0.25 µm. A sample of 581 inclusions in welds made using carbon dioxide shielding averaged 0.40 µm in diameter, with a standard deviation of 0.26 µm. Can you conclude that the mean diameters of inclusions differ between the two shielding gases?
  • 28.
  • 29.  In a study of the relationship of the shape of a tablet to its dissolution time, 6 disk-shaped ibuprofen tablets and 8 oval-shaped ibuprofen tablets were dissolved in water. The dissolve times, in seconds, were as follows  Disk: 269.0 249.3 255.2 252.7 247.0 261.6  Oval: 268.8 260.0 273.5 253.9 278.5 289.4 261.6 280.2  Can you conclude that the mean dissolve times are different between the two shapes?
  • 30.  We saw in Chapter 5 that sometimes it is better to design a two-sample experiment so that each item in one sample is paired with an item in the other.  In this section, we present a method for testing hypotheses involving the difference between two population means on the basis of such paired data.  If the sample is large, the Di need not be normally distributed. The test statistic is and a z-test should be performed.ns D z D 0µ− =
  • 31.  Let (X1, Y1),…, (Xn, Yn) be sample of ordered pairs whose differences D1,…,Dn are a sample from a normal population with mean µD.  To test a null hypothesis of the form H0: µD ≤ µ0, H0: µD ≥ µ0, or H0: µD = µ0.  Compute the test statistic .ns D t D 0µ− =
  • 32.  In an experiment to determine the effect of ambient temperature on the emissions of oxides of nitrogen (NOx) of diesel trucks, 10 trucks were run at temperatures of 40 and 80 F. Can you conclude that the mean NOx emissions at the two temperatures are different? The emissions, in ppm, are presented in the table at the right.
  • 33.  Sometimes it is desirable to test a null hypothesis that two populations have equal variances.  In general, there is no good way to do this.  In the special case where both populations are normal, there is a method available.  Let X1,…, Xm be a simple random sample from a N(µ1, σ1 2 ) population, and let Y1,…, Yn be a simple random sample from a N(µ2, σ2 2 ) population.  Assume that the samples are chosen independently.  The values of the means are irrelevant, we are only concerned with the variances.
  • 34.  Let s1 2 and s2 2 be the sample variances.  Any of three null hypothesis may be tested. They are 2 2 2 12 2 2 1 0 2 2 2 12 2 2 1 0 2 2 2 12 2 2 1 0 ly,equivalentor,1: ly,equivalentor,1: ly,equivalentor,1: σσ σ σ σσ σ σ σσ σ σ == ≥≥ ≤≤ H H H
  • 35.  The test statistic is the ratio of the two sample variances:  When H0 is true, we assume that σ1 2 /σ2 2 =1, or equivalently σ1 2 = σ2 2 . When s1 2 and s2 2 are, on average, the same size, F is likely to be near 1.  When H0 is false, we assume that σ1 2 > σ2 2 . When s1 2 is likely to be larger than s2 2 , and F is likely to be greater than 1. 2 2 2 1 s s F =
  • 36.  Statistics that have an F distribution are ratios of quantities, such as the ratio of two variances.  The F distribution has two values for the degrees of freedom: one associated with the numerator, and one associated with the denominator.  The degrees of freedom are indicated with subscripts under the letter F.  Note that the numerator degrees of freedom are always listed first.  A table for the F distribution is provided (Table A.7 in Appendix A).
  • 37.
  • 38.  The null distribution of the F statistic is Fm-1,n-1.  The number of degrees of freedom for the numerator is one less than the sample size used to compute s1 2 , and the number of degrees of freedom for the denominator is one less than the sample size used to compute s2 2 .  Note that the F test is sensitive to the assumption that the samples come from normal populations.  If the shapes of the populations differ much from the normal curve, the F test may give misleading results.  The F test does not prove that two variances are equal. The basic reason for the failure to reject the null hypothesis does not justify the assumption that the null hypothesis is true.
  • 39. In a series of experiments to determine the absorption rate of certain pesticides into skin, measured amounts of two pesticides were applied to several skin specimens. After a time, the amounts absorbed (in µg) were measured. For pesticide A, the variance of the amounts absorbed in 6 specimens was 2.3, while for pesticide B, the variance of the amounts absorbed in 10 specimens was 0.6. Assume that for each pesticide, the amounts absorbed are a simple random sample from a normal population. Can we conclude that the variance in the amount absorbed is greater for pesticide A than for pesticide B?
  • 40.  A broth used to manufacture a pharmaceutical product has its sugar content, in mg/mL, measured several times on each of three successive days.  Is variability of the process greater on Day 2 compared to Day 1?  Is variability on Day 3 greater than that of Day 2? Ave = 4.96 s2 =0.019 Ave = 5.18 s2 = 0.148 Ave = 5.42 s2 = 0.269
  • 41.  A hypothesis test measures the plausibility of the null hypothesis by producing a P-value.  The smaller the P-value, the less plausible the null.  We have pointed out that there is no scientifically valid dividing line between plausibility and implausibility, so it is impossible to specify a “correct” P-value below which we should reject H0.  If a decision is going to be made on the basis of a hypothesis test, there is no choice but to pick a cut-off point for the P- value.  When this is done, the test is referred to as a fixed-level test.
  • 42. To conduct a fixed-level test:  Choose a number α, where 0 < α < 1. This is called the significance level, or the level, of the test.  Compute the P-value in the usual way.  If P ≤ α, reject H0. If P > α, do not reject H0.
  • 43.  In a fixed-level test, a critical point is a value of the test statistic that produces a P-value exactly equal to α.  A critical point is a dividing line for the test statistic just as the significance level is a dividing line for the P-value.  If the test statistic is on one side of the critical point, the P-value will be less than α, and H0 will be rejected.  If the test statistic is on the other side of the critical point, the P-value will be more than α, and H0 will not be rejected.  The region on the side of the critical point that leads to rejection is called the rejection region.  The critical point itself is also in the rejection region.
  • 44. A new concrete mix is being evaluated. The plan is to sample 100 concrete blocks made with the new mix, compute the sample mean compressive strength (X), and then test H0: µ ≤ 1350 versus H1: µ > 1350, where the units are MPa. It is assumed that previous tests of this sort that the population standard deviation σ will be close to 70 MPa. Find the critical point and the rejection region if the test will be conducted at a significance level of 5%.
  • 45. When conducting a fixed-level test at significance level α, there are two types of errors that can be made. These are  Type I error: Reject H0 when it is true.  Type II error: Fail to reject H0 when it is false. The probability of Type I error is never greater than α. Not Reject Null Hypothesis Reject Null Hypothesis Null Hypothesis is true OK Incorrectly reject the null = Type I Error Alternative Hypothesis is true Incorrectly not reject the null = Type II Error OK
  • 46.  A hypothesis test results in Type II error if H0 is not rejected when it is false.  The power of the test is the probability of rejecting H0 when it is false. Therefore, Power = 1 – P(Type II error).  To be useful, a test must have reasonable small probabilities of both type I and type II errors.  The type I error is kept small by choosing a small value of α as the significance level.  If the power is large, then the probability of type II error is small as well, and the test is a useful one.  The purpose of a power calculation is to determine whether or not a hypothesis test, when performed, is likely to reject H0 in the event that H0 is false.
  • 47. This involves two steps: 1. Compute the rejection region. 2. Compute the probability that the test statistic falls in the rejection region if the alternate hypothesis is true. This is power. When power is not large enough, it can be increased by increasing the sample size.
  • 48. Find the power of the 5% level test of H0: µ≤ 80 versus H1: µ > 80 for the mean yield of the new process under the alternative µ = 82, assuming n = 50 and σ = 5.
  • 49.  In testing the hypothesis  Ho : μ ≤ 80  Ha : μ > 80  regarding the mean yield of the new process, how many times must the new process be run so that a test conducted at a significance level of 5% will have power 0.90 against the situation in which μ = 81, if it is assumed that σ= 5?
  • 50.
  • 51.  The mean drying time of a certain paint in a certain application is 12 minutes. A new additive will be tested to see if it reduces the drying time. One hundred specimens will be painted, and the sample mean drying time will be computed. Assume the population standard deviation of drying times is σ = 2 minutes. Let μ be the mean drying time for the new paint. The null hypothesis Ho: μ ≥ 12 will be tested against the alternate H1: μ < 12. a) It is decided to reject Ho if ≤ 11.7. Find the level of this test. b) For parts b-e, assume that unknown to the investigators, the true mean drying time of the new paint is 11.5 minutes. c) Find the power of the test in part a). d) For what values of should Ho be rejected so that the power of the test will be 0.90? What will the level then be? e) For what values of should Ho be rejected so that the level of the test will be 5%? What will the power then be? f) How large a sample is needed so that a 5% level test has power 0.90? X X X
  • 52.  Sometimes a situation occurs in which it is necessary to perform many hypothesis tests.  The basic rule governing this situation is that as more tests are performed, the confidence that we can place in our results decreases.  The Bonferroni method provides a way to adjust P- values upward when several hypothesis tests are performed.  If a P-value remains small after the adjustment, the null hypothesis may be rejected.  To make the Bonferroni adjustment, simply multiply the P-value by the number of test performed.
  • 53. Four different coating formulations are tested to see if they reduce the wear on cam gears to a value below 100 µm. The null hypothesis H0: µ ≥ 100 µm is tested for each formulation and the results are Formulation A: P = 0.37 Formulation B: P = 0.41 Formulation C: P = 0.005 Formulation D: P = 0.21 The operator suspects that formulation C may be effective, but he knows that the P-value of 0.005 is unreliable, because several tests have been performed. Use the Bonferroni adjustment to produce a reliable P-value.
  • 54. www.HelpWithAssignment.com is an online tutoring and Live Assigment help company. We provides seamless online tuitions in sessions of 30 minutes, 60 minutes or 120 minutes covering a variety of subjects. The specialty of HWA online tuitions are: •Conducted by experts in the subject taught •Tutors selected after rigorous assessment and training •Tutoring sessions follow a pre-decided structure based on instructional design best practices •State-of-the art technology used With a whiteboard, document sharing facility, video and audio conferencing as well as chat support HWA’s one-on-one tuitions have a large following. Several thousand hours of tuitions have already been delivered to the satisfaction of customers. In short,HWA’s online tuitions are seamless,personalized and convenient. WWW.HELPWITHASSIGNMENT.COM