(d) Carry out an appropriate hypothesis test at a = 0.05 to see whether the proportion of houscholds in Edmonton with income under $50,000 is now higher than 22.92% (which is the rounded percentage of households with income under S50,000 in the 2016 census). State the null and alternative hypotheses. Report the value of the appropriate test statistic, the distribution of the test statistic under the null hypothesis, and the P-value of the test to answer the question. State your conclusion.

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
Question
100%

QUESTION (3D.PNG) 

BASIS OF THE DATA (DATA1.PNG)

Contingency table results:
Contingency table results:
Rows: Edmonton Group
Columns: None
Rows: Calgary Group
Columns: None
Cell format
Cell format
Count
Count
(Column percent)
(Column percent)
Edmonton Sum
Total
Calgary Sum
Total
1
115100
115100
1
109375
109375
(22.92%)
(22.92%)
(21.05%)
(21.05%)
151565
151565
2
151590
151590
(30.18%)
(30.18%)
(29.17%)
(29.17%)
3
235485
235485
3
258720
258720
(46.9%)
(46.9%)
(49.78%)
(49.78%)
Total 502150
502150
Total 519685
519685
(100%)
(1006)
(100%)
(100%)
Chi-Square test:
Chi-Square test:
Statistic DF
Value
P-value
Statistic DF
Value
P-value
Chi-square o 5.3412283e-25 1
Chi-square o 1.7237062e-25 1
Transcribed Image Text:Contingency table results: Contingency table results: Rows: Edmonton Group Columns: None Rows: Calgary Group Columns: None Cell format Cell format Count Count (Column percent) (Column percent) Edmonton Sum Total Calgary Sum Total 1 115100 115100 1 109375 109375 (22.92%) (22.92%) (21.05%) (21.05%) 151565 151565 2 151590 151590 (30.18%) (30.18%) (29.17%) (29.17%) 3 235485 235485 3 258720 258720 (46.9%) (46.9%) (49.78%) (49.78%) Total 502150 502150 Total 519685 519685 (100%) (1006) (100%) (100%) Chi-Square test: Chi-Square test: Statistic DF Value P-value Statistic DF Value P-value Chi-square o 5.3412283e-25 1 Chi-square o 1.7237062e-25 1
3. Using the file lab3b-sample.txt, create frequency tables (showing both frequency and relative
frequency) to summarize the distribution of income groups for houscholds in Edmonton.
(d) Carry out an appropriate hypothesis test at a = 0.05 to see whether the proportion of houscholds in
Edmonton with income under $50,000 is now higher than 22.92% (which is the rounded
percentage of households with income under $50,000 in the 2016 census). State the null and
alternative hypotheses. Report the value of the appropriate test statistic, the distribution of the test
statistic under the null hypothesis, and the P-value of the test to answer the question. State your
conclusion.
Transcribed Image Text:3. Using the file lab3b-sample.txt, create frequency tables (showing both frequency and relative frequency) to summarize the distribution of income groups for houscholds in Edmonton. (d) Carry out an appropriate hypothesis test at a = 0.05 to see whether the proportion of houscholds in Edmonton with income under $50,000 is now higher than 22.92% (which is the rounded percentage of households with income under $50,000 in the 2016 census). State the null and alternative hypotheses. Report the value of the appropriate test statistic, the distribution of the test statistic under the null hypothesis, and the P-value of the test to answer the question. State your conclusion.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
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