"A First Course on Time Series Analysis with SAS" is an open source book project to create a mathematically oriented introduction to time series analysis. You can download the book (in pdf-format) as well as the data sets and the SAS programming code free of charge.
If you are interested in making changes to the book please read the preamble.
The analysis of real data by means of statistical methods with the aid of a software package common in industry and administration usually is not an integral part of mathematics studies, but it will certainly be part of a future professional work.
The present book links up elements from time series analysis with a selection of statistical procedures used in general practice including the statistical software package SAS. Consequently this book addresses students of statistics as well as students of other branches such as economics, demography and engineering, where lectures on statistics belong to their academic training. But it is also intended for the practician who, beyond the use of statistical tools, is interested in their mathematical background. Numerous problems illustrate the applicability of the presented statistical procedures, where SAS gives the solutions. The programs used are explicitly listed and explained. No previous experience is expected neither in SAS nor in a special computer system so that a short training period is guaranteed.
This book is meant for a two semester course (lecture, seminar or practical training) where the first three chapters can be dealt within the first semester. They provide the principal components of the analysis of a time series in the time domain. Chapters 4, 5 and 6 deal with its analysis in the frequency domain and can be worked through in the second term. In order to understand the mathematical background some terms are useful such as convergence in distribution, stochastic convergence, maximum likelihood estimator as well as a basic knowledge of the test theory, so that work on the book can start after an introductory lecture on stochastics. Each chapter includes exercises. An exhaustive treatment is recommended. Chapter 7 (case study) deals with a practical case and demonstrates the presented methods. It is possible to use this chapter independent in a seminar or practical training course, if the concepts of time series analysis are already well understood.
This book is consecutively subdivided in a statistical part and an SAS-specific part. For better clearness the SAS-specific parts are highlighted.
The purpose of this internet-based open-source project is to make a useful document "free" in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. That's why we put this project under the GNU Free Documentation License.
A traditional book, once published, allows no modifications, extensions, corrections etc. unless a new edition is released. This is the reason why we put the source code of the book (in latex-format) on the internet for free download as well: Once downloaded, the source code allows you to modify the text just as you like.
The book is released on a print-on-demand basis. Print-on-Demand means that the book is printed only when it has been previously ordered. Hence, all improvements to the online version of the book will directly translate to the printed version.
In case you have modifications, extensions etc. which might be of interest to a broader audience, you can send them to us and we will incorporate them in a future version of the document. We hope that, as time goes by, evolution takes place and leads to a steadily improving text
Copyright © 2012 Michael Falk. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License".
The authors accept no responsibility for errors in the programs mentioned or their consequences.
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute in the USA and other countries. Windows is a trademark, Microsoft is a registered trademark of the Microsoft Corporation.
Here you can download the book as pdf (version: 2012.August.01, 2.6 MB).
Table of Contents
- Elements of Exploratory Time Series Analysis
- The Additive Model for a Time Series
- Linear Filtering of Time Series
- Autocovariances and Autocorrelations
- Models of Time Series
- Linear Filters and Stochastic Processes
- Moving Averages and Autoregressive Processes
- The Box–Jenkins Program
- State-Space Models
- The State-Space Representation
- The Kalman-Filter
- The Frequency Domain Approach of a Time Series
- Least Squares Approach with Known Frequencies
- The Periodogram
- The Spectrum of a Stationary Process
- Characterizations of Autocovariance Functions
- Linear Filters and Frequencies
- Spectral Density of an ARMA-Process
- Statistical Analysis in the Frequency Domain
- Testing for a White Noise
- Estimating Spectral Densities
- The Box–Jenkins Program: A Case Study
- Partial Correlation and Levinson–Durbin Recursion
- Asymptotic Normality of Partial Autocorrelation Estimator
- Asymptotic Normality of Autocorrelation Estimator
- First Examinations
- Order Selection
- Diagnostic Check
- GNU Free Documentation Licence
The LaTeX source code is published under the GNU Free Documentation License.
You can get one zip-file (version: 2012.August.01, 2.3 MB) containing all the files you need.
The zip-file does not contain the datasets. Please download them seperately here.
The book is also released on a print-on-demand basis. Print-on-Demand means that the book is printed only when it has been previously ordered. Hence, you will always get the newest version of the book.
You can order the book directly from our print-on-demand publisher epubli.com or buy it direcly from Amazon.de Marktplace. It's also possible to buy the book from local bookstores with the book ISBN 978-3-8442-2845-8.
The following table gives an overiew ot the used data sets. You can also download one file containing the zipped raw data (for version: 2012.August.01, 59 KB).
|Dataset||Raw data||SAS data|
|Hog Data (price)||hogprice.txt||hogprice.sas7bdat|
|Hog Data (supply)||hogsuppl.txt||hogsuppl.sas7bdat|
|Public Expenditures Data||pubexpen.txt|
|Unemployed Females Data||female.txt|
|US Interest Rates Data||us_interest_rates.txt||us_interest_rates.sas7bdat|
The following table gives an overiew ot the used SAS programs. You can also download one file containing all zipped SAS programs (for version: 2012.August.01, 30 KB).
If you would like to support our work on "A First Course on Time Series Analysis with SAS", feel free to give us a donation.
Our bank details are:
|Account holder:||Staatsoberkasse Bayern in Landshut|
|Bank identification code:||750 000 00|
|Account number:||743 015 40|
|IBAN:||DE08 7500 0000 0074 3015 40|
VERY IMPORTANT: Please, state 1517010/824030-1 as reason for transfer.
Chair of Statistics
University of Würzburg
Telephone: (+49-931) 31-84938
Fax: (+49-931) 31-84949
We would like to thank our contributors whose efforts make this TimeSeries Project possible. They have created and maintained the book and our web site.
- Peter Dinges
- Stefan Englert, Institute of Medical Biometry and Informatics, University of Heidelberg
- Michael Falk, Institute of Mathematics, University of Würzburg
- Daniel Hofmann
- Frank Marohn, Institute of Mathematics, University of Würzburg
- René Michel, Altran CIS
- Maria Macke
- Christoph Spachmann
- Bernward Tewes, University Computer Center of the Catholic University of Eichstätt-Ingolstadt