For each successive presidential term from Franklin Pierce (the 14th president,
ID: 3351473 • Letter: F
Question
For each successive presidential term from Franklin Pierce (the 14th president, elected in 1853) to William J. B. Clinton, first term, (42nd president), the party affiliation controlling the White House is shown below, where R designates Republican and D designates Democrat. (Reference: The New York Times Almanac.)
Historical Note: We start this sequence with the 14th president because earlier presidents belonged to political parties such as the Federalist or Wigg party (not Democratic or Republican). In cases in which a president died in office or resigned, the period during which the vice president finished the term is not counted as a new term. The one exception is the case in which Lincoln (a Republican) was assassinated and the vice president Johnson (a Democrat) finished the term.
Test the sequence for randomness at the 5% level of significance. Use the following outline.
(b) Find the number of runs R, n1, n2, and the critical values, c1 and c2. Let n1 = number of Republicans and n2 = number of Democrats. (Enter NONE in any unused answer blanks.)
(c) In the case, where n1 > 20, we cannot use Table 10 of Appendix II to find the critical values. Whenever either n1 or n2 exceeds 20, the number of runs R has a distribution that is approximately normal, as follows.
We convert the number of runs R to a z value, and then use the normal distribution to find the critical values. Convert the sample test statistic R to z using the following formula. (Use 2 decimal places. NOTE, if n1 20, enter NA in the answer blank.)
z =
(d) The critical values of a normal distribution for a two-tailed test with level of significance = 0.05 are -1.96 and 1.96 (see Table 5(c) of Appendix II). Reject H0 if the sample test statistic z -1.96 or if the sample test statistic z 1.96. Otherwise, do not reject H0.
Using this decision process, do you reject or fail to reject H0 at the 5% level of significance? What is the P-value for this two-tailed test? (Use 4 decimal places. NOTE, if n1 20, enter NA in the answer blank.)
P-value =
Please show work and explain so that I can learn how to do this!
D D R R D R R R R D R D R R R R D D R R D D D D D R R D D R R D R R R D 2nn2+1 and or= AR = |(2nn2)(2nn2 - ni - n2) (ni + n))?(ni + n) – 1) ni + n2Explanation / Answer
Result:
(b) Find the number of runs R, n1, n2, and the critical values, c1 and c2. Let n1 = number of Republicans and n2 = number of Democrats. (Enter NONE in any unused answer blanks.)
R= number of runs for Republicans +Democrats= 8+9=17
R
17
n1
20
n2
16
c1
None
c2
None
(c) In the case, where n1 > 20, we cannot use Table 10 of Appendix II to find the critical values. Whenever either n1 or n2 exceeds 20, the number of runs R has a distribution that is approximately normal, as follows.
We convert the number of runs R to a z value, and then use the normal distribution to find the critical values. Convert the sample test statistic R to z using the following formula. (Use 2 decimal places. NOTE, if n1 20, enter NA in the answer blank.)
R= number of runs for Republicans +Democrats= 8+9=17
µ = 2*20*16/(20+16) +1 = 18.78
= sqrt(2*20*16*(2*20*16-20-16)/((20+16)^2*(20+16-1)))
=2.9193
z =
R – R
R
z = (17-18.78)/2.9193
= -0.61
(d) The critical values of a normal distribution for a two-tailed test with level of significance = 0.05 are -1.96 and 1.96 (see Table 5(c) of Appendix II). Reject H0 if the sample test statistic z -1.96 or if the sample test statistic z 1.96. Otherwise, do not reject H0.
Sample z -1.96
-1.96 < sample z < 1.96
Sample z 1.96
Reject H0
Fail to reject H0
Reject H0
Using this decision process, do you reject or fail to reject H0 at the 5% level of significance?
This is a two tailed test.
Calculated z= -0.61 not falls in the rejection region.
Ho is not rejected.
What is the P-value for this two-tailed test? (Use 4 decimal places. NOTE, if n1 20, enter NA in the answer blank.)
P-value = 0.5419
( excel function used to find probability =2*NORM.S.DIST(-0.61,TRUE))
R
17
n1
20
n2
16
c1
None
c2
None
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.