HYPOTHESIS TESTING - PowerPoint PPT Presentation

1 / 29
About This Presentation
Title:

HYPOTHESIS TESTING

Description:

... heavy users of marijuana were tested for memory recall, with the result below. ... said that they sometimes ordered dish without meat or fish when they eat out. ... – PowerPoint PPT presentation

Number of Views:38
Avg rating:3.0/5.0
Slides: 30
Provided by: notesU
Category:

less

Transcript and Presenter's Notes

Title: HYPOTHESIS TESTING


1
HYPOTHESIS TESTING
  • CHAPTER 7
  • DCT 2063

2
CONTENT
  • 7.1 The Hypothesis Testing Procedure in
  • General
  • 7.2 Hypothesis Testing for Mean with
  • known and unknown Variance
  • 7.3 Hypothesis Testing for Different Mean
  • with known and unknown Variance
  • 7.4 Hypothesis Testing for Proportion

3
OBJECTIVES
  • After completing this chapter, you should be able
    to
  • 1. Understand the Definitions used in Hypothesis
  • Testing
  • 2. State the Null and Alternative Hypothesis
  • 3. Test the hypothesis of Population Means for
  • Large and Small Samples
  • 4. Test the hypothesis of Proportions

4
7.1 The Hypothesis Testing Procedure in
General
  • Hypothesis
  • A statement that something TRUE
  • Statistical Hypothesis
  • A statement about the parameters of one or more
    populations.
  • Null Hypothesis (Ho)
  • A hypothesis to be tested
  • Alternative Hypothesis (H1)
  • A hypothesis to be considered as an alternative
    to the null hypothesis

5
How to make Null hypothesis
  • Should have an equal sign
  • Generally,

parameter
A value
6
How to make Alternative hypothesis
  • Should reflect the purpose of the hypothesis test
    and different from the null hypothesis
  • Generally (3 types)

7
Basic logic of Hypothesis Testing
  • Accept null hypothesis
  • if the sample data are consistent with the null
    hypothesis
  • Reject null hypothesis
  • if the sample data are inconsistent with the null
    hypothesis, so accept Alternative hypothesis
  • Test statistics
  • the statistics used as a basis for deciding
    whether the null hypothesis should be rejected
    (z, t, Khi, F)

8
Basic logic of Hypothesis Testing
  • Rejection (Critical) Region, (a)
  • the set of values for the test statistics that
    leads to rejection of the null hypothesis
  • Nonrejection (NonCritical) Region,(1 a)
  • the set of values for the test statistics that
    leads to nonrejection of the null hypothesis
  • Critical values
  • the values of the test statistics that separate
    the rejection and nonrejection regions.
  • A critical value is considered part of the
    rejection region
  • In general, Reject Ho if test statistics gt
    critical value

9
Rejection Region
Reject Ho
Reject Ho
Accept Ho
Critical value
Critical value
Reject Ho
Accept Ho
Critical value
Reject Ho
Accept Ho
Critical value
10
Type I and II Error
  • Type I Error
  • - Rejecting the null hypothesis when it is in
    fact true
  • Type II Error
  • -Not rejecting the null hypothesis when it is in
    fact false

11
Hypothesis Testing Common Phrase
12
Example
  • State the null and alternative hypotheses for
    each conjecture.
  • A researcher thinks that if expectant mothers use
    vitamin pills, the birth weight of the babies
    will increase. The average birth weight of the
    population is 8.6 pounds.
  • An engineer hypothesizes that the mean number of
    defects can be decreased in a manufacturing
    process of compact disks by using robots instead
    of humans for certain tasks. The mean number of
    defective disks per 1000 is 18.
  • A psychologist feels that playing soft music
    during a test will change the results of the
    test. The psychologist is not sure whether the
    grades will be higher or lower. In the past, the
    mean of the scores was 73.

13
Steps In Hypothesis Testing
  • Define the parameter used
  • Define the null and alternative hypothesis
  • Define all the given information
  • Chose appropriate Test Statistics
  • Find Critical value
  • Test the hypothesis
  • Make conclusion

14
7.2 Hypothesis Testing for Mean with
known and unknown Variance
15
Example 1 Hypothesis testing for mean µ with
known s²
  • A lecturer state that the IQ score for IPT
    students must be more higher than other people
    IQs which is known to be normally distributed
    with mean 110 and standard deviation 10. To prove
    his hypothesis, 25 IPT students were chosen and
    were given an IQ test. The result shows that the
    mean IQ score for 25 IPT students is 114. Can we
    accept his hypothesis at significance level, a
    0.05?

16
Example 2 Hypothesis testing for mean µ with
unknown s² and n 30
  • UMP students said that they have no enough time
    to sleep. A sample of 36 students give that the
    mean of sleep time is 6 hours and the standard
    deviation is 0.9 hours. It is known that the mean
    sleep time for adult is 6.5 hours. Can we accept
    their hypothesis at significance level, a 0.01?

