# Intro To Time Series Analysis Part 2 :Exercises

**R-exercises**, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

In the exercises below, we will explore more in Time Series analysis.The previous exercise is here,Please follow this in sequence

Answers to these exercises are available here.

**Exercise 1**

load the AirPassangers data,check its class and see the start and end of the series .

**Exercise 2**

check the cycle of the TimeSeries AirPassangers .

**Exercise 3**

create the lagplot using the gglagplot from the forecast package,check how the relationship changes as the lag increases

**Exercise 4**

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 .

**Exercise 5**

Plot the histogram of the AirPassengers using gghistogram from forecast

**Exercise 6**

Use tsdisplay to plot autocorrelation , timeseries and partial autocorrelation together in a same plot

**Exercise 7**

Find the outliers in the timeseries .

**leave a comment**for the author, please follow the link and comment on their blog:

**R-exercises**.

R-bloggers.com offers

**daily e-mail updates**about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.

Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.