Which modeling assumptions may be violated for this data

Assignment Help Other Subject
Reference no: EM131134736

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.

Reference no: EM131134736

Questions Cloud

What approaches would you use to estimate the value of brand : What approaches would you use to estimate the value of brands? What questions would you raise with the firm's CFO about the firm's brand assets? What assumptions underlie these approaches?
Determine which strand is transcribed : Determine which strand is transcribed, indicate the polarity of the two DNA strands, and then give the sequence of bases in the resulting mRNA and its polarity
Written group project report and oral presentation : Krisp Ltd ("the Company") is a company limited by shares incorporated in Hong Kong. The Company has a wholly owned subsidiary, Eagle Ltd ("Eagle"). The directors of the Company, Andy, Ben, and Colin, are also directors of Eagle. 75%of the issued ..
Determine the chromosome constitution and phenotypic ratios : In Drosophila melanogaster, eyeless (ey) is a recessive trait in which the eyes are tiny or absent. Assuming random segregation of chromosomes into gametes, determine the chromosome constitution and phenotypic ratios in the offspring
Which modeling assumptions may be violated for this data : Which modeling assumptions may be violated for this data? Describe and apply techniques presented in class to alleviate the modeling violations that you found. Justify all modeling steps.
Was groupon wise to turn down six billion dollar from google : Was Groupon wise to turn down $6 billion from Google? Could it really be worth $25 billion? Why do consumers love Groupon so much? Are Groupon campaigns good for merchants?
What is a possible genotype for this plant : A series of experiments shows that oil content in a diploid grain is influenced by five genes (a through e) with additive alleles. The highest producing strain is 20% oil content; the lowest has close to 0%. A plant of unknown genotype has an oil ..
Calculate and displays the cost of computing infrastructure : Write a java console application that calculates and displays the cost of computing infrastructure setup for N banks. N should be declared as a constant and it should be equal to the largest digit of your student ID number.
Demonstrate the ability to clearly communicate ideas : The paper should demonstrate the ability to clearly communicate ideas about financial management in a professional manner and tone.

Reviews

Write a Review

Other Subject Questions & Answers

  Consider the anecdote of elena in your text book obviously

consider the anecdote of elena in your text book. obviously elenas mother prefers that her daughter participates in

  As sovereign humanity

As sovereign humanity, we have many moral responsibilities by which we manage this world. Inn 400 words or more, explain what are those moral responsibilities which are recorded in Matthew?

  What are some of the earliest known indo-european languages

What are some of the earliest known Indo-European languages? How many of these indo-european languages are still spoken today? I need this for my linguistics anthro class.

  Major characteristics of processual archaeology

What are the major characteristics of processual archaeology? Use Koster to provide examples of these characteristics.

  Journal entry for the identical transaction

You are believer that new employees should practice their accounting skills before "throwing them into the fire." Therefore, you have listed a series of transactions that require journal entries and updating of T-Accounts.

  Discuss south africa apartheid policy

Discuss South Africa's apartheid policy of 1948. How was it initiated? Provide historical information of the time from the passing of this policy until gaining independence in 1979.

  Predominant area of conflict in the 21st century

"North-South relations in security and economic areas will be the predominant area of conflict in the 21st century." Do you agree with this statement?

  Favorable business climate means

Multinational corporations often funnel money to elites in the Least Industrialized Nations to create a "favorable business climate." This "favorable business climate" means the creation of ________ and ________.

  Translate into standard categorical

Translate the following into standard categorical form:

  Performance-based pay for executives

Describe how organizations combine incentive plans in a balanced scorecard. Discuss issues related to performance-based pay for executives.

  Using only the materials provided in the course discuss

1.using only the materials provided in the course discuss three factors that a court will use in determining whether to

  The essence of leadership is followership

The essence of leadership is followership Discuss this observation, preferably with examples of leadership and followership, taken from your own experiences

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd