load the AirPassangers data,check its class and see the start and end of the series .
check the cycle of the TimeSeries AirPassangers .
create the lagplot using the gglagplot from the forecast package,check how the relationship changes as the lag increases
Also plot the correlation for each of the lags , you can see when the lag is above 6 the correlation drops and again climbs up in 12 and again drops in 18 .
Plot the histogram of the AirPassengers using gghistogram from forecast
Use tsdisplay to plot autocorrelation , timeseries and partial autocorrelation together in a same plot
Find the outliers in the timeseries .
Related exercise sets:
R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more…
Source:: R News