Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Mauritius is one of the island where obesity and cardiovascular diseases are at its peak. According to Victoria Hospital most of the people suffering from

Mauritius is one of the island where obesity and cardiovascular diseases are at its peak. According to Victoria Hospital most of the people suffering from obesity are from Plaines Willems and those suffering from cardiovascular disease are from black river. To test this hypothesis we need to know if really a relationship exist between obesity and cardiovascular. Moreover the two factors associated with obesity and cardiovascular are heights and weights. Therefore a survey was carried out by the NPCC.

The data for heights are as follows

151, 174, 138, 186, 128, 136, 179, 163, 152, 131

The data for weight are as follows

63, 81, 56, 91, 47, 57, 76, 72, 62, 48

Using the data above

Create a relationship model

Find the coefficients from the model created and create the mathematical equation.

Get a summary of the relationship model to know the average error in prediction.

Predict the weight of new persons. Plot the regression equation for the above data.

In addition to that include "Your full name" as title and set the scatterplot Green .

Label the y-axis and x -axis. Use abline function to include a line.

Note: You should explain all the steps in the code and in addition to that you are required to include the code in your assignment. While including the code you should print screen the code from your PC including the date and time which shall appear on the right hand side . R is a free statistical software which is available on goggle. Question 1 should be done completely on R .

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

Calculus Early Transcendentals

Authors: James Stewart

7th edition

538497904, 978-0538497909

More Books

Students also viewed these Mathematics questions