This lesson requires a premium membership to access.
Premium membership includes unlimited access to all courses, quizzes, downloadable resources, and future content updates.
Since the data shows changing variance over time, the first thing we will do is stabilize the variance by applying log transformation using the log() function. The resulting series will be a linear time series.
1> sp_linear<-log(sp_ts)
2> plot.ts(sp_linear, main="Daily Stock Prices (log)", ylab="Price", col=4)
3