Wife Alternating Husband Jointly Laundry 156 14 2 4 Main meal 124 20 4 Dinner 77 11 7 13 Breakfeast 82 36 15 7 Tidying 53 11 1 57 Dishes 32 24 4 53 Shopping 33 23 55 Official 12 46 23 15 Driving 10 51 75 3 Finances 13 13 21 66 Insurance 8 1 53 77 Repairs Holidays 3 160 2 1 153 Table 1: house-tasks dataset The data is a contingency table containing 13 house-tasks and their distribution. The rows are the different tasks and values are the frequencies of the tasks done as follows: • by the wife only • alternatively • by the husband only • or jointly Q1. Compute chi-square test in R and discuss the tasks distribution Q2. Extract the observed and the expected counts from the result of the test Q3. Visualise the results with the suitable plot/s.

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
Please answer all my questions by using R or excel
Use housetasks data sets from STHDA: http://www.sthda.com/sthda/RDoc/data/housetasks.txt.
Wife Alternating Husband Jointly
Laundry
Main meal
156
14
2
124
20
Dinner
77
11
7
13
Breakfeast
82
36
15
Tidying
53
11
1
Dishes
32
24
4.
53
Shopping
33
23
55
Official
12
46
23
15
Driving
10
51
75
Finances
13
13
21
66
Insurance
8
1
53
77
Repairs
Holidays
160
1
153
Table 1: house-tasks dataset
The data is a contingency table containing 13 house-tasks and their distribution. The
rows are the different tasks and values are the frequencies of the tasks done as follows:
• by the wife only
• alternatively
• by the husband only
• or jointly
Q1. Compute chi-square test in R and discuss the tasks distribution
Q2. Extract the observed and the expected counts from the result of the test
Q3. Visualise the results with the suitable plot/s.
4 B75%函旧3的T2%
Transcribed Image Text:Use housetasks data sets from STHDA: http://www.sthda.com/sthda/RDoc/data/housetasks.txt. Wife Alternating Husband Jointly Laundry Main meal 156 14 2 124 20 Dinner 77 11 7 13 Breakfeast 82 36 15 Tidying 53 11 1 Dishes 32 24 4. 53 Shopping 33 23 55 Official 12 46 23 15 Driving 10 51 75 Finances 13 13 21 66 Insurance 8 1 53 77 Repairs Holidays 160 1 153 Table 1: house-tasks dataset The data is a contingency table containing 13 house-tasks and their distribution. The rows are the different tasks and values are the frequencies of the tasks done as follows: • by the wife only • alternatively • by the husband only • or jointly Q1. Compute chi-square test in R and discuss the tasks distribution Q2. Extract the observed and the expected counts from the result of the test Q3. Visualise the results with the suitable plot/s. 4 B75%函旧3的T2%
Expert Solution
steps

Step by step

Solved in 5 steps with 5 images

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