a) Chi-square Goodness-of-fit Tests on AT&T In order to test the validity of the hearsay, he collects 54 observations of monthly investment returns on AT&T and DJIA (Dow Jones Industrial Average) from March 2008 to September 2012. After gathering the data, he is going to test whether the number of months that has positive investment returns on AT&T are equal to months of negative returns. Therefore he sets a hypothesis; the null hypothesis H0 :ppositive = pnegative = 0.5 versus the alternative hypothesis Ha:
not H0. The number of months that has the positive returns on AT&T is 32, and the number of months that has the negative returns is 22. In order to test the hypothesis, he should do chi-square test. First of all he calculates the expected value that has the positive and negative returns respectively, that is 54 (n) × 0.5 = 27 in each case as below (The expected value is more than 5, so he can use chi-square test). AT&T (Actual) Positive 32 Negative 22 AT&T (Expected) Positive 27 Negative 27
And he calculates the chi-square value, χ2 = [(32 – 27)2/27] + [(22 – 27)2/27] = 25/27 + 25/27 = 1.8519
Cohort 2- Team 5
Page 1
Because χ2 is less than χ20.1 = 2.70544 (degree of freedom = 2 (np) – 1 = 1, np is number of probability, ppositive and pnegative), so he doesn’t reject H0 at 10 % significance level. The p value of