Question: 7. Please follow the following instructions. The instructions indicate how to download daily stock price of Apple, Inc. from 2016-01-01 to 2018-07-31 from Yahoo! Finance.

7. Please follow the following instructions. The instructions indicate how to download daily stock price of Apple, Inc. from 2016-01-01 to 2018-07-31 from Yahoo! Finance.

library(quantmod)

getSymbols("AAPL", src = "yahoo", from='2016-01-01', to='2018-07-31')

AAPLAdj <- AAPL$AAPL.Adj

a) [3 points] Show whether the series AAPLAdj evolves with time. If it does, show how to remove the evolution with time and comment on the result.

b) [3 points] The following code will convert AAPLAdj to monthly log return.

monthly.AAPL <- monthlyReturn(AAPLAdj, subset=NULL, type='log', leading=TRUE)

Find sample autocorrelation and partial autocorrelation estimates for monthly.AAPL up to lag 15

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!