Module 7 Assignment

 1.  The assignment begins with the following dataset

x <- c(16, 17, 13, 18, 12, 14, 19, 11, 11, 10)

y <- c(63, 81, 56, 91, 47, 57, 76, 72, 62, 48)

    Following that is defining the relationship model and calculating the coefficients.


    Which produces the following output


2. This goes into Part 2, following the question Chi Yau.

    This includes parts 2.1-2.3, along with the output

3. Part 3 is based around using the multi regression model and is displayed in the next image. 

    3.1: The coefficients tell us about the relationship between each predictor variable and the response variable, holding all other predictors constant.

4. Part 4 follows the question from our textbook pp. 110 Exercises # 5.1
        With the rmr data set, plot metabolic rate versus body weight. Fit a linear regression to the relation.         According to the fitted model, what is the predicted metabolic rate for a body weight of 70 kg? 

Input

Output:
 





Comments