Two random samples were drawn from members of the U.S. Congress. One sample was taken from members who are Democrats and the other from members who are Republicans. For each sample, the number of dollars spent on federal projects in each congressperson's home district was recorded. Dollars Spent on Federal Projects in Home Districts Less than 5 to 10 More than 5 Billion 10 12 23 12 22 Party Row Total 10 billion Democratic Republican Column Total 17 29 18 41 45 47 92 (1) Make a cluster bar graph showing the percentages of Congress members from each party who spent each designated amount in their respective home districts. (In the graphs, blue represents Democrats and red represents Republicans.) 40 Pte Prtage 10 10 Papending Pay pendng Pertage Perntage -1blan Pay endng Pay endng () Use a 1% level of significance to test whether congressional members of each political party spent designated amounts in the same proportions. (a) What is the level of significance? State the null and alternate hypotheses. O Hạ: Different proportion of Democrats and Republicans within each spending level. H: Same proportion of Democrats and Republicans within each spending level. O Ho: Same proportion of Democrats and Republicans within each spending level. H: Same proportion of Democrats and Republicans within each spending level. O Ho: Different proportion of Democrats and Republicans within each spending level. H: Different proportion of Democrats and Republicans within each spending level. O Ho: Same proportion of Democrats and Republicans within each spending level. H: Different proportion of Democrats and Republicans within each spending level. (b) Find the value of the chi-square statistic for the sample. (Round the expected frequencies to at least three decimal places. Round the test statistic to three decimal places.) Are all the expected frequencies greater than 57 O Yes O No What sampling distribution will you use? O binomial O chi-square O uniform O normal O Student's t What are the degrees of freedom? (c) Find or estimate the P-value of the sample test statistic. (Round your answer to three decimal places.) (d) Based on your answers in parts (a) to (c), will you reject ar fail to reject the null hypothesis of independence? O since the Pvalue > a, we fail to reject the nul hypothesis. O Since the p.value > a, we reject the null hypothesis. O Since the Pvalue s a, we reject the null hypothesis. O Since the Pvalue s a, we fail to reject the nul hypothesis.
Two random samples were drawn from members of the U.S. Congress. One sample was taken from members who are Democrats and the other from members who are Republicans. For each sample, the number of dollars spent on federal projects in each congressperson's home district was recorded. Dollars Spent on Federal Projects in Home Districts Less than 5 to 10 More than 5 Billion 10 12 23 12 22 Party Row Total 10 billion Democratic Republican Column Total 17 29 18 41 45 47 92 (1) Make a cluster bar graph showing the percentages of Congress members from each party who spent each designated amount in their respective home districts. (In the graphs, blue represents Democrats and red represents Republicans.) 40 Pte Prtage 10 10 Papending Pay pendng Pertage Perntage -1blan Pay endng Pay endng () Use a 1% level of significance to test whether congressional members of each political party spent designated amounts in the same proportions. (a) What is the level of significance? State the null and alternate hypotheses. O Hạ: Different proportion of Democrats and Republicans within each spending level. H: Same proportion of Democrats and Republicans within each spending level. O Ho: Same proportion of Democrats and Republicans within each spending level. H: Same proportion of Democrats and Republicans within each spending level. O Ho: Different proportion of Democrats and Republicans within each spending level. H: Different proportion of Democrats and Republicans within each spending level. O Ho: Same proportion of Democrats and Republicans within each spending level. H: Different proportion of Democrats and Republicans within each spending level. (b) Find the value of the chi-square statistic for the sample. (Round the expected frequencies to at least three decimal places. Round the test statistic to three decimal places.) Are all the expected frequencies greater than 57 O Yes O No What sampling distribution will you use? O binomial O chi-square O uniform O normal O Student's t What are the degrees of freedom? (c) Find or estimate the P-value of the sample test statistic. (Round your answer to three decimal places.) (d) Based on your answers in parts (a) to (c), will you reject ar fail to reject the null hypothesis of independence? O since the Pvalue > a, we fail to reject the nul hypothesis. O Since the p.value > a, we reject the null hypothesis. O Since the Pvalue s a, we reject the null hypothesis. O Since the Pvalue s a, we fail to reject the nul hypothesis.
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 4 steps with 3 images
Knowledge Booster
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.Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
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
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman