Abstract
We graph different time series in this chapter and also do a few computations and a bit of modeling. We begin by looking at some Air Passenger data, and find that it has both seasonal and trend components. We look at scatterplots of inflation versus unemployment in the US before and after 1970—and find two different curves. We graph inflation data and examine its stationarity. We use a very simple model to forecast inflation and graph the forecast. Finally, we explore the volatility in the stock market by calculating standard deviations for different time periods.
This is a preview of subscription content, log in via an institution.
Buying options
Tax calculation will be finalised at checkout
Purchases are for personal use only
Learn about institutional subscriptionsReferences
Cowpertwait PSP, Metcalfe AV (2009) Introductory time series with R. Springer, Dordrecht
Hyndman RJ, Athanasopoulos G (2014) Forecasting: principles and practice. https://www.otexts.org/fpp. Accessed on 12 Sep 2014
Hyndman RJ, Athanasopoulos G, Razbash S, Schmidt D, Zhou Z, Khan Y, Bergmeir C, Wang E (2014) Forecast: forecasting functions for time series and linear models. R package version 5.5. http://CRAN.R-project.org/package=forecast
Kleiber C, Zeileis A (2008) Applied econometrics with R. Springer, Dordrecht
Ryan JA, Ulrich JM (2014) xts: eXtensible Time Series. R package version 0.9-7. http://CRAN.R-project.org/package=xts
Stock JH, Watson MW (2011) Introduction to econometrics. Addison-Wesley, Boston
Teetor P (2011) R Cookbook. O’Reilly Cookbooks
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2015 The Author(s)
About this chapter
Cite this chapter
Dayal, V. (2015). Basic Time Series. In: An Introduction to R for Quantitative Economics. SpringerBriefs in Economics. Springer, New Delhi. https://doi.org/10.1007/978-81-322-2340-5_14
Download citation
DOI: https://doi.org/10.1007/978-81-322-2340-5_14
Published:
Publisher Name: Springer, New Delhi
Print ISBN: 978-81-322-2339-9
Online ISBN: 978-81-322-2340-5
eBook Packages: Business and EconomicsEconomics and Finance (R0)