Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Task 1: Conceptual questions (2 pts) In comments after your header, answer the following questions: 1. what does simple linear regression allow you to do

image text in transcribed
Task 1: Conceptual questions (2 pts) In comments after your header, answer the following questions: 1. what does simple linear regression allow you to do that investigating correlation does not? {1 pts} 2. What is the difference between simple linear regression and multiple linear regression? {1 pt} Task 2: Programming questions (18 pts) In the same fileI write code corresponding to each question below. That is _dont simply overwritefmodif the code used for question 2 in question 3. You can copy and pas e the previous code if needed, but we need to see the code used to answer each question. DonT forget to add comments prior to each 5A5 step describing what you are doing! We do not need the output. We can recreate everything using the code you turn in. 1. Create a permanent library using a LIBHAME statement. (1 pt) 2. Create code to import the abalone dataset into your permanent library created in question 1. (2 pts) 3. Conduct a correlation analysis between the variables below. You should output confidence intervals for each correlation value. Also, produce a matrix of scatterplots in the FREE. { Hts} . Rings . Height . Whole weight Report the two confidence intervals for the correlation between Rings and the other two variables in a comment below your FREE step. (1 pt} 4. Fit a simple linear regression model using Rings as the response variable and the second variable listed in question 3 as the predictor. (3 pts] . Produce diagnostic plots to check assumptions and create confidence intervals for the regression parameters. {2 pt) . In a comment below your code+ report the confidence interval for your slope parameter. (1 pt) 5. Fit a multiple linear regression model using Rings as the response variable and the other two variables listed in question 3 as the predictors. Include an interaction term in the model and produce diagnostic plots that could be used to check assumptions. (4 pts)

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

Boundary Value Problems And Partial Differential Equations

Authors: David L Powers, Powers Shelley

6th Edition

0080884415, 9780080884417

More Books

Students also viewed these Mathematics questions

Question

What would you do?

Answered: 1 week ago