December 2018
Beginner to intermediate
500 pages
12h 10m
English
A method that is slightly more advanced involves computing the mean of the previous data points to forecast the next value. It's a basic approach but in some situations, it can be a good fit. To compute it, we can apply the mean function to the underlying array of values:
julia> mean(TimeSeries.values(adj_unemployment_data)[:]) 21589.641025641027
Read now
Unlock full access