A. Is there evidence of a dependence between a registered voter's opinion and their age? Test using α05 B. For each age group, compute the sample proportion that is in favor of legalizing recreational use of marijuana, and relate these values to the result of your test in part A? C. Find the expected count for the 60+ age group against legalizing recreational use of marijuana.
A. Is there evidence of a dependence between a registered voter's opinion and their age? Test using α05 B. For each age group, compute the sample proportion that is in favor of legalizing recreational use of marijuana, and relate these values to the result of your test in part A? C. Find the expected count for the 60+ age group against legalizing recreational use of marijuana.
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
Hello,
Please view the attachment and answer part a,b,c and d. Thank you!

Transcribed Image Text:STA 205, Spring 2022, Quiz #9 (Take Home)
Contingency table results:
Rows: AgeGroup
Columns: Opinion
A researcher studying public opinion on the
legalization of recreational marijuana surveyed a
representative sample of 1100 registered voters
and asked each their age group (18 to 34, 35 to 59,
and 60+), and asked if they were for or against the
legalization of recreational marijuana. The
contingency table of results is below.
Cell format
Count
(Expected count)
For
Against Total
18 to 34
192
48
240
(157.96)
(82.04)
Age Group
18 to 34
Against
48
For
35 to 59
306
144
450
192
(296.18) (153.82)
35 to 59
306
144
60+
226
184
60+
226
184
410
(269.85)
Total
724
376 1100
A. Is there evidence of a dependence between a
registered voter's opinion and their age? Test
using a=.
05
Chi-Square test:
B. For each age group, compute the sample
proportion that is in favor of legalizing
recreational use of marijuana, and relate these
values to the result of your test in part A?
Statistic
DF Value P-value
Chi-square
2 43.26
<0.0001
Formulas
x² = Obs-Exp)?
Еxp
x? = E
C. Find the expected count for the 60+ age group
against legalizing recreational use of
marijuana.
(Row Total)*(Column Total)
Еxp. Сount
D. Check that the validity conditions for your test
are satisfied.
Count
df = (r – 1)(c – 1); =
Total
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 2 steps

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