This document provides an overview of time series analysis techniques including moving average (MA) models, exponential smoothing, and ARMA models. It describes the key components of MA models including the MA(q) notation and theoretical properties. Exponential smoothing is presented as a weighted moving average for smoothing and short-term forecasting. The ARMA model is introduced as combining autoregressive and moving average terms to model a time series.
1) To understand the underlying structure of Time Series represented by sequence of observations by breaking it down to its components.
2) To fit a mathematical model and proceed to forecast the future.
Time Series basic concepts and ARIMA family of models. There is an associated video session along with code in github: https://github.com/bhaskatripathi/timeseries-autoregressive-models
https://drive.google.com/file/d/1yXffXQlL6i4ufQLSpFFrJgymhHNXL1Mf/view?usp=sharing
1) To understand the underlying structure of Time Series represented by sequence of observations by breaking it down to its components.
2) To fit a mathematical model and proceed to forecast the future.
Time Series basic concepts and ARIMA family of models. There is an associated video session along with code in github: https://github.com/bhaskatripathi/timeseries-autoregressive-models
https://drive.google.com/file/d/1yXffXQlL6i4ufQLSpFFrJgymhHNXL1Mf/view?usp=sharing
ARIMA models provide another approach to time series forecasting. Exponential smoothing and ARIMA models are the two most widely-used approaches to time series forecasting, and provide complementary approaches to the problem. While exponential smoothing models were based on a description of trend and seasonality in the data, ARIMA models aim to describe the autocorrelations in the data.
Introduction about Monte Carlo Methods, lecture given at Technical University of Kaiserslautern 2014.
There are many situations where Monte Carlo Methods are useful to solve data science problems
An ARIMAX model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and/or one or more moving average (MA) terms. It is suitable for forecasting when data is stationary/non stationary, and multivariate with any type of data pattern, i.e., level/trend /seasonality/cyclicity. ARIMAX provides forecasted values of the target variables for user-specified time periods to illustrate results for planning, production, sales and other factors.
ARCH/GARCH model.ARCH/GARCH is a method to measure the volatility of the series, to model the noise term of ARIMA model. ARCH/GARCH incorporates new information and analyze the series based on the conditional variance where users can forecast future values with updated information. Here we used ARIMA-ARCH model to forecast moments. And forecast error 0.9%
2017.03.09 collaboration is key to thriving in the 21st centuryNUI Galway
Dr Bettina von Stamm, Innovation Leadership Forum, presented this masterclass entitled "Thriving in the 21st Century: Collaboration is Key" as part of the All-Island Innovation Programme at NUI Galway on the 9th of March 2017.
2012.09.27 Lessons Learned from Doing Qualitative ResearchNUI Galway
Dr. Professor Richard A. Krueger, University of Minnesota, USA and Dr. Mary Anne Casey, Consultant in Designing Research, USA presented this seminar "Lessons Learned from Doing Qualitative Research" at the Whitaker Institute on 27th September 2012.
ARIMA models provide another approach to time series forecasting. Exponential smoothing and ARIMA models are the two most widely-used approaches to time series forecasting, and provide complementary approaches to the problem. While exponential smoothing models were based on a description of trend and seasonality in the data, ARIMA models aim to describe the autocorrelations in the data.
Introduction about Monte Carlo Methods, lecture given at Technical University of Kaiserslautern 2014.
There are many situations where Monte Carlo Methods are useful to solve data science problems
An ARIMAX model can be viewed as a multiple regression model with one or more autoregressive (AR) terms and/or one or more moving average (MA) terms. It is suitable for forecasting when data is stationary/non stationary, and multivariate with any type of data pattern, i.e., level/trend /seasonality/cyclicity. ARIMAX provides forecasted values of the target variables for user-specified time periods to illustrate results for planning, production, sales and other factors.
ARCH/GARCH model.ARCH/GARCH is a method to measure the volatility of the series, to model the noise term of ARIMA model. ARCH/GARCH incorporates new information and analyze the series based on the conditional variance where users can forecast future values with updated information. Here we used ARIMA-ARCH model to forecast moments. And forecast error 0.9%
2017.03.09 collaboration is key to thriving in the 21st centuryNUI Galway
Dr Bettina von Stamm, Innovation Leadership Forum, presented this masterclass entitled "Thriving in the 21st Century: Collaboration is Key" as part of the All-Island Innovation Programme at NUI Galway on the 9th of March 2017.
2012.09.27 Lessons Learned from Doing Qualitative ResearchNUI Galway
Dr. Professor Richard A. Krueger, University of Minnesota, USA and Dr. Mary Anne Casey, Consultant in Designing Research, USA presented this seminar "Lessons Learned from Doing Qualitative Research" at the Whitaker Institute on 27th September 2012.
Forecasting solid waste generation in Juba Town, South Sudan using Artificial...Premier Publishers
Prediction of solid waste generation is critical for any long term sustainable waste management, especially of a fast-growing municipality. Lack of, or inaccurate solid waste generation records poses unparalleled challenges in developing cohesive and workable waste management strategies for any concerned authorities, as this is influenced by several interlinked demo-graphic, economic, and socio-cultural factors. The objective of this study was to compare two models in forecasting of MSW generation and how this would be built into an effective MSW management program. Two models, the Autoregressive Moving Average (ARMA 1,1) and the Artificial Neural Networks (ANNs) were tested for their ability to predict weekly waste generation of 14 households in Juba Town, Central Equatoria State (CES), South Sudan. Results showed that both the artificial intelligence model ANNs and the traditional ARMA model had good prediction performances; where for ANNs the RMSE, MAPE and r² were 0.080, 10.64%, 0.238 respectively, whereas for ARMA the RMSE, MAPE and r² were 0.102, 6.98% and 0.274 respectively. Both models showed no significant differences and could be therefore be used for Solid Waste (SW) forecasting. Based on the results, the weekly SW generated 52 weeks later (end of year) had reached 0.365 kg/capita indicating a 18.2% rise from 0.3 kg/capita at the start of the study. Under the current consumption rate, the weekly SW per capita in Juba Town is expected to reach 0.596 kg by 2020.
2017.03.09 innovation and why it matters more in the 21st century than ever b...NUI Galway
Dr Bettina von Stamm, Innovation Leadership Forum, presented this masterclass entitled "Innovation: Why It Matters More In the 21st Century Than Ever Before" as part of the All-Island Innovation Programme at NUI Galway on the 9th of March 2017.
2017.02.08 The Darkside of Enterprise Social MediaNUI Galway
Dr Eoin Whelan, from the Agile & Open Innovation research cluster, presented this seminar entitled "The Darkside of Enterprise Social Media" as part of the Whitaker Institute's Ideas Forum seminar series on 8th February 2017.
2012.09.18 exploring the glocalization of activism and empowermentNUI Galway
Dr. Peter Bloom, College of Business, Economics and Law, Swansea University, UK presented this seminar "Beyond the Laws of Gravity: Exploring the Glocalization of Activism and Empowerment" as part of the Visiting Fellows Seminar Series at the Whitaker Institute on 18th September 2012.
2013.06.18 Time Series Analysis Workshop ..Applications in Physiology, Climat...NUI Galway
Professor Dimitris Kugiumtzis, Aristotle University of Thessaloniki, Greece, presented this workshop on nonlinear analysis of time series as part of the Summer School on Modern Statisitical Analysis and Computational Methods hosted by the Social Sciences Compuing Hub at the Whitaker Institute, NUI Galway on 17th-19th June 2013.
Dr Alma McCarthy, Discipline of Management, gave this workshop on how to manage the PhD journey at the 2017 Whitaker Institute PhD Forum on the 24th May 2017 at NUI Galway.
This Presentation describes, in short, Introduction to Time Series and the overall procedure required for Time Series Modelling including general terminologies and algorithms. However the detailed Mathematics is excluded in the slides, this ppt means to give a start to understanding the Time Series Modelling before going into detailed Statistics.
Avionics 738 Adaptive Filtering at Air University PAC Campus by Dr. Bilal A. Siddiqui in Spring 2018. This lecture covers background material for the course.
Random Matrix Theory and Machine Learning - Part 3Fabian Pedregosa
ICML 2021 tutorial on random matrix theory and machine learning.
Part 3 covers: 1. Motivation: Average-case versus worst-case in high dimensions 2. Algorithm halting times (runtimes) 3. Outlook
In these two lectures, we’re looking at basic discrete time representations of linear, time invariant plants and models and seeing how their parameters can be estimated using the normal equations.
The key example is the first order, linear, stable RC electrical circuit which we met last week, and which has an exponential response.
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...ssuser7dcef0
Power plants release a large amount of water vapor into the
atmosphere through the stack. The flue gas can be a potential
source for obtaining much needed cooling water for a power
plant. If a power plant could recover and reuse a portion of this
moisture, it could reduce its total cooling water intake
requirement. One of the most practical way to recover water
from flue gas is to use a condensing heat exchanger. The power
plant could also recover latent heat due to condensation as well
as sensible heat due to lowering the flue gas exit temperature.
Additionally, harmful acids released from the stack can be
reduced in a condensing heat exchanger by acid condensation. reduced in a condensing heat exchanger by acid condensation.
Condensation of vapors in flue gas is a complicated
phenomenon since heat and mass transfer of water vapor and
various acids simultaneously occur in the presence of noncondensable
gases such as nitrogen and oxygen. Design of a
condenser depends on the knowledge and understanding of the
heat and mass transfer processes. A computer program for
numerical simulations of water (H2O) and sulfuric acid (H2SO4)
condensation in a flue gas condensing heat exchanger was
developed using MATLAB. Governing equations based on
mass and energy balances for the system were derived to
predict variables such as flue gas exit temperature, cooling
water outlet temperature, mole fraction and condensation rates
of water and sulfuric acid vapors. The equations were solved
using an iterative solution technique with calculations of heat
and mass transfer coefficients and physical properties.
Overview of the fundamental roles in Hydropower generation and the components involved in wider Electrical Engineering.
This paper presents the design and construction of hydroelectric dams from the hydrologist’s survey of the valley before construction, all aspects and involved disciplines, fluid dynamics, structural engineering, generation and mains frequency regulation to the very transmission of power through the network in the United Kingdom.
Author: Robbie Edward Sayers
Collaborators and co editors: Charlie Sims and Connor Healey.
(C) 2024 Robbie E. Sayers
Using recycled concrete aggregates (RCA) for pavements is crucial to achieving sustainability. Implementing RCA for new pavement can minimize carbon footprint, conserve natural resources, reduce harmful emissions, and lower life cycle costs. Compared to natural aggregate (NA), RCA pavement has fewer comprehensive studies and sustainability assessments.
About
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Technical Specifications
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
Key Features
Indigenized remote control interface card suitable for MAFI system CCR equipment. Compatible for IDM8000 CCR. Backplane mounted serial and TCP/Ethernet communication module for CCR remote access. IDM 8000 CCR remote control on serial and TCP protocol.
• Remote control: Parallel or serial interface
• Compatible with MAFI CCR system
• Copatiable with IDM8000 CCR
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
Application
• Remote control: Parallel or serial interface.
• Compatible with MAFI CCR system.
• Compatible with IDM8000 CCR.
• Compatible with Backplane mount serial communication.
• Compatible with commercial and Defence aviation CCR system.
• Remote control system for accessing CCR and allied system over serial or TCP.
• Indigenized local Support/presence in India.
• Easy in configuration using DIP switches.
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Dr.Costas Sachpazis
Terzaghi's soil bearing capacity theory, developed by Karl Terzaghi, is a fundamental principle in geotechnical engineering used to determine the bearing capacity of shallow foundations. This theory provides a method to calculate the ultimate bearing capacity of soil, which is the maximum load per unit area that the soil can support without undergoing shear failure. The Calculation HTML Code included.
3. Moving Average Model
• Moving average (MA) models account for the possibility of a relationship between a variable and the
residuals from previous periods.
• MA(q) is moving average with q legs:
• The 1st order moving average model, denoted by MA(1) is:
• The 2nd order moving average model, denoted by MA(2) is:
• The qth order moving average model, denoted by MA(q) is:
yt=µ +εt+ 𝑖=1
𝑞
𝜃𝑖 𝜀 𝑡 − 𝑖
yt=µ +εt+Ɵ1εt-1 + Ɵ2εt-2 + ………+ Ɵqεt-q
yt=µ +εt+Ɵ1εt-1
yt=µ +εt+Ɵ1εt-1 + Ɵ2εt-2
4. Theoretical Properties of a Time Series with an MA(1) Model
•Mean is E(yt) = μ
•Variance is Var(yt) = σ 2(1 + θ1
2)
•Autocovarience at lag 1 is:
Var(Yt) = E(yt-μ)2
= E[(εt-θ1εt-1)2]
= E[(ε2
t+ 2θ1εtεt-1 +θ2
1ε2
t-1)]
= E[εt
2] + 2θ1E[εtεt-1 ] + θ2
1E[ε2
t-1]
= σ 2 + 2θ1 (0)+ θ1
2 σ 2
= σ 2(1 + θ1
2)
E(Yt) = E(μ+εt+θ1εt-1)
= μ + 0 + (θ1)(0)
= μ
Covar = E(yt-μ) (yt-1-μ)
= E[(εt-θ1εt-1) (εt-1-θ1εt-2)]
= E[(εtεt-1 + θ1εt-1εt-1 + θ1εtεt-2 +θ2
1εt-1 εt-2)]
= 0+ θ1E[ε2
t-1 ] + 0 + 0
= θ1σ 2
5. Theoretical Properties of a Time Series with an MA(1) Model
•Autocovarience at lag 2 is:
•For MA(1) , the autocovarience at higher lags (k>1) is 0.
•The autocorrelation function is: =
cov[yt,yt−k]
𝑣𝑎𝑟[𝑦𝑡]
=
θ1
σ 2
(1 + θ1
2)σ 2
•The autocorrelation of MA(q) series is non zero only for lags k≤q and is zero for all higher lags.
Cov = E(yt-μ) (yt-2-μ)
= E[(εt-θ1εt-1) (εt-2-θ1εt-3)]
= E[(εtεt-2 + θ1εt-1εt-2 + θ1εtεt-3 +θ2
1εt-1 εt-3)]
= 0+ 0 + 0 + 0
= 0
ρ1=
1 𝑘 = 0
θ1
(1 + θ1
2)
𝑘 = 1
0 𝑘 > 1
6. Example 1 Suppose that an MA(1) model is yt = 10 + εt + .7εt-1 .The coefficient θ1= 0.7(calculated by yule walker
method). Because this is an MA(1), the theoretical ACF will have nonzero values only at lags 1.The theoretical ACF is
given by
ρ1=
θ1
(1 + θ1
2)
=
0.7
1+0.72 = 0.4698
A plot of this ACF follows.
7. Determining the order MA(q)
Autocorrelation is:
The order of MA(q) model is last significant value observed from autocorrelation
function plot.
8. A “spike” at lag 1 followed by generally non-significant values for lags past 1. Note that the sample ACF does
not match the theoretical pattern of the underlying MA(1), which is that all autocorrelations for lags past 1 will be
0. A different sample would have a slightly different sample ACF shown above, but would likely have the same
broad features.
9. Moving Average Model : Forecasting
• Used for smoothing
• A series of arithmetic means over time
• Result dependent upon choice of L (length of period for computing means)
• Examples:
• For a 5 year moving average, L = 5
• For a 7 year moving average, L = 7
• Etc.
• Example: Five-year moving average
• First average:
• Second average:
• etc.
5
YYYYY
MA(5) 54321
5
YYYYY
MA(5) 65432
11. Calculating Moving average
• Each moving average is for a consecutive block of 5 years
Year Sales
1 23
2 40
3 25
4 27
5 32
6 48
7 33
8 37
9 37
10 50
11 40
Average
Year
5-Year
Moving
Average
3 29.4
4 34.4
5 33.0
6 35.4
7 37.4
8 41.0
9 39.4
… …
5
54321
3
5
3227254023
29.4
etc…
12. Annual vs. Moving Average
Annual vs. 5-Year Moving Average
0
10
20
30
40
50
60
1 2 3 4 5 6 7 8 9 10 11
Year
Sales
Annual 5-Year Moving Average
• The 5-year moving average
smoothes the data and shows
the underlying trend.
13. Exponential Smoothing
• A weighted moving average.
• Used for smoothing and short term forecasting .
• The weight (smoothing coefficient) is α -
• Subjectively chosen
• Range from 0 to 1
• Weights decline exponentially
• Most recent observation weighted most
• Smaller W gives more smoothing, larger W gives less smoothing
• The weight is:
• Close to 0 for smoothing out unwanted cyclical and irregular components
• Close to 1 for forecasting
14. Exponential Smoothing Model
Exponential smoothing model
S1=X1
St=αXt+(1-α)St-1 For t = 2, 3, 4, …
where:
St = exponentially smoothed value for period t
St-1 = exponentially smoothed value already computed for period t - 1
xt = observed value in period t
α = weight (smoothing coefficient), 0 < α < 1
16. Exponential Smoothing Example
• Suppose we use weight α = .2
Time
Period
(t)
Sales
(Xt)
Forecast
from prior
period (st-1)
Exponentially Smoothed
Value for this period (St)
1
2
3
4
5
6
7
8
9
10
etc.
23
40
25
27
32
48
33
37
37
50
etc.
--
23
26.4
26.12
26.296
27.437
31.549
31.840
32.872
33.697
etc.
23
(.2)(40)+(.8)(23)=26.4
(.2)(25)+(.8)(26.4)=26.12
(.2)(27)+(.8)(26.12)=26.296
(.2)(32)+(.8)(26.296)=27.437
(.2)(48)+(.8)(27.437)=31.549
(.2)(48)+(.8)(31.549)=31.840
(.2)(33)+(.8)(31.840)=32.872
(.2)(37)+(.8)(32.872)=33.697
(.2)(50)+(.8)(33.697)=36.958
etc.
1)1(
tt
t
SX
S
s1 = x1 since
no prior
information
exists
17. Sales vs. Smoothed Sales
• Fluctuations have
been smoothed
• NOTE: the smoothed
value in this case is
generally a little low,
since the trend is
upward sloping and the
weighting factor is
only .2 0
10
20
30
40
50
60
1 2 3 4 5 6 7 8 9 10
Time Period
Sales
Sales Smoothed
18. ARMA Model
• Autoregressive moving average model combines both p autoregressive terms and q moving
average terms.
• Where εt ⁓ WN(0,σ2)
• Φi and Ɵi are the parameters of the process
• Special Cases: q=0 Autoregressive model(p)
p=0 Moving Average model(q)
Model :
yt=µ+ Φ1yt-1+ Φ2yt-2+…+Φpyt-p + εt + Ɵ1εt-1 + Ɵ2εt-2 + ………+ Ɵqεt-q
19. The models will be specified in terms of the lag operator L. In these terms then the AR(p) model is given by