Instructions

Recall that tab-delimited data are easily imported into R with the following command:

If you don’t use this exact command, be sure to at least call your data table, DF. You can use the attach command, attach(DF), to assign the variable names described earlier to the data table you’ve imported. Lastly, run the command, Date <- as.Date(Date), to convert the date variable into something that R can understand.

Questions

1. Suppose we only want to consider using the page views of one cryptocurrency (CC) to predict the page views of the phrase, Alternative currency (alt_cur). Which CC would be the worst choice to make predictions?

1. Does this CC (the answer to question 1) significantly predict alt_cur?

1. Now, consider the variable which best predictsalt_cur. Call it CCbest. What is the residual standard error associated with the regression of alt_cur and CCbest?

1. Plot CCbest against the residuals from the regression of alt_cur on CCbest. Do the residuals appear to be approximately normally distributed?

1. Run a regression predicting alt_cur from litecoin. What percent of the total variation in alt_cur can be explained by litecoin? Don’t include the percent sign but remember to round to two decimals.

1. Plot Date versus the residuals of the regression from question 5. Do the residuals follow the standard linear regression assumptions?

1. In what month do you find the most extreme residual? Don’t report the associated year.Answer in lowercase.

1. Which (if any) CC should not be used to predict alt_cur in a linear model due to statistical insignificance? Choose one of bitcoin, dogecoin, litecoin or none.

1. Which CC is least correlated with the other two CCs? If all are equally correlated, write none.

1. Calculate a new variable with the command, bit_rate<- 24*60^2/bitcoin. For a given date, the associate bit_rate observation represents the average number seconds between searches for bitcoin on Wikipedia. Without doing any formal tests, would you say Date is linearly related to bitcoin, bit_rate, both or neither?

• Posted: 5 years ago
Recall that tab-delimited data are easily imported into R with the following command

Purchase the answer to view it Save time and money!
Our teachers already did such homework, use it as a reference! 