Professional Documents
Culture Documents
TESTS OF
HYPOTHESIS
STATISTIKA
ONE-SAMPLE TESTS OF
HYPOTHESIS
• Hypothesis testing for a population mean
• Known population standard deviation
• Unknown population standard deviation
• Hypothesis testing for a population variance
• Hypothesis testing for a population proportion
What is a Hypothesis?
• A hypothesis is a statement about the value of a population
parameter developed for the purpose of testing.
• Examples of hypotheses made about a population parameter are:
• The mean monthly income for systems analysts is $3,625.
• Twenty percent of all customers at Bovine’s Chop House return
for another meal within a month.
• In 2016, the mean starting salary for a graduate from a four-year
business program is $51,541.
• According to the Kelley Blue Book (www.kbb.com), a 2017 Ford
Edge averages 21 miles per gallon in the city.
• The mean cost to remodel a kitchen is $20,000.
What is Hypothesis Testing?
• The terms hypothesis testing and testing a hypothesis are
used interchangeably.
• Hypothesis testing starts with a statement, or assumption,
about a population parameter—such as the population
mean.
• This statement is referred to as a hypothesis.
• Hypothesis testing is a procedure, based on sample
evidence and probability theory.
• Hypothesis testing used to determine whether the
hypothesis is a reasonable statement and should not be
rejected, or is unreasonable and should be rejected.
Hypothesis Testing Steps
7
Important Things to Remember about H0
and H1
• If we conclude 'do not reject H0', this does not necessarily
mean that the null hypothesis is true, it only suggests that
there is not sufficient evidence to reject H0;
• ejecting the null hypothesis then, suggests that the
alternative hypothesis may be true.
• In problem solving, look for key words and convert them
into symbols. Some key words include: “improved, better
than, as effective as, different from, has changed, etc.”
EXAMPLE of H0 and H1
• The following example will help clarify what is meant by the null
hypothesis and the alternate hypothesis.
• A recent article indicated the mean age of U.S. commercial aircraft is 15
years. To conduct a statistical test regarding this statement, the first step
is to determine the null and the alternate hypotheses.
• The null hypothesis represents the current or reported condition. It is
written H0: μ = 15. The alternate hypothesis is that the statement is not
true, that is, H1: μ ≠ 15.
• It is important to remember that no matter how the problem is stated,
the null hypothesis will always contain the equal sign.
• The equal sign (=) will never appear in the alternate hypothesis. Why?
Because the null hypothesis is the statement being tested, and we need
a specific value to include in our calculations. We turn to the alternate
hypothesis only if the data suggest the null hypothesis is untrue.
Step 2: Select a Level of Significance
• After setting up the null hypothesis and alternate hypothesis, the next step is to
state the level of significance.
• LEVEL OF SIGNIFICANCE The probability of rejecting the null hypothesis when it is
true.
• The level of significance is designated α, the Greek letter alpha.
• It is also sometimes called the level of risk. This may be a more appropriate term
because it is the risk you take of rejecting the null hypothesis when it is really
true.
• There is no one level of significance that is applied to all tests.
• A decision is made to use the .05 level (often stated as the 5% level), the .01 level,
the .10 level, or any other level between 0 and 1.
• Traditionally, the .05 level is selected for consumer research projects, .01 for
quality assurance, and .10 for political polling.
TYPE I ERROR
• In terms of hypothesis testing, we rejected the null
hypothesis when we should have failed to reject the null
hypothesis.
• By rejecting a true null hypothesis, we committed a Type I
error.
• The probability of committing a Type I error is represented
by the Greek letter alpha (α).
• TYPE I ERROR Rejecting the null hypothesis, H0, when it is
true.
TYPE II ERROR
• The other possible error in hypothesis testing is called Type
II error.
• The probability of committing a Type II error is designated
by the Greek letter beta (β).
• TYPE II ERROR Not rejecting the null hypothesis when it is
false.
TYPE I and II ERROR
Step 3: Select the Test Statistic
• TEST STATISTIC A value, determined from sample
information, used to determine whether to reject the null
hypothesis.
• There are many test statistics.
• We use both Z and t as the test statistics.
• We will use such test statistics as F and χ2, called chi-square.
Step 4: Formulate the Decision Rule
• A decision rule is a statement of the specific conditions
under which the null hypothesis is rejected and the
conditions under which it is not rejected.
• The region or area of rejection defines the location of all
those values that are so large or so small that the
probability of their occurrence under a true null hypothesis
is rather remote.
• CRITICAL VALUE The dividing point between the region
where the null hypothesis is rejected and the region where
it is not rejected.
Parts of a Distribution in Hypothesis
Testing
Note in the chart that:
• The area where the null hypothesis is not rejected is to the left of
1.645.
• We will explain how to get the 1.645 value shortly.
• The area of rejection is to the right of 1.645.
• A one-tailed test is being applied. (This will also be explained later.)
• The .05 level of significance was chosen.
• The sampling distribution of the statistic z follows the normal
probability distribution.
• The value 1.645 separates the regions where the null hypothesis is
rejected and where it is not rejected.
• The value 1.645 is the critical value.
Step 5: Make a Decision
• The fifth step in hypothesis testing is to compute the value
of the test statistic.
• Compare its value to the critical value, and make a decision
to reject or not to reject the null hypothesis.
Step 6: Interpret the Result
• The final step in the hypothesis testing procedure is to
interpret the results.
• The process does not end with the value of a sample
statistic or the decision to reject or not reject the null
hypothesis.
ONE-TAILED AND TWO-TAILED
HYPOTHESIS TESTS
• It is called a one-tailed test because the rejection region is
only in one tail of the curve.
• One way to determine the location of the rejection region is
to look at the direction in which the inequality sign in the
alternate hypothesis is pointing (either < or >).
• If it is pointing to the left, and the rejection region is
therefore in the left tail and vice versa.
• If no direction is specified in the alternate hypothesis, we
use a two-tailed test.
ONE-TAILED AND TWO-TAILED
HYPOTHESIS TESTS
• A test is one-tailed when the alternate hypothesis, H1, states a direction,
such as:
• H0: The mean income of female stockbrokers is less than or equal to
$65,000 per year.
• H1: The mean income of female stockbrokers is greater than
$65,000 per year.
• Changing the previous problem to illustrate, we can say:
• H0 : The mean income of female stockbrokers is $65,000 per year.
• H1 : The mean income of female stockbrokers is not equal to
$65,000 per year.
ONE-TAILED HYPOTHESIS
TESTS
Left-tail or Right-tail Test?
Inequality Part • The direction of the test involving
Keywords Symbol of: claims that use the words “has
Larger (or more) than > H1 improved”, “is better than”, and the
Smaller (or less) < H1 like will depend upon the variable
being measured.
No more than H0
• For instance, if the variable involves
At least ≥ H0
time for a certain medication to take
Has increased > H1 effect, the words “better” “improve”
Is there difference? ≠ H1 or more effective” are translated as
“<” (less than, i.e. faster relief).
Has not changed = H0
• On the other hand, if the variable
Has “improved”, “is > H1 refers to a test score, then the words
better than”. “is “better” “improve” or more
more effective” effective” are translated as “>”
(greater than, i.e. higher test scores)
TWO-TAILED HYPOTHESIS
TESTS
p-VALUE IN HYPOTHESIS
TESTING
• p-VALUE is the probability of observing a sample value as
extreme as, or more extreme than, the value observed,
given that the null hypothesis is true.
• In testing a hypothesis, we can also compare the p-value to
with the significance level ().
• If the p-value < significance level, H0 is rejected.
• If the p-value > significance level, H0 is accepted.
What does it mean when p-value
< ?
• p-value < 0.10, we have some evidence that H0 is not true.