Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please provide R code along with explanations for the following exercise: The data household (R package HSAUR2) are part of a data set collected from

Please provide R code along with explanations for the following exercise:

The data household (R package "HSAUR2") are part of a data set collected from a survey of household expenditure and give the expenditure of 20 single men and 20 single women on four commodity groups. The units of expenditure are Hong Kong dollars, and the four commodity groups are

housing: housing, including fuel and light,

food: foodstuffs, including alcohol and tobacco,

goods: other goods, including clothing, footwear and durable goods,

services: services including transport vehicles.

The aim of the survey was to investigate how the division of household expenditure between the four commodity groups depends on the total expenditure and to find out whether this relationship differs for men and women. Use appropriate graphical methods to answer these questions and state your conclusions.

Use whichever kinds of graph will best display these relationships-

Maybe bar charts or scatter plots or box plots

But we need a graph representing the relationship between the expenditures on each type compared to the total expenditures, so probably need to take sums and means of things and use those datas to put in charts

and then we need a graph representing the relationship between female expenditures and male expenditures so compare the two of them, see if they have any differences

thank you

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Peter Rob, Carlos Coronel

6th International Edition

061921323X, 978-0619213237

More Books

Students also viewed these Databases questions

Question

Where can I get more information about Multiple Sclerosis?

Answered: 1 week ago

Question

8. Do the organizations fringe benefits reflect diversity?

Answered: 1 week ago

Question

7. Do the organizations social activities reflect diversity?

Answered: 1 week ago