Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

Unless otherwise stated, you can use R for any of the calculations, but make sure you include your code. Your code should not be a copy of anyone else's! Any code you turn in should be well organized and commented so the grader can understand your answers.

All programming questions should be submitted to the dropbox on ANGEL for this assignment as a .pdf file using the naming convention HWNum_FirstInitialLastName.pdf. For example, John Doe would submit a file titled HW1_JDoe.pdf for the first assignment. Your answer to programming questions should include both code and a description of your result. I recommend using R-markdown for writing up your answers. A template for writing up an assignment in R-markdown can be found on ANGEL. R-markdown files can be compiled directly within R-Studio.

Alternatively, answers may be saved in a word document or LaTeX, and converted into a .pdf file.

Non-coding questions can either be written and submitted in the same file as your coding questions using LaTeX typesetting (see  https://latex-project.org/intro.html) or they may be handwritten and turned in separately during class.

1. Download the data1.Rdata dataset from ANGEL, and load it into R using load("data1.Rdata").

This data contains two columns x and y

(a) Perform an EDA for this data.

(b) Fit a simple linear regression model to this data using y as the response and x as the covariate. Report your estimates.

(c) Assuming the stronger set of SLR assumptions presented in class, perform any relevant diagnostics to test those model assumptions. Comment on what you observe.

(d) Which modeling assumptions may be violated for this data?

(e) Describe and apply techniques presented in class to alleviate the modeling violations that you found. Justify all modeling steps.

(f) Present the estimates for your final model and interpret the regression parameters.

2. Load the automobile metrics data from "https://archive.ics.uci.edu/ml/machine-learningdatabases/auto-mpg/auto-mpg.data". You can use the following R-code to load the data.

dat <- read.table(paste("https://archive.ics.uci.edu/ml/",
"machine-learning-databases/",
"auto-mpg/auto-mpg.data", sep = ""),
header = FALSE,
colClasses = c("numeric", "numeric","numeric", "numeric",
"numeric", "numeric", "numeric", "numeric",
"factor"),
na.strings = "?")
colnames(dat) <- c("mpg", "cylinders","displacement",
"horsepower","weight", "acceleration",
"modyr", "origin","name")
attach(dat)

(a) Do some brief EDA for this data.

(b) Fit a simple linear regression model with mpg as the response and horsepower as the predictor.

(c) Repeat parts (c) - (f) from question 1 for this data.

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M91891254
  • Price:- $30

Priced at Now at $30, Verified Solution

Have any Question?


Related Questions in Homework Help/Study Tips

View the video cyberbullying a serious offense review news

View the video Cyberbullying: A Serious Offense, review news articles as described below, and then respond to the prompt. Search Google for news articles regarding "Michelle Carter" and "Carter Roy III." Ms. Carter sent ...

Social stress and healthlearning outcomesafter reading this

Social Stress and Health Learning Outcomes After reading this article from the book Worried Sick, listening to the podcast linked below, and completing this reading guide, you will be able to (1) Describe common ways tha ...

Question as the human resources manager it is your

Question: As the human resources manager, it is your responsibility to keep all human resources employees informed about current employment law. You want to empower employees with resources that they can use independentl ...

Assignment economic brief this assignment is aligned to

Assignment : Economic Brief This assignment is aligned to these course outcomes: • Explain economic principles and their applications in the real world. • Summarize the different types of market structures and the role o ...

Case study profits amp food safetythe case of bmijose

Case Study : PROFITS & FOOD SAFETY THE CASE OF BMI Jose works as a clerk at the headquarters of Best Meat International, LLC (BMI), a US-based food processing company. With a history of over 60 years, the company has est ...

Observing other teachers is a powerful tool that provides

Observing other teachers is a powerful tool that provides an opportunity to experience different classroom management styles and helps to improve classroom management skills. It can also help develop and shape individual ...

Question 1 considering the concept of black swans described

Question: 1) Considering the concept of "Black Swans" described in the 2014 QHSR, how does this concept relate to changes in the strategic environment or prevailing strategic challenges? Do you agree with the four Black ...

Assignment - practical assessmentscenariouser modelling

Assignment - Practical Assessment Scenario User Modelling Inc. would like to organize a series of conferences focusing on research topics in the area of user adaptive systems and personalization. They need to organize an ...

Question 1 how does amy cuddys ted talk about your body

Question: 1) How does Amy Cuddy's TED Talk about Your Body Language Shapes Who You Are connect with Mehrabian's study? How can this knowledge help us with increasing team effectiveness through communication? Your Body La ...

Question compliance presentationimagine that you are a

Question: Compliance Presentation Imagine that you are a hospital's compliance officer, and you are charged with making a presentation to your hospital's board of directors regarding the moral right to healthcare. Your p ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As