For each successive presidential term from Franklin Pierce (the 14th president, elected in 1853) to George W. H. Bush (41st 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.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
Topic Video
Question

For each successive presidential term from Franklin Pierce (the 14th president, elected in 1853) to George W. H. Bush (41st 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.

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        

Test the sequence for randomness at the 5% level of significance. Use the following outline.

(b) Find the number of runs Rn1n2, 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  
n1  
n2  
c1  
c2  


(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 =
R – μR
σR

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.

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? 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 = 

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Propositional Calculus
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman