Download presentation

Presentation is loading. Please wait.

Published byDamien Bemis Modified about 1 year ago

1
Economics 105: Statistics Go over GH 11 & 12 GH 13 & 14 due Thursday

2
Hypothesis Testing for Using t Pharmaceutical manufacturer is concerned about impurity concentration in pills, not wanting it to be different than 3%. A random sample of 16 pills was drawn and found to have a mean impurity level of 3.07% and a standard deviation (s) of.6%. Test the following hypothesis at the 1% level on the test statistic scale. Perform the test on the sample statistic scale. What is the p-value for this test? Calculate the 99% confidence interval.

3
When to use z or t-test for H 0 : = 0 X i ~NX i not ~ N s s n ≥ 30 n<30 n ≥ 30 n<30

4
Nonparametric versus Parametric Hypothesis Testing require the estimation of one or more unknown parameters (e.g., population mean or variance). often, unrealistic assumptions are made about the normality of the underlying population. large sample sizes are often required to invoke the Central Limit Theorem typically more powerful if normality can be assumed Parametric Tests

5
usually focus on the sign or rank of the data rather than the exact numerical value do not specify the shape of the parent population can often be used in smaller samples can be used for ordinal data usually more powerful if normality can’t be assumed require special tables of critical values if small n Nonparametric Tests (“distribution-free”) Nonparametric versus Parametric Hypothesis Testing

6
Source: Doane and Seward (2009), Applied Statistics in Business & Economics, 2e; McGraw-Hill Nonparametric Counterparts

7
One-Sample Runs Test The one-sample runs test (Wald-Wolfowitz test) detects non-randomness. Ask – Is each observation in a sequence of binary events independent of its predecessor? A nonrandom pattern suggests that the observations are not independent. The hypotheses are H 0 : Events follow a random pattern H 1 : Events do not follow a random pattern Wald-Wolfowitz Runs Test

8
One-Sample Runs Test To test the hypothesis, first count the number of outcomes of each type. n 1 = number of outcomes of the first type n 2 = number of outcomes of the second type n = total sample size = n 1 + n 2 A run is a series of consecutive outcomes of the same type, surrounded by a sequence of outcomes of the other type. Wald-Wolfowitz Runs Test

9
One-Sample Runs Test For example, consider the following series representing 44 defective (D) or acceptable (A) computer chips: DAAAAAAADDDDAAAAAAAADDAAAAAAAADDDDAAA AAAAAAA The grouped sequences are: A run can be a single outcome if it is preceded and followed by outcomes of the other type. Wald-Wolfowitz Runs Test

10
One-Sample Runs Test There are 8 runs (R = 8). n 1 = number of defective chips (D) = 11 n 2 = number of acceptable chips (A) = 33 n = total sample size = n 1 + n 2 = = 44 The hypotheses are: H 0 : Defects follow a random sequence H 1 : Defects follow a nonrandom sequence Wald-Wolfowitz Runs Test

11
One-Sample Runs Test When n 1 > 10 and n 2 > 10, then the number of runs R may be assumed Wald-Wolfowitz Runs Test calc

12
One-Sample Runs Test Decision rule for large-sample runs tests at.01 level Critical values on test statistic scale = +/ Test statistic Conclusion? Wald-Wolfowitz Runs Test

13
Source: Doane and Seward (2009), Applied Statistics in Business & Economics, 2e; McGraw-Hill Nonparametric Counterparts

14
Wilcoxon Signed-Rank Test Compares a single sample median with a benchmark using only ranks of the data instead of the original observations. Can also be used to compare paired observations That’s a two-sample test Advantages are - freedom from the normality assumption - robustness to outliers - applicability to ordinal data The population should be roughly symmetric

15
Wilcoxon Signed-Rank Test To compare the sample median (M) with a benchmark median (M 0 ), the hypotheses are:

16
Wilcoxon Signed-Rank Test Calculate the difference between each observation and the hypothesized median. Rank the differences from smallest to largest by absolute value. Same rank only if same sign before abs value. Add the ranks of the positive differences to obtain the rank sum W.

17
Wilcoxon Signed-Rank Test For small samples, a special table is required to obtain critical values. For large samples (n > 20), the test statistic is approximately normal. Use Excel to get a p-value Reject H 0 if p-value <

18
Wilcoxon Signed-Rank Test

19
Hypothesis Testing for Using z A marketing company claims that it receives an 8% response rate from its mailings to potential customers. To test this claim, a random sample of 500 potential customers were surveyed. 25 responded. =.05 Calculate power and graph a “power curve” Reminder: CI for uses p in standard error, not ! – because CI does not assume H 0 is true

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google