Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Hypothesis Test II: t tests Test for one population mean Test for the difference of two population means.

Similar presentations


Presentation on theme: "1 Hypothesis Test II: t tests Test for one population mean Test for the difference of two population means."— Presentation transcript:

1 1 Hypothesis Test II: t tests Test for one population mean Test for the difference of two population means

2 2 Hypothesis Tests for Population Parameters Population proportion Population mean Difference between two population means

3 3 5 Steps in Hypothesis Tests Step 1. Determine the null (Ho) and alternative (Ha) hypotheses Ho : the population parameter = a constant (called the null value) Ha : upper or lower or two-tailed

4 4 5 Steps in Hypothesis Tests Step 2. Find an appropriate test statistic and pre-set the level of significance (called level) Test statistic = (Sample estimate – null value) (S.E. of sample null value) or 0.01 or 0.10)

5 5 5 Steps in Hypothesis Tests Step 3. Check the conditions and find the p- value assuming Ho is true The calculation of the p-value depends on the Ha.

6 6 5 Steps in Hypothesis Tests Step 4. Decide whether or not reject Ho based on the p-value p-value > fail to reject Ho p-value < reject Ho (= accept Ha)

7 7 5 Steps in Hypothesis Tests Step 5. Report the result in the context of the situation Reject Ho There is sufficient evidence to support (Ha). Fail to reject Ho There is not sufficient evidence to support (Ha).

8 8 Hypothesis Test for a Population Mean Step 1. Ho: o Three possible Has: Ha: o (two-tailed) or Ha: o (lower-tailed) or Ha: o (upper-tailed)

9 9 Hypothesis Test for a Population Mean Step 2. test statistic

10 10 Hypothesis Test for a Population Mean Step 3: 1. Condition: Must be a random sample and the data must be bell-shaped (or normal) 2. When the above conditions are met, use t- Table to find p-value (the required df = n-1) This test is called one-sample t-test.

11 11 Examples The average cost of 30 randomly selected used cars in a used car lot was $5,000 with sample standard deviation of $1,000. Find the p-value for testing Ho: $4,500 vs. Ha: $4,500. Answer: t = 2.74 and < p-value < 0.016

12 12 Examples Find the p-value for testing Ho: $4,500 vs. Ha: $4,500. Find the p-value for testing Ho: $4,500 vs. Ha: $4,500.

13 13

14 14 Hypothesis Test for the Difference of Two Population Means Step 1. Ho: 2 Three possible Has: Ha: 2 (two-tailed) or Ha: 2 (lower-tailed) or Ha: 2 (upper-tailed)

15 15 Hypothesis Test for the Difference between Two Population Means Step 2. test statistic

16 16 Hypothesis Test for the Difference between Two Population Means Step 3: 1. Must be two independent random samples; the both samples must be bell-shaped (or normal) 2. When the above conditions are met, use t-Table to find the p-value (the required df is the smaller one of (n1-1) and (n2-1)) This test is called Two-sample t-test.

17 17 Examples The average waiting time for 50 students to connect to the college server from the dormitories was 5 seconds, while the average time to connect for 20 students living off- campus apartments was 10 seconds. Assume the times to connect in the dormitories and the apartments are both bell- shaped. The sample standard deviations were 2 seconds for dormitories and 8 seconds for apartments

18 18 Examples Find the p-value for testing Ho: 2 vs. Ha: 2 Find the p-value for testing Ho: 2 vs. Ha: 2 Answer: t = : dormitories; 2: apartments


Download ppt "1 Hypothesis Test II: t tests Test for one population mean Test for the difference of two population means."

Similar presentations


Ads by Google