17
Example 3 Hypothesis testing for mean µ with
unknown s² and n lt 30
  • In a wood cutting process to produce rulers, the
    mean of rulers height is set to be equal 100 cm
    at all times. If the mean height of rulers is not
    equal to 100 cm, the process will stop
    immediately. The height for a sample of 10 rulers
    produces by the process shows below
  • 100.13 100.11 100.02 99.99 99.98
  • 100.14 100.03 100.10 99.97 100.21
  • Can we stop the process at significance level, a
    0.05?

18
7.3 Hypothesis Testing for Different Mean with
known and unknown Variance
19
Example 4 Hypothesis testing for µ1 µ2 with
known s1² and s2²
  • The mean lifetime for 30 battery type A is 5.3
    hours while the mean lifetime for 35 battery type
    B is 4.8 hours. If the lifetime standard
    deviation for the battery type A is 1 and the
    lifetime standard deviation for the battery type
    B is 0.7 hours, can we conclude that the lifetime
    for both batteries type A and type B are same at
    significance level, a 0.05?

20
Example 5 Hypothesis testing for µ1 µ2 with
unknown s1² s2², s1² ? s2² , n1 30 n2 30
  • The mean price of 30 acre of land in Cerok before
    a highway is build is RM20,000 per acre with
    standard deviation RM 3000 per acre. The mean
    price of 36 acre of land in Cerok after the
    highway is build is RM50,000 per acre with
    standard deviation RM 4000 per acre. Test a
    hypothesis that the new highway will increases
    the land price in Cerok among RM35,000 at
    significance level, a 0.05. Assume that the
    variances of land price in Cerok are not same
    before and after the highway is build.

21
Example 6 Hypothesis testing for µ1 µ2 with
unknown s1² s2², s1² ? s2², n1 lt 30 n2 lt 30
  • The mean lifetime for 10 battery type A is 5.3
    hours with standard deviation 1 hour while the
    mean lifetime for 8 battery type B is 4.8 hours
    with standard deviation 0.7 hours. Can we
    conclude that the lifetime for both battery type
    A and type B are same at significance level, a
    0.05? Assume that the variance lifetime for both
    batteries type A and type B are different.

22
Example 7 Hypothesis testing for µ1 µ2 with
unknown s1² s2², s1² s2² , n1 30 n2 30
  • Many studies have been conducted to test the
    effects of marijuana use on mental abilities. In
    a study, groups of light and heavy users of
    marijuana were tested for memory recall, with the
    result below.
  • Item sort correctly by light marijuana users
  • Item sort correctly by heavy marijuana users
  • Use 0.01 significance level to test the claim
    that the population of heavy marijuana users has
    a lower mean than the light users if the variance
    population for both users are same.

23
Example 8 Hypothesis testing for µ1 µ2 with
unknown s1² s2², s1² s2² , n1 lt 30 n2 lt 30
  • Two catalyst are being analyzed to determine the
    mean yield of a chemical process. A test is run
    in the pilot plant and results are shown below.
  • catalyst 1 91.50 94.18 92.18 95.39
    91.79 89.07 94.72 89.21
  • catalyst 2 89.19 90.95 90.46 93.21
    97.19 97.04 91.07 92.75
  • Is there any different between the mean
    yield? Use a 0.05 and assume the variances
    population are equal.

24
7.4 Hypothesis testing for proportion p
25
Example 9 Hypothesis testing
for proportion p
  • A telephone company representative estimates that
    40 of its customers have call-waiting service.
    To test this hypothesis, she selected a sample of
    100 customers and found that 37 had call
    waiting. At a 0.05, is there enough evidence to
    reject the claim?

26
Example 10 Hypothesis testing
for proportion p
  • A group of scientist believes that their new
    medicine can heal 40 of patients. The current
    medicine in market can only heal 30 of patients.
    A research is done to test the hypothesis made by
    the scientists. The new medicine is given to the
    100 patients and it shows that only 26 patients
    are recovered. Can we accept their hypothesis at
    significance level a 0.05?

27
Example 11 Hypothesis testing for
difference proportion p1 p2
  • In a sample of 200 surgeons, 15 thought the
    government should control health care. In a
    sample of 200 practitioners, 21 felt the same
    way. At a 0.01, is there a difference in the
    proportions between surgeons and practitioners?

28
Example 12 Hypothesis testing for
difference proportion p1 p2
  • Random samples of 747 Malaysian men and 434
    Malaysian women were taken. Of those sampled, 276
    men and 195 women said that they sometimes
    ordered dish without meat or fish when they eat
    out. Do the data provide sufficient evidence to
    conclude that, in Malaysia, the percentage of men
    who sometimes order a dish without meat or fish
    is smaller than the percentage of women who
    sometimes order a dish without meat or fish at
    significance level a 0.05?

29
Summary
  • 0.01, 0.05 and 0.1 significance levels are
    usually used in testing a hypothesis.
  • Hypothesis test are closely related to confidence
    interval. Whenever a confidence interval can be
    computed, a hypothesis test can also be
    performed, and vice versa.
  • The End

Thank You
Write a Comment
User Comments (0)
About PowerShow.com