Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach.

Similar presentations


Presentation on theme: "1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach."— Presentation transcript:

1 1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach

2 2 2 Slide IS 310 – Business Statistics Hypothesis Testing What is a Hypothesis? A statement about population that may or may not be true. Examples: O The average nicotine content of a new brand of cigarette is 0.05 milligrams. O The average life of a new battery is over 72 months. O The proportion of all registered voters in the US who favor a Presidential candidate is 0.55. What is Hypothesis Testing? A procedure to test a hypothesis

3 3 3 Slide IS 310 – Business Statistics Hypothesis Testing Hypothesis testing is used under several situations: O To test if a new drug is more effective O To test if a new process improves a product O To test if employee training improves employee job rating O To test if a new bonus plan increases sales performance O To test if new advertising increases sales volume And a host of similar situations

4 4 4 Slide IS 310 – Business Statistics Hypothesis Testing Hypothesis Testing Developing Null and Alternative Hypotheses Developing Null and Alternative Hypotheses Type I and Type II Errors Type I and Type II Errors Population Mean:  Known Population Mean:  Known Population Mean:  Unknown Population Mean:  Unknown

5 5 5 Slide IS 310 – Business Statistics Developing Null and Alternative Hypotheses n The Null hypothesis is denoted by H n o n The Alternative hypothesis is denoted by H n a n The Null hypothesis is written in one of the following three ways: n H : µ = a value n o or n H : µ ≤ a value n o or n H : µ ≥ a value n o

6 6 6 Slide IS 310 – Business Statistics Developing Null and Alternative Hypotheses n The Alternative hypothesis is written in such a way that it is different from the Null hypothesis. n H : µ = 25 n o n H : µ ≠ 25 or H : µ 25 n a a a n H : µ ≥ 25 n o n H : µ < 25 n a

7 7 7 Slide IS 310 – Business Statistics Developing Null and Alternative Hypotheses n Rules for the Null and Alternative Hypotheses: n 1. The Null hypothesis must have an equal sign. n 2. The Alternative hypothesis must be different from n the Null hypothesis.

8 8 8 Slide IS 310 – Business Statistics One-tailed(lower-tail)One-tailed(upper-tail)Two-tailed Summary of Forms for Null and Alternative Hypotheses about a Population Mean n The equality part of the hypotheses always appears in the null hypothesis. in the null hypothesis. In general, a hypothesis test about the value of a In general, a hypothesis test about the value of a population mean  must take one of the following population mean  must take one of the following three forms (where  0 is the hypothesized value of three forms (where  0 is the hypothesized value of the population mean). the population mean).

9 9 9 Slide IS 310 – Business Statistics Examples of Null and Alternative Hypotheses n Example (10-Page 340; 11-Page 350): n A particular automobile model currently gets an average fuel efficiency of 24 MPG. A new fuel injection system has been developed that increases the MPG. We want to test this claim. n H : µ = 24 or µ ≤ 24 n o n H : µ > 24 n a

10 10 Slide IS 310 – Business Statistics Examples of Null and Alternative Hypotheses n Example (10-Page 340/341; 11-Page 351): n Soft drink containers are filled with an average of at least 67.6 fluid ounces. We want to test if these containers do indeed hold 67.6 ounces. n H : µ ≥ 67.6 n o n H : µ < 67.6 n a

11 11 Slide IS 310 – Business Statistics Examples of Null and Alternative Hypotheses n Example (10-Page 341) n A particular part must have an average (or mean) length of two inches. The part is not accepted if it is less than or more than two inches. You want to write the two hypotheses for this situation. n H : µ = 2 n o n H : µ ≠ 2 n a

12 12 Slide IS 310 – Business Statistics Examples of Null and Alternative Hypothesis n Example (11-Page 352) n Back to the soft drink example. n The company does not want to over-fill or under-fill bottles. In this case, the bottles must have exactly 67.6 fluid ounces. n H µ = 67.6 n 0 n H µ ≠ 67.6

