Reader small image

You're reading from  Practical Time Series Analysis

Product typeBook
Published inSep 2017
Reading LevelIntermediate
PublisherPackt
ISBN-139781788290227
Edition1st Edition
Languages
Right arrow
Authors (2):
Avishek Pal
Avishek Pal
author image
Avishek Pal

Dr. Avishek Pal, PhD, is a software engineer, data scientist, author, and an avid Kaggler living in Hyderabad, India. He achieved his Bachelor of Technology degree in industrial engineering from the Indian Institute of Technology (IIT) Kharagpur and earned his doctorate in 2015 from University of Warwick, Coventry, United Kingdom. He started his career as a software engineer at IBM India developing middleware solutions for telecom clients. This was followed by stints at a start-up product development company followed by Ericsson, the global telecom giant. After doctoral studies, Avishek started his career in India as a lead machine learning engineer for a leading US-based investment company. He is currently working at Microsoft as a senior data scientist. Avishek has published several research papers in reputed international conferences and journals.
Read more about Avishek Pal

PKS Prakash
PKS Prakash
author image
PKS Prakash

Dr. PKS Prakash is a data scientist and author. He has spent the last 12 years in developing many data science solutions in several practical areas in healthcare, manufacturing, pharmaceuticals, and e-commerce. He currently works as the data science manager at ZS Associates. He is the co-founder of Warwick Analytics, a spin-off from University of Warwick, UK. Prakash has published articles widely in research areas of operational research and management, soft computing tools, and advanced algorithms in leading journals such as IEEE-Trans, EJOR, and IJPR, among others. He has edited an article on Intelligent Approaches to Complex Systems and contributed to books such as Evolutionary Computing in Advanced Manufacturing published by WILEY and Algorithms and Data Structures using R and R Deep Learning Cookbook, published by PACKT.
Read more about PKS Prakash

View More author details
Right arrow

Moving average models


The moving average models use dependency between residual errors to forecast values in the next time period. The model helps you adjust for any unpredictable events such as catastrophic events leading to a share market crash leading to share prices falling, which will happen over time and is captured as a moving average process.

The first-order moving average denoted by MA(1) is as follows:

xt = α - θ1Єt-1 + Єt

The second-order moving average denoted by MA(2) is as follows:

xt = α - θ1Єt-1 - θ2Єt-2+ Єt

The qth order moving average denoted by MA(q) is as follows:

xt = α - θ1Єt-1 - θ2Єt-2 - ... - θqЄt-q+ Єt

Here, Єt is the identically independently-distributed error at time t and follows normal distribution N(0,σ2Є) with zero mean and σ2Є variance. The Єt component represents error in time t and the α  and Є notations represent mean intercept and error coefficients, respectively. The moving average time series model with qth order is represented as MA(q). The preceding relations...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Practical Time Series Analysis
Published in: Sep 2017Publisher: PacktISBN-13: 9781788290227

Authors (2)

author image
Avishek Pal

Dr. Avishek Pal, PhD, is a software engineer, data scientist, author, and an avid Kaggler living in Hyderabad, India. He achieved his Bachelor of Technology degree in industrial engineering from the Indian Institute of Technology (IIT) Kharagpur and earned his doctorate in 2015 from University of Warwick, Coventry, United Kingdom. He started his career as a software engineer at IBM India developing middleware solutions for telecom clients. This was followed by stints at a start-up product development company followed by Ericsson, the global telecom giant. After doctoral studies, Avishek started his career in India as a lead machine learning engineer for a leading US-based investment company. He is currently working at Microsoft as a senior data scientist. Avishek has published several research papers in reputed international conferences and journals.
Read more about Avishek Pal

author image
PKS Prakash

Dr. PKS Prakash is a data scientist and author. He has spent the last 12 years in developing many data science solutions in several practical areas in healthcare, manufacturing, pharmaceuticals, and e-commerce. He currently works as the data science manager at ZS Associates. He is the co-founder of Warwick Analytics, a spin-off from University of Warwick, UK. Prakash has published articles widely in research areas of operational research and management, soft computing tools, and advanced algorithms in leading journals such as IEEE-Trans, EJOR, and IJPR, among others. He has edited an article on Intelligent Approaches to Complex Systems and contributed to books such as Evolutionary Computing in Advanced Manufacturing published by WILEY and Algorithms and Data Structures using R and R Deep Learning Cookbook, published by PACKT.
Read more about PKS Prakash