Presentation is loading. Please wait.

Presentation is loading. Please wait.

Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic.

Similar presentations


Presentation on theme: "Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic."— Presentation transcript:

1 Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic and its p-value 4. The rejection region 5. The conclusion 1

2 Definition 9.1: Hypothesis testing can be used to determine whether a statement about the value of a population parameter should or should not be rejected. Null hypothesis, H 0 : A null hypothesis is a claim (or statement) about a population parameter that is assumed to be true. (the null hypothesis is either rejected or fails to be rejected.) Alternative hypothesis, H 1 : An alternative hypothesis is a claim about a population parameter that will be true if the null hypothesis is false. Test Statistic is a function of the sample data on which the decision is to be based. p-value is the probability calculated using the test statistic. The smaller the p-value, the more contradictory is the data to. 2

3 It is not always obvious how the null and alternative hypothesis should be formulated. When formulating the null and alternative hypothesis, the nature or purpose of the test must also be taken into account. We will examine: 1) The claim or assertion leading to the test. 2) The null hypothesis to be evaluated. 3) The alternative hypothesis. 4) Whether the test will be two-tail or one-tail. 5) A visual representation of the test itself. In some cases it is easier to identify the alternative hypothesis first. In other cases the null is easier.

4 9.1.1 Alternative Hypothesis as a Research Hypothesis Many applications of hypothesis testing involve an attempt to gather evidence in support of a research hypothesis. In such cases, it is often best to begin with the alternative hypothesis and make it the conclusion that the researcher hopes to support. The conclusion that the research hypothesis is true is made if the sample data provide sufficient evidence to show that the null hypothesis can be rejected.

5 Example 9.1: A new drug is developed with the goal of lowering blood pressure more than the existing drug. Alternative Hypothesis: The new drug lowers blood pressure more than the existing drug. Null Hypothesis: The new drug does not lower blood pressure more than the existing drug.

6 9.1.2 Null Hypothesis as an Assumption to be Challenged We might begin with a belief or assumption that a statement about the value of a population parameter is true. We then using a hypothesis test to challenge the assumption and determine if there is statistical evidence to conclude that the assumption is incorrect. In these situations, it is helpful to develop the null hypothesis first.

7 Example 9.2 : The label on a soft drink bottle states that it contains at least 67.6 fluid ounces. Null Hypothesis: The label is correct. µ > 67.6 ounces. Alternative Hypothesis: The label is incorrect. µ < 67.6 ounces.

8 Example 9.3: Average tire life is 35000 miles. Null Hypothesis: µ = 35000 miles Alternative Hypothesis: µ  35000 miles

9 9.1.3 How to decide whether to reject or accept ? The entire set of values that the test statistic may assume is divided into two regions. One set, consisting of values that support the and lead to reject, is called the rejection region. The other, consisting of values that support the is called the acceptance region. H 0 always gets “=“. Tails of a Test 9 Two-Tailed Test Left-Tailed Test Right-Tailed Test Sign in== or Sign in<> Rejection RegionIn both tailIn the left tailIn the right tail

10 Because hypothesis tests are based on sample data, we must allow for the possibility of errors. n A Type I error is rejecting H 0 when it is true. n The probability of making a Type I error when the null hypothesis is true as an equality is called the level of significance (  ). n Applications of hypothesis testing that only control the Type I error are often called significance tests.

11 9.2.2 Type II Error n A Type II error is accepting H 0 when it is false. n It is difficult to control for the probability of making a Type II error, . n Statisticians avoid the risk of making a Type II error by using “do not reject H 0 ” and not “accept H 0 ”.

12 Type I and Type II Errors Correct Decision Type II Error Correct Decision Type I Error Reject H 0 Do not reject H 0 H 0 True H 0 False Conclusion Population Condition

13 9.3 Population Mean,, ( known and unknown ) Null Hypothesis : Test Statistic : 13 any population, is known and n is large or normal population, is known and n is small any population, is unknown and n is large normal population, is unknown and n is small

14 Alternative hypothesisRejection Region 14

15 Definition 9.2: p-value The p-value is the smallest significance level at which the null hypothesis is rejected. 15

16 Example 9.4 16

17 Solution 17

18 18 Alternative hypothesisRejection Region

19 Example 9.5 When working properly, a machine that is used to make chips for calculators does not produce more than 4% defective chips. Whenever the machine produces more than 4% defective chips it needs an adjustment. To check if the machine is working properly, the quality control department at the company often takes sample of chips and inspects them to determine if the chips are good or defective. One such random sample of 200 chips taken recently from the production line contained 14 defective chips. Test at the 5% significance level whether or not the machine needs an adjustment. 19

20 Solution 20

21 21

22 22

23

24 Example 9.6 : The scientist wondered whether there was a difference in the average daily intakes of dairy products between men and women. He took a sample of n =50 adult women and recorded their daily intakes of dairy products in grams per day. He did the same for adult men. A summary of his sample results is listed below. Construct a 95% confidence interval for the difference in the average daily intakes of daily products for men and women. Can you conclude that there is a difference in the average daily intakes of daily products for men and women? 24 MenWomen Sample size50 Sample mean780 grams per day762 grams per day Sample standard deviation 3530

25 Solution 25

26 Test statistics: 26

27 27 For two small and independent samples taken from two normally distributed populations.

28 Alternative hypothesisRejection Region 28

29 Example 9.7 29

30 Solution 30

31

32 32

33 Example 9.8: A researcher wanted to estimate the difference between the percentages of users of two toothpastes who will never switch to another toothpaste. In a sample of 500 users of Toothpaste A taken by this researcher, 100 said that the will never switch to another toothpaste. In another sample of 400 users of Toothpaste B taken by the same researcher, 68 said that they will never switch to another toothpaste. Construct a 97% confidence interval for the difference between the proportions of all users of the two toothpastes who will never switch. 33

34 Solutions Toothpaste A : n 1 = 500 and x 1 = 100 Toothpaste B : n 2 = 400 and x 2 = 68 The sample proportions are calculated; Thus, with 97% confidence we can state that the difference between the two population proportions is between -0.026 and 0.086. 34

35 35

36 36 Alternative hypothesisRejection Region

37 Example 9.9: Reconsider Example 9.8, At the significance level 1%, can we conclude that the proportion of users of Toothpaste A who will never switch to another toothpaste is higher than the proportion of users of Toothpaste B who will never switch to another toothpaste? 37

38 Solution 38


Download ppt "Hypothesis and Test Procedures A statistical test of hypothesis consist of : 1. The Null hypothesis, 2. The Alternative hypothesis, 3. The test statistic."

Similar presentations


Ads by Google