logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Ronni AnconaComputer science
(5/5)

838 Answers

Hire Me
expert
Florio PotterOthers
(5/5)

597 Answers

Hire Me
expert
Alfred DodddEconomics
(5/5)

809 Answers

Hire Me
expert
Persimmon BissoondathBusiness
(4/5)

843 Answers

Hire Me
Business Statistics
(5/5)

For this project you will run a multiple linear regression analysis using baseball data.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

R-Project 

For this project you will run a multiple linear regression analysis using baseball data. You will also evaluate your model using a variety of diagnostics including R., adusted-R., residual analysis, Variance Inflation Factors (VIF) anti hypothesis testing. You will also do prediction based on the estimated model. Instructions: 

1. Locate and download the Excel data file "baseball .xlsx" from Canvas. If you are using RStudio Cloud you will also .l t.. upload this file to your RStudio Cloud spiv. 11 2. Open RStudio and create a new RStudio notebook. 3. Change the title from "R Notebook" to "R Project" add a line below title for author, i.e. author "Your Name" 4. Replace the text above the first code chunk "This is an..." with the following: This code loads the "baseball.xlsx" data. 

5. Save the file by clicking: "File -> Save As..." (name your file R-Project) 6. In RStudio, didc on the downward triangle next to "Import Dataset" under the "Environment" tab in the upper right of RStudio: 

select — > "From Excel..." and use the "Browse..." button to navigate to, and select, the "baseball. xlsx" file. 

7. Copy the code from the "Code Preview:" window (lower right) into the clipboard. 8. Select the "Import" button to import the code. S. In the code chunk, replace "plot (cars)" by pasting the content from the clipboard. In addition, Comment out the View command using a # symbol. Your code chunk should now look as follows: 1 ibrary (readxl ) baseball <- r e ad _ ex c el ( YOUR_PATH/baseball xlsx" ) # View(baseball) 

'Check out the video: "Uploading Files to RStuclio Cloud" in the RStudio Cloud module on Canvas. 

10. Place the following text below the previous code chunk: 

The following code examines the numeric data in the baseball data set using scatterplots. 

11. Create a new code chunk and use the pairs function to create scatter plots for numeric variables only in the baseball data set: pairs (Filter (is . numeric , baseball) ) Which variables appear most strongly related t,o Wins? Are the relationships positive or negative? Describe these relationships below the code chunk. 

12. Create a new code chunk and run a regression with Wins as the dependent variable and all other numeric variables as independent variables. Create an object called 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme