Presentation is loading. Please wait.

Presentation is loading. Please wait.

Hypothesis about Matched pairs 1.Claiming a “before and after” relationship about a population. 2.The sample data consist of matched pairs. E.g., before.

Similar presentations


Presentation on theme: "Hypothesis about Matched pairs 1.Claiming a “before and after” relationship about a population. 2.The sample data consist of matched pairs. E.g., before."— Presentation transcript:

1 Hypothesis about Matched pairs 1.Claiming a “before and after” relationship about a population. 2.The sample data consist of matched pairs. E.g., before and after measurements The samples are simple random samples. 3.If the number of pairs of sample data is small (n  30), then the population of differences in the paired values must be approximately normally distributed.

2 Testing Matched Pair Claims µ d = mean of the differences between the pairs of data for the population ‘after’ minus ‘before’ d = mean of the differences between the pairs of data for the sample s d = standard deviation of the differences between the pairs of data for the sample

3 For example SAT prep course increases SAT scores BeforeAfterd 550590 640 540520 490 600670 610700 500560 520530 510500 510600

4 Procedure: Classic value 1.Write claim –No change between ‘before’ and ‘after’: µ d = 0 –Increase from ‘before’ to ‘after’ : µ d > 0 –Decrease from ‘before’ to ‘after’ : µ d < 0 2.Write hypothesis 3.Test Statistic: 4.Critical value from z- or t table

5 Testing Matched Pairs Original claimPick null and alternate hypothesis Opposite claim Degree of confidence Sampled-bar =s =n = Test statistic Two tailed (=) Right tailed () Left tailed Critical value P-value Conclusion 5

6 P-value method Z-Test μ 0 : 0 σ: s d x-bar: d-bar n: Sample size or T-Test μ 0 : 0 x-bar: d-bar Sx: s d n: Sample size

7 Example Claim: men exaggerate their heights Degree of confidence: 95% Before:men's’ estimated heights After:men's’ measured heights Mathematical claim:

8 Testing Matched Pairs Original claimPick null and alternate hypothesis Opposite claim Degree of confidence Sampled-bar =s =n = Test statistic Two tailed (=) Right tailed () Left tailed Critical value P-value Conclusion 8

9 Your Turn A low-sodium diet lowers blood pressure BeforeAfter 141135 120110 124 135121 106104 130123 100105 101 126121 131121

10 Testing Matched Pairs Original claimPick null and alternate hypothesis Opposite claim Degree of confidence Sampled-bar =s =n = Test statistic Two tailed (=) Right tailed () Left tailed Critical value P-value Conclusion 10

11 Homework Before156225198177161 After150220180 160 1.The preceding table lists individual’s systolic blood pressure taken before and after trying a new medication. Using a significance level, test the claim that the medication helps reduce blood pressure. 2.The table below lists gas mileage of a sample of cars after switching gasoline brands. Test the claim that switching brands had no effect on mileage Before26.519.525.613.617.629.630.220.015.9 After27.0.9.425.012.919.728.130.021.015.5

12 More Homework Authorized repair center$797$571$904$1147$418 Independent repair center$523$488$875$911$297 3.In the preceding table, cars subjected to crash test were taken to two shops for repair estimates. Using a significance level of 0.05, test the claim that the independent center is cheaper than the authorized center. 4.The table below lists the measured pain scale for several subjects before and after undergoing hypnosis. Using a 99% degree of confidence, test the claim that hypnotism relieves pain Before6.66.59.010.311.38.16.311.6 After6.82.47.48.58.16.13.42

13 Problem #1 Original claim μ d < 0 H 1 Pick null and alternate hypothesis Opposite claim μ d ≥ 0 H 0 Degree of confidence 95% Sampled-bar = -5.4s = 7.89n = 5 Test statistict = -1.53 Two tailed (=) Right tailed () Left tailed Critical value P-value 0.1 > 0.05 ConclusionFTR H 0, FTR original claim 13

14 Problem #2 Original claim μ d = 0 H 0 Pick null and alternate hypothesis Opposite claim μ d ≠ 0 H 1 Degree of confidence 95% Sampled-bar = -1.1s = 3.54n = 9 Test statistict = -0.93 Two tailed (=) Right tailed () Left tailed Critical value P-value 0.38 > 0.05 ConclusionFTR H 0, FTR original claim 14

15 Problem #2 fixed Original claim μ d = 0 H 0 Pick null and alternate hypothesis Opposite claim μ d ≠ 0 H 1 Degree of confidence 95% Sampled-bar = -0.01s = 1.05n = 9 Test statistict = -0.03 Two tailed (=) Right tailed () Left tailed Critical value P-value 0.97 > 0.05 ConclusionFTR H 0, FTR original claim 15

16 Testing Matched Pairs Original claim μ d < 0 H 1 Pick null and alternate hypothesis Opposite claim μ d ≥ 0 H 0 Degree of confidence 95% Sampled-bar = --148.6s = 103.36n = 5 Test statistict = -3.21 Two tailed (=) Right tailed () Left tailed Critical value P-value 0.02 < 0.05 ConclusionReject H 0, Accept original claim 16

17 Testing Matched Pairs Original claim μ d < 0 H 1 Pick null and alternate hypothesis Opposite claim μ d ≥ 0 H 0 Degree of confidence 99% Sampled-bar = -3.125s = 2.911n = 8 Test statistict = -3.04 Two tailed (=) Right tailed () Left tailed Critical value P-value 0.009 < 0.01 ConclusionReject H 0, Accept original claim 17


Download ppt "Hypothesis about Matched pairs 1.Claiming a “before and after” relationship about a population. 2.The sample data consist of matched pairs. E.g., before."

Similar presentations


Ads by Google