This will be a series of Exercises and I urge you to take it in series.
Please install the package and load the library before starting.
Answers to these exercises are available here.
Install the Forecast package. The first step in any analysis is to see the data and use the auto-plot to plot the gold data-set available in the forecast package.
Find the outlier in the gold data. Find how far it is from the median.
Use ggseasonalplot to plot the gas data. See how each year stacks with each other.
Now I want to plot the gas data for the year 1990 and after. How do I achieve that?
ggseasonalplot can be used to see seasonal plots as polar coordinates. Plot the same data as above, but use
polar coordinates instead.
How can I see a monthly time series of the gas price?
Hint: use monthplot or ggsubseriesplot.
For a time series, we can find the dominant frequency of that time series and use it for our analysis on how to
find the frequency of gas data (assume that it is a long /big data and you don’t have a clue about the frequency.)