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
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
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
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme