ARate,Length,ADT,Trks,SLim,Lane,AcPt,LWidth,HType 4.58,4.99,69,8,55,8,4.6,12,FAI 2.86,16.11,73,8,60,4,4.4,12,FAI 3.02,9.75,49,10,60,4,4.7,12,FAI 2.29,10.65,61,13,65,6,3.8,12,FAI...

I need these Questions on the word document answered using R programming. I need the proper code to the questions asked. please make it as simple as possible, while still getting the information necessary. There are also 2 documents I attached called "highway" and "apple", that contain the necessary information and data in order to solve the questions using R. PLEASE HELP! THANK U!


ARate,Length,ADT,Trks,SLim,Lane,AcPt,LWidth,HType 4.58,4.99,69,8,55,8,4.6,12,FAI 2.86,16.11,73,8,60,4,4.4,12,FAI 3.02,9.75,49,10,60,4,4.7,12,FAI 2.29,10.65,61,13,65,6,3.8,12,FAI 1.61,20.01,28,12,70,4,2.2,12,FAI 6.87,5.97,30,6,55,4,24.8,12,PA 3.85,8.57,46,8,55,4,11,12,PA 6.12,5.24,25,9,55,4,18.5,12,PA 3.29,15.79,43,12,50,4,7.5,12,PA 5.88,8.26,23,7,50,4,8.2,12,PA 4.2,7.03,23,6,60,4,5.4,12,PA 4.61,13.28,20,9,50,4,11.2,12,PA 4.8,5.4,18,14,50,2,15.2,12,PA 3.85,2.96,21,8,60,4,5.4,12,PA 2.69,11.75,27,7,55,4,7.9,12,PA 1.99,8.86,22,9,60,4,3.2,12,PA 2.01,9.78,19,9,60,4,11,12,PA 4.22,5.49,9,11,50,2,8.9,12,PA 2.76,8.63,12,8,55,2,12.4,13,PA 2.55,20.31,12,7,60,4,7.8,12,PA 1.89,40.09,15,13,55,4,9.6,12,PA 2.34,11.81,8,8,60,2,4.3,12,PA 2.83,11.39,5,9,50,2,11.1,12,PA 1.81,22,5,15,60,2,6.8,12,PA 9.23,3.58,23,6,40,4,53,12,MA 8.6,3.23,13,6,45,2,17.3,12,MA 8.21,7.73,7,8,55,2,27.3,12,MA 2.93,14.41,10,10,55,2,18,12,MA 7.48,11.54,12,7,45,2,30.2,12,MA 2.57,11.1,9,8,60,2,10.3,12,MA 5.77,22.09,4,8,45,2,18.2,11,MA 2.9,9.39,5,10,55,2,12.3,13,MA 2.97,19.49,4,13,55,2,7.1,12,MA 1.84,21.01,5,12,55,2,14,10,MA 3.78,27.16,2,10,55,2,11.3,12,MA 2.76,14.03,3,8,50,2,16.3,12,MA 4.27,20.63,1,11,55,2,9.6,11,MA 3.05,20.06,3,11,60,2,9,12,MC 4.12,12.91,1,10,55,2,10.4,12,MC Question 2: The data file apple.csv contains daily prices and trading volume of Apple stock from July 21st to August 21st in 2016. Write an R code to answer the following questions. (a) Load the dataset into R and examine the variables types. Are there any missing data? If so, how many missing values in each variable? (b) Find the dates which yield the highest and lowest price. (c) Find the dates which yield the highest and lowest change in price from previous day. (d) Find the dates which yield the highest and lowest trading volume. (e) Obtain the time-series plots for daily price, change in price from the previous day and trading volume. Comment on trends and patterns. (f) Compute the auto-correlations of daily price, change in price from the previous day and trading volume. Is there any evidence for non-randomness in the data? Question 3: Consider the highway dataset in Question 1. Write an R code to answer the following questions. (a) Produce a 3D scatterplot of the variables ARate, SLim and AcPt. What do you see? (b) Produce a 3D histogram of the variables SLim and AcPt. (c) Produce the parallel coordinates plot of the variables ARate, AcPt, SLim and Trks. Comment on the plot. (d) Perform a MDS analysis of the dataset using all quantitative variables. Do you see any clustering based on highway type?
Sep 27, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here