13 13 Slide IS 310 – Business Statistics Sample Problems on Null and Alternate Hypotheses n Problem # 1 (10-Page 342; 11-Page 353) n H : µ ≤ 600 H : µ > 600 n 0 a n Problem # 2 (10-Page 342; 11-Page 353) n H : µ ≤ 14 H : µ > 14 n 0 a

14 14 Slide IS 310 – Business Statistics Sample Problems on Null and Alternative Hypotheses Problem # 3 (10-Page 342; 11-Page 353) H : µ = 32 H : µ ≠ 32 0 a 0 a Problem # 4 (10-Page 342; 11-Page 353) H : µ = 220 H :µ < 220 0 a 0 a

15 15 Slide IS 310 – Business Statistics Type I Error Because hypothesis tests are based on sample data, Because hypothesis tests are based on sample data, we must allow for the possibility of errors. 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 null hypothesis is true as an equality is called the level of significance. level of significance. n Applications of hypothesis testing that only control the Type I error are often called significance tests. the Type I error are often called significance tests.

16 16 Slide IS 310 – Business Statistics Hypothesis Testing Steps for One Population Mean (known σ) n Steps: n 1. Develop the Null and the Alternative hypothesis. n 2. Determine the level of significance (  ). n 3. Get a sample of data and calculate test statistic as follows: n _ n x - µ n z = ----------- (µ is the value in H ) n σ /√ n o n 4. Obtain the critical value of z from Table 1 for the given value of . n 5. Draw area of rejection. n 5. Compare the critical value of z with the test statistic. If the n test statistic falls in the area of rejection, reject the Null n hypothesis.

17 17 Slide IS 310 – Business Statistics An Example Problem on Hypothesis Testing (10-Page 345; 11-Page 357) n Hilltop Coffee claims that a large can contains 3 pounds of coffee, on the average. Federal Trade Commission (FTC) wants to test the manufacturer’s claim at  = 0.01. n A sample of 36 cans of coffee is selected and the value of the sample mean is calculated as 2.92. The standard deviation is known as σ = 0.18. n Step 1: H : µ = 3 or µ ≥ 3 n o n H : µ < 3 n a

18 18 Slide IS 310 – Business Statistics Example Problem n Step 2: n Determine the level of significance,  = 0.01 n Step 3: Calculate the test statistic as n 2.92 – 3 - 0.08 n z = ------------- = -------- = - 2.67 n 0.18/√36 0.03 n Step 4: The critical value of z = - 2.33 (from Table 1) n Step 5: Draw the area of rejection (Figure 9.3 on page n 350. n Step 6: Compare critical z with test statistic. Reject H n o n No statistical evidence to support Hilltop Coffee’s claim.

19 19 Slide IS 310 – Business Statistics Example Problem n Problem # 18 (10-Page 358; 11-Page 369) n Do this problem in class!

20 20 Slide IS 310 – Business Statistics Hypothesis Testing p-values The concept of p-values calculates the strength of rejection of null hypothesis, H 0 When a null hypothesis is rejected, one can calculate the strength of rejection by computing the p-value. p-value represents the area to the right or left of the test statistic, depending on how the alternative hypothesis is written. The lower the p-value, greater the strength of rejection.

21 21 Slide IS 310 – Business Statistics p-Value Look at the following examples: Example 1 Example 2 Test-statistic, z= 3.0 Test-statistic, z = 1.97 Critical z-value = 1.96 Critical z-value = 1.96 Reject H Reject H 0 0 0 0 p-value = 0.0014 p-value = 0.0244 In both examples, the null hypothesis is rejected. However, the strength of rejection is much stronger in Example 1

22 22 Slide IS 310 – Business Statistics Hypothesis Testing Steps for One Population Mean (Unknown σ) n Steps: n 1. Develop the Null and the Alternative Hypothesis. n 2. Determine the level of significance (). n 3. Get a sample of data and calculate the test statistic n - n x - µ n t = ------------- ( µ is the value in H ) n s/√n o n 4. Obtain the critical value of t from Table 2 for the given value n of . n 5. Draw area of rejection. n 6. Compare the critical value of t with the test statistic. If test n statistic falls in the area of rejection, reject the null n hypothesis.

23 23 Slide IS 310 – Business Statistics An Example Problem n Problem # 27 (10-Page 364; 11-Page 375) n a. H : µ = 238 H : µ < 238 n o a n b. Sample size, n = 100 degree of freedom = 100 – 1 = 99 n _ n Sample mean, x = 231 s = 80 n _ n x - µ 231- 238 n t = ---------- = -------------- = - 0.88 n s/√n 80/10 n p-value is between 0.2 and 0.1 n c. Critical value of t from Table 2 is -1.660 n Since test statistic does not fall in the area of rejection, do not reject the null hypothesis

24 24 Slide IS 310 – Business Statistics Example Problem (continued) n What does the test result mean? n The average (or mean) weekly unemployment insurance benefit in Virginia is NOT below the national average at 5% level of significance. n or n There is statistical evidence at 5% level of significance to support that the mean weekly unemployment insurance benefit in Virginia is NOT below the national average.

25 25 Slide IS 310 – Business Statistics p -Values and the t Distribution The format of the t distribution table provided in most The format of the t distribution table provided in most statistics textbooks does not have sufficient detail statistics textbooks does not have sufficient detail to determine the exact p -value for a hypothesis test. to determine the exact p -value for a hypothesis test. However, we can still use the t distribution table to However, we can still use the t distribution table to identify a range for the p -value. identify a range for the p -value. An advantage of computer software packages is that An advantage of computer software packages is that the computer output will provide the p -value for the the computer output will provide the p -value for the t distribution. t distribution.

26 26 Slide IS 310 – Business Statistics p-Value for Problem # 28 n Test statistic was 2.48 n If we look at the row with 91 degree of freedom and try to locate 2.48, we find it is between 0.01 and 0.005. Therefore, the p-value is between 0.01 and 0.005. n p-value = Between 0.01 and 0.005

27 27 Slide IS 310 – Business Statistics Example Problem n Problem # 30 (10-Page 364; 11-Page 375) n Do this problem in class!

28 28 Slide IS 310 – Business Statistics Hypothesis Testing for Population Proportion n Thus far, we performed hypothesis testing on population means. Hypothesis testing can be conducted on population proportions. n Examples: n 1. The manufacturer of a new product claims that 75 percent of potential customers like the product. n 2. A worker union claims that at least 60 percent of workers support the union. n 3. A city council claims that a majority of residents will approve a half-percent increase in sales tax.

29 29 Slide IS 310 – Business Statistics Null and Alternative Hypotheses for Population Proportion n H : p = a value or p ≥ a value or p ≤ a value n o n H : p ≠ a value or p a value n a

30 30 Slide IS 310 – Business Statistics Test Statistic n The test statistic is: n _ n p - p n z = ------------------ n √[p (1 – p)/n] n Other steps in the test are similar to those we have covered earlier.

31 31 Slide IS 310 – Business Statistics Sample Problem n Problem #37 (10-Page 369; 11-Page 380) n H : p = 0.125 H : p > 0.125 n o a n _ n Given: n = 400 p = 52/400 = 0.13  = 0.05 n _ n Test statistic, z = ( p – p)/√[p (1 – p)/n] n = (0.13 – 0.125)/√[0.125 (1 – 0.125)/400] = 0.302 n Critical z at 0.05 = 1.645 n Since test statistic does not fall in the area of rejection, do not reject the null hypothesis. n There is no evidence that union efforts have increased union membership.

32 32 Slide IS 310 – Business Statistics End of Chapter 9, Part A


Download ppt "1 1 Slide IS 310 – Business Statistics IS 310 Business Statistics CSU Long Beach."

Similar presentations


Ads by Google