SlideShare a Scribd company logo
TIME SERIES ANALYSIS
Modeling and Forecasting
Presented by
Vaibhav Jain (A13021)
Maruthi Nataraj (A13009)
Sunil Kumar (A13020)
Punit Kishore (A13011)
Arbind Kumar (A13003)
AGENDA
 Introduction
 Objective
 Data Preparation
 Check for Volatility
 Check for Non-Stationarity
 Check for Seasonality
 Model Identification and Estimation
 Forecasting
 Graphical Forecast
INTRODUCTION
 Time Series relates to values taken by a variable over time (such as daily sales
revenue, weekly orders, monthly overheads, yearly income) and tabulated or
plotted as chronologically ordered numbers or data points to yield valid
statistical inferences.
 Trend : A Time series data may show steady upward trend or downward
movement with little fluctuation for a period of years and this may be due to
factors like increase in population, change in technological progress ,large scale
shift in consumers demands etc.
 Seasonal variations: They are short-term fluctuation in a time series which
occur periodically within a year. The major factors that are responsible for the
repetitive pattern of seasonal variations are weather conditions and customs of
people. Each year more ice creams are sold in summer and very little in Winter
season.
INTRODUCTION
 Cyclical variations : They are recurrent
upward or downward movements in a time
series but the period of cycle is greater than
a year.
 Irregular variations : They are
fluctuations in time series that are short in
duration, erratic in nature and following no
regularity in the occurrence(random).
OBJECTIVE
 The two main objectives of Time Series Analysis are :
 To understand the underlying structure of Time Series represented by sequence
of observations by breaking it down to its components.
 To fit a mathematical model and proceed to forecast the future.
 In this study, we have to project the sales for the next 12 months .
 The dataset used here is SASHELP.AIR which is Airline data and contains
two variables – DATE and AIR( labeled as International Airline Travel).
It contains the data from JAN 1949 to DEC 1960.
DATA PREPARATION
Check for Volatility
 The plot of the data with time on horizontal axis and time series on
vertical axis provides an indication for volatility.
 A fan shaped or an inverted fan shaped plot shows high volatility.
 For fan shaped plot, ‘log’ or ‘square root’ transformation is used to
reduce volatility ,while for inverted fan shaped plot ,’ exponential’ or
‘square’ transformation is used.
(AIR data has been copied to MAIR dataset)
DATA PREPARATION
Check for Volatility
Fan shaped plot indicating the presence of high volatility
DATA PREPARATION
Check for Volatility
After square root transformation
DATA PREPARATION
Check for Volatility
After log transformation ,with reduced volatility (constant variance)
DATA PREPARATION
Check for Non-Stationarity
 If the data is completely random with no fixed pattern, it is called non-
stationary data and cannot be used for future forecasting. This is checked by
‘Augmented Dickey-Fuller Unit Root Test’ (ADF).Here,
 H0 : Data is non-stationary
 If p < alpha, we reject H0 to claim that the data is stationary and hence
can be used for forecasting.
 If p > alpha, we get non-stationary data which can be converted to
stationary by successive differencing.
 We can start with first difference (y[t]-y[t-1]) which can obtained using
DIF(L_AIR) or L_AIR(1).Similarly, if we need second difference, it is
DIF2(L_AIR) .
DATA PREPARATION
Check for Non-Stationarity
DATA PREPARATION
Check for Non-Stationarity
Non stationary data is
converted into stationary by
first differencing.
DATA PREPARATION
Check for Seasonality
 The Auto Correlation function (ACF) gives the correlation between y[t]-y[t-s]
where ‘s’ is the period of lag.
 If the ACF gives high values at fixed interval, that interval can be considered as the
period of seasonality. A differencing of same order will deseasonalize the data.
 In the previous output of ACF as shown below, we can see that 12 years is period of
seasonality.
Here, we have deseasonalized data by 12th order differencing as
shown above.
DATA PREPARATION
Check for Seasonality
MODEL IDENTIFICATION
AND ESTIMATION
 Depending upon the number of future time points to be forecasted, we set
aside few of the most recent time points data as the validation sample(V). The
rest of the data which is the development sample(D), is used to generate forecasts
for different models.
 MINIC (Minimum Information Criteria) option under PROC ARIMA generates
the minimum BIC (Bayesian Information Criteria) Model after exploring all the
possible combinations of ‘p’ (Auto Regressive) and ‘q’ (Moving Average) lags
from 0 to 5 (default).
MODEL IDENTIFICATION
AND ESTIMATION
 By observation, we can see that the minimum of the matrix is the value -6.3503
corresponding to AR 3 and MA 0 location(i.e. p=3 & q=0).
 We consider all the models in the neighborhood of this model and for each of
them generate AIC (Akaike Information Criteria) and SBC (Schwartz Bayesian
Criteria) and calculate the average of them.
 We select the top 6-7 models based on relatively lower value of the average
and for each of them generate forecasts.
p=0 , q=1
MODEL IDENTIFICATION
AND ESTIMATION
AIC & SBC for all the neighborhood
models [ (0,1) to (3,3)]
Top 7 models based on lower
average value
FORECASTING
 Forecasts are generated using the FORECAST option in PROC ARIMA.
 Here,
LEAD = No of future time points to forecast
ID = Name of time variable
INTERVAL = Unit of time variable
OUT = Name of the output file which saves the forecast
 The forecasts generated (for 1960 in this case) for each combination selected
from AIC & SBC are separately compared with the actual values of the same time
point stored in the validation dataset (V) and ‘MAPE’ (Mean Absolute Percentage
Error) is calculated.
FORECASTING
p=2 , q=3
FORECASTING
We select the combination
(p, q) which has the
minimum MAPE and that
model is applied on the
entire data to generate the
final forecast (for 1961).
Here, we need to
apply Antilog(exp) to
get back original data
for convenience in
comparison.
FORECASTING
Forecasted Data
GRAPHICAL FORECAST
0.00
100.00
200.00
300.00
400.00
500.00
600.00
700.00
800.00
Jan/49
Jun/49
Nov/49
Apr/50
Sep/50
Feb/51
Jul/51
Dec/51
May/52
Oct/52
Mar/53
Aug/53
Jan/54
Jun/54
Nov/54
Apr/55
Sep/55
Feb/56
Jul/56
Dec/56
May/57
Oct/57
Mar/58
Aug/58
Jan/59
Jun/59
Nov/59
Apr/60
Sep/60
Feb/61
Jul/61
Dec/61
InternationalAirlineTravel(Thousands)
Actual Vs Forecasted
AIR
AIR_M
Thank You

More Related Content

What's hot

Time series analysis
Time series analysisTime series analysis
Time series analysis
Utkarsh Sharma
 
Time series
Time seriesTime series
Time series
Haitham Ahmed
 
Time series
Time series Time series
ARIMA
ARIMA ARIMA
Lesson 1 introduction_to_time_series
Lesson 1 introduction_to_time_seriesLesson 1 introduction_to_time_series
Lesson 1 introduction_to_time_series
ankit_ppt
 
Moving average method maths ppt
Moving average method maths pptMoving average method maths ppt
Moving average method maths ppt
Abhishek Mahto
 
Time series.ppt
Time series.pptTime series.ppt
Time series.ppt
ALEXANDEROPOKU1
 
Time series and forecasting
Time series and forecastingTime series and forecasting
Time series and forecasting
mvskrishna
 
Analysis of Time Series
Analysis of Time SeriesAnalysis of Time Series
Analysis of Time Series
Manu Antony
 
Time Series Analysis, Components and Application in Forecasting
Time Series Analysis, Components and Application in ForecastingTime Series Analysis, Components and Application in Forecasting
Time Series Analysis, Components and Application in Forecasting
Sundar B N
 
Time Series Analysis.pptx
Time Series Analysis.pptxTime Series Analysis.pptx
Time Series Analysis.pptx
Sunny429247
 
1634 time series and trend analysis
1634 time series and trend analysis1634 time series and trend analysis
1634 time series and trend analysis
Dr Fereidoun Dejahang
 
Time series analysis
Time series analysisTime series analysis
Time series analysis
Faltu Focat
 
Time series analysis; Statistics for Economics
Time series analysis; Statistics for EconomicsTime series analysis; Statistics for Economics
Time series analysis; Statistics for Economics
jyothi s basavaraju
 
Time-series Analysis in Minutes
Time-series Analysis in MinutesTime-series Analysis in Minutes
Time-series Analysis in Minutes
Orzota
 
Basic econometrics lectues_1
Basic econometrics lectues_1Basic econometrics lectues_1
Basic econometrics lectues_1
Nivedita Sharma
 
Seasonal ARIMA
Seasonal ARIMASeasonal ARIMA
Seasonal ARIMA
Joud Khattab
 
Time Series - Auto Regressive Models
Time Series - Auto Regressive ModelsTime Series - Auto Regressive Models
Time Series - Auto Regressive Models
Bhaskar T
 

What's hot (20)

Time series analysis
Time series analysisTime series analysis
Time series analysis
 
time series analysis
time series analysistime series analysis
time series analysis
 
Time series
Time seriesTime series
Time series
 
Time series
Time series Time series
Time series
 
ARIMA
ARIMA ARIMA
ARIMA
 
Lesson 1 introduction_to_time_series
Lesson 1 introduction_to_time_seriesLesson 1 introduction_to_time_series
Lesson 1 introduction_to_time_series
 
Time Series Analysis Ravi
Time Series Analysis RaviTime Series Analysis Ravi
Time Series Analysis Ravi
 
Moving average method maths ppt
Moving average method maths pptMoving average method maths ppt
Moving average method maths ppt
 
Time series.ppt
Time series.pptTime series.ppt
Time series.ppt
 
Time series and forecasting
Time series and forecastingTime series and forecasting
Time series and forecasting
 
Analysis of Time Series
Analysis of Time SeriesAnalysis of Time Series
Analysis of Time Series
 
Time Series Analysis, Components and Application in Forecasting
Time Series Analysis, Components and Application in ForecastingTime Series Analysis, Components and Application in Forecasting
Time Series Analysis, Components and Application in Forecasting
 
Time Series Analysis.pptx
Time Series Analysis.pptxTime Series Analysis.pptx
Time Series Analysis.pptx
 
1634 time series and trend analysis
1634 time series and trend analysis1634 time series and trend analysis
1634 time series and trend analysis
 
Time series analysis
Time series analysisTime series analysis
Time series analysis
 
Time series analysis; Statistics for Economics
Time series analysis; Statistics for EconomicsTime series analysis; Statistics for Economics
Time series analysis; Statistics for Economics
 
Time-series Analysis in Minutes
Time-series Analysis in MinutesTime-series Analysis in Minutes
Time-series Analysis in Minutes
 
Basic econometrics lectues_1
Basic econometrics lectues_1Basic econometrics lectues_1
Basic econometrics lectues_1
 
Seasonal ARIMA
Seasonal ARIMASeasonal ARIMA
Seasonal ARIMA
 
Time Series - Auto Regressive Models
Time Series - Auto Regressive ModelsTime Series - Auto Regressive Models
Time Series - Auto Regressive Models
 

Similar to Time Series Analysis - Modeling and Forecasting

Time Series Analysis - Modeling and Forecasting
Time Series Analysis - Modeling and ForecastingTime Series Analysis - Modeling and Forecasting
Time Series Analysis - Modeling and Forecasting
Maruthi Nataraj K
 
Ecm time series forecast
Ecm time series forecastEcm time series forecast
Ecm time series forecast
Ayapparaj SKS
 
Sales Data Forecasting for Airline
Sales Data Forecasting for AirlineSales Data Forecasting for Airline
Sales Data Forecasting for Airline
Anurag Shandilya
 
Sales forecasting of an airline company using time series analysis (1) (1)
Sales forecasting of an airline company using time series analysis (1) (1)Sales forecasting of an airline company using time series analysis (1) (1)
Sales forecasting of an airline company using time series analysis (1) (1)Ashish Ranjan
 
Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...
Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...
Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...
Simplilearn
 
Proposed seasonal autoregressive integrated moving average model for forecast...
Proposed seasonal autoregressive integrated moving average model for forecast...Proposed seasonal autoregressive integrated moving average model for forecast...
Proposed seasonal autoregressive integrated moving average model for forecast...
Alexander Decker
 
Byungchul Yea (Project)
Byungchul Yea (Project)Byungchul Yea (Project)
Byungchul Yea (Project)Byung Chul Yea
 
IRJET- Analysis of Crucial Oil Gas and Liquid Sensor Statistics and Productio...
IRJET- Analysis of Crucial Oil Gas and Liquid Sensor Statistics and Productio...IRJET- Analysis of Crucial Oil Gas and Liquid Sensor Statistics and Productio...
IRJET- Analysis of Crucial Oil Gas and Liquid Sensor Statistics and Productio...
IRJET Journal
 
Time series project
Time series projectTime series project
Time series project
Rupantar Rana
 
An Application Of TRAMO-SEATS Model Selection And Out-Of-Sample Performance....
An Application Of TRAMO-SEATS  Model Selection And Out-Of-Sample Performance....An Application Of TRAMO-SEATS  Model Selection And Out-Of-Sample Performance....
An Application Of TRAMO-SEATS Model Selection And Out-Of-Sample Performance....
Wendy Berg
 
MFBLP Method Forecast for Regional Load Demand System
MFBLP Method Forecast for Regional Load Demand SystemMFBLP Method Forecast for Regional Load Demand System
MFBLP Method Forecast for Regional Load Demand System
CSCJournals
 
Forecasting_CO2_Emissions.pptx
Forecasting_CO2_Emissions.pptxForecasting_CO2_Emissions.pptx
Forecasting_CO2_Emissions.pptx
MOINDALVS
 
What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?
What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?
What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?
Smarten Augmented Analytics
 
Air Passenger Prediction Using ARIMA Model
Air Passenger Prediction Using ARIMA Model Air Passenger Prediction Using ARIMA Model
Air Passenger Prediction Using ARIMA Model
AkarshAvinash
 
Time series modelling arima-arch
Time series modelling  arima-archTime series modelling  arima-arch
Time series modelling arima-arch
jeevan solaskar
 
M2_L6 (TSF Exponential Smoothing Holt Winter).pptx
M2_L6 (TSF Exponential Smoothing Holt Winter).pptxM2_L6 (TSF Exponential Smoothing Holt Winter).pptx
M2_L6 (TSF Exponential Smoothing Holt Winter).pptx
PrakharDwivedi51
 
Forecasting Methodology Used in Restructured Electricity Market: A Review
Forecasting Methodology Used in Restructured Electricity Market: A ReviewForecasting Methodology Used in Restructured Electricity Market: A Review
Forecasting Methodology Used in Restructured Electricity Market: A Review
Dr. Sudhir Kumar Srivastava
 

Similar to Time Series Analysis - Modeling and Forecasting (20)

Time Series Analysis - Modeling and Forecasting
Time Series Analysis - Modeling and ForecastingTime Series Analysis - Modeling and Forecasting
Time Series Analysis - Modeling and Forecasting
 
Ecm time series forecast
Ecm time series forecastEcm time series forecast
Ecm time series forecast
 
Time series Forecasting
Time series ForecastingTime series Forecasting
Time series Forecasting
 
Sales Data Forecasting for Airline
Sales Data Forecasting for AirlineSales Data Forecasting for Airline
Sales Data Forecasting for Airline
 
Time_Series_Assignment
Time_Series_AssignmentTime_Series_Assignment
Time_Series_Assignment
 
Sales forecasting of an airline company using time series analysis (1) (1)
Sales forecasting of an airline company using time series analysis (1) (1)Sales forecasting of an airline company using time series analysis (1) (1)
Sales forecasting of an airline company using time series analysis (1) (1)
 
Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...
Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...
Time Series Analysis - 2 | Time Series in R | ARIMA Model Forecasting | Data ...
 
Proposed seasonal autoregressive integrated moving average model for forecast...
Proposed seasonal autoregressive integrated moving average model for forecast...Proposed seasonal autoregressive integrated moving average model for forecast...
Proposed seasonal autoregressive integrated moving average model for forecast...
 
Byungchul Yea (Project)
Byungchul Yea (Project)Byungchul Yea (Project)
Byungchul Yea (Project)
 
IRJET- Analysis of Crucial Oil Gas and Liquid Sensor Statistics and Productio...
IRJET- Analysis of Crucial Oil Gas and Liquid Sensor Statistics and Productio...IRJET- Analysis of Crucial Oil Gas and Liquid Sensor Statistics and Productio...
IRJET- Analysis of Crucial Oil Gas and Liquid Sensor Statistics and Productio...
 
Time series project
Time series projectTime series project
Time series project
 
An Application Of TRAMO-SEATS Model Selection And Out-Of-Sample Performance....
An Application Of TRAMO-SEATS  Model Selection And Out-Of-Sample Performance....An Application Of TRAMO-SEATS  Model Selection And Out-Of-Sample Performance....
An Application Of TRAMO-SEATS Model Selection And Out-Of-Sample Performance....
 
MFBLP Method Forecast for Regional Load Demand System
MFBLP Method Forecast for Regional Load Demand SystemMFBLP Method Forecast for Regional Load Demand System
MFBLP Method Forecast for Regional Load Demand System
 
Forecasting_CO2_Emissions.pptx
Forecasting_CO2_Emissions.pptxForecasting_CO2_Emissions.pptx
Forecasting_CO2_Emissions.pptx
 
What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?
What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?
What is ARIMAX Forecasting and How is it Used for Enterprise Analysis?
 
Air Passenger Prediction Using ARIMA Model
Air Passenger Prediction Using ARIMA Model Air Passenger Prediction Using ARIMA Model
Air Passenger Prediction Using ARIMA Model
 
FINAL [Autosaved]
FINAL [Autosaved]FINAL [Autosaved]
FINAL [Autosaved]
 
Time series modelling arima-arch
Time series modelling  arima-archTime series modelling  arima-arch
Time series modelling arima-arch
 
M2_L6 (TSF Exponential Smoothing Holt Winter).pptx
M2_L6 (TSF Exponential Smoothing Holt Winter).pptxM2_L6 (TSF Exponential Smoothing Holt Winter).pptx
M2_L6 (TSF Exponential Smoothing Holt Winter).pptx
 
Forecasting Methodology Used in Restructured Electricity Market: A Review
Forecasting Methodology Used in Restructured Electricity Market: A ReviewForecasting Methodology Used in Restructured Electricity Market: A Review
Forecasting Methodology Used in Restructured Electricity Market: A Review
 

More from Maruthi Nataraj K

Text Mining of Movie Reviews
Text Mining of Movie ReviewsText Mining of Movie Reviews
Text Mining of Movie Reviews
Maruthi Nataraj K
 
How To Find Needles In Haystacks
How To Find Needles In HaystacksHow To Find Needles In Haystacks
How To Find Needles In Haystacks
Maruthi Nataraj K
 
Social Media Marketing - Daily Deals
Social Media Marketing - Daily DealsSocial Media Marketing - Daily Deals
Social Media Marketing - Daily Deals
Maruthi Nataraj K
 
Customer Profiling For Rural Financial Services
Customer Profiling For Rural Financial ServicesCustomer Profiling For Rural Financial Services
Customer Profiling For Rural Financial Services
Maruthi Nataraj K
 
Telecom Fraud Detection - Naive Bayes Classification
Telecom Fraud Detection - Naive Bayes ClassificationTelecom Fraud Detection - Naive Bayes Classification
Telecom Fraud Detection - Naive Bayes Classification
Maruthi Nataraj K
 
Linear Regression using R
Linear Regression using RLinear Regression using R
Linear Regression using R
Maruthi Nataraj K
 
Elementary School Performance (SAS Regression Analysis)
Elementary School Performance (SAS Regression Analysis)Elementary School Performance (SAS Regression Analysis)
Elementary School Performance (SAS Regression Analysis)
Maruthi Nataraj K
 
Stock Analyzer Hadoop MapReduce Implementation
Stock Analyzer Hadoop MapReduce ImplementationStock Analyzer Hadoop MapReduce Implementation
Stock Analyzer Hadoop MapReduce Implementation
Maruthi Nataraj K
 
Hospital Market Segmentation using Cluster Analysis
Hospital Market Segmentation using Cluster AnalysisHospital Market Segmentation using Cluster Analysis
Hospital Market Segmentation using Cluster Analysis
Maruthi Nataraj K
 
SAS Medical Case Study - A Comparison Between Ketamine,Clonidine and combinat...
SAS Medical Case Study - A Comparison Between Ketamine,Clonidine and combinat...SAS Medical Case Study - A Comparison Between Ketamine,Clonidine and combinat...
SAS Medical Case Study - A Comparison Between Ketamine,Clonidine and combinat...
Maruthi Nataraj K
 
Maruti Suzuki India Ltd Financial Statement Analysis
Maruti Suzuki India Ltd Financial Statement AnalysisMaruti Suzuki India Ltd Financial Statement Analysis
Maruti Suzuki India Ltd Financial Statement Analysis
Maruthi Nataraj K
 
SBI Home Loan Customer Perception Survey
SBI Home Loan Customer Perception SurveySBI Home Loan Customer Perception Survey
SBI Home Loan Customer Perception Survey
Maruthi Nataraj K
 
Basketball League Sponsorship Proposal
Basketball League Sponsorship ProposalBasketball League Sponsorship Proposal
Basketball League Sponsorship Proposal
Maruthi Nataraj K
 

More from Maruthi Nataraj K (14)

Text Mining of Movie Reviews
Text Mining of Movie ReviewsText Mining of Movie Reviews
Text Mining of Movie Reviews
 
How To Find Needles In Haystacks
How To Find Needles In HaystacksHow To Find Needles In Haystacks
How To Find Needles In Haystacks
 
Social Media Marketing - Daily Deals
Social Media Marketing - Daily DealsSocial Media Marketing - Daily Deals
Social Media Marketing - Daily Deals
 
Customer Profiling For Rural Financial Services
Customer Profiling For Rural Financial ServicesCustomer Profiling For Rural Financial Services
Customer Profiling For Rural Financial Services
 
Telecom Fraud Detection - Naive Bayes Classification
Telecom Fraud Detection - Naive Bayes ClassificationTelecom Fraud Detection - Naive Bayes Classification
Telecom Fraud Detection - Naive Bayes Classification
 
Linear Regression using R
Linear Regression using RLinear Regression using R
Linear Regression using R
 
Elementary School Performance (SAS Regression Analysis)
Elementary School Performance (SAS Regression Analysis)Elementary School Performance (SAS Regression Analysis)
Elementary School Performance (SAS Regression Analysis)
 
Stock Analyzer Hadoop MapReduce Implementation
Stock Analyzer Hadoop MapReduce ImplementationStock Analyzer Hadoop MapReduce Implementation
Stock Analyzer Hadoop MapReduce Implementation
 
Hospital Market Segmentation using Cluster Analysis
Hospital Market Segmentation using Cluster AnalysisHospital Market Segmentation using Cluster Analysis
Hospital Market Segmentation using Cluster Analysis
 
SAS Medical Case Study - A Comparison Between Ketamine,Clonidine and combinat...
SAS Medical Case Study - A Comparison Between Ketamine,Clonidine and combinat...SAS Medical Case Study - A Comparison Between Ketamine,Clonidine and combinat...
SAS Medical Case Study - A Comparison Between Ketamine,Clonidine and combinat...
 
Maruti Suzuki India Ltd Financial Statement Analysis
Maruti Suzuki India Ltd Financial Statement AnalysisMaruti Suzuki India Ltd Financial Statement Analysis
Maruti Suzuki India Ltd Financial Statement Analysis
 
SBI Home Loan Customer Perception Survey
SBI Home Loan Customer Perception SurveySBI Home Loan Customer Perception Survey
SBI Home Loan Customer Perception Survey
 
Basketball League Sponsorship Proposal
Basketball League Sponsorship ProposalBasketball League Sponsorship Proposal
Basketball League Sponsorship Proposal
 
Bank market classification
Bank market classificationBank market classification
Bank market classification
 

Recently uploaded

standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
ArpitMalhotra16
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
MaleehaSheikh2
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
benishzehra469
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
ewymefz
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
vcaxypu
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
enxupq
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Subhajit Sahu
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
Oppotus
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
ewymefz
 
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape ReportSOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
ewymefz
 
Tabula.io Cheatsheet: automate your data workflows
Tabula.io Cheatsheet: automate your data workflowsTabula.io Cheatsheet: automate your data workflows
Tabula.io Cheatsheet: automate your data workflows
alex933524
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
ewymefz
 
Investigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_CrimesInvestigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_Crimes
StarCompliance.io
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
NABLAS株式会社
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
jerlynmaetalle
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
nscud
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
Opendatabay
 
Jpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization Sample
James Polillo
 

Recently uploaded (20)

standardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghhstandardisation of garbhpala offhgfffghh
standardisation of garbhpala offhgfffghh
 
FP Growth Algorithm and its Applications
FP Growth Algorithm and its ApplicationsFP Growth Algorithm and its Applications
FP Growth Algorithm and its Applications
 
Empowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptxEmpowering Data Analytics Ecosystem.pptx
Empowering Data Analytics Ecosystem.pptx
 
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
一比一原版(UPenn毕业证)宾夕法尼亚大学毕业证成绩单
 
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
一比一原版(RUG毕业证)格罗宁根大学毕业证成绩单
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
 
Q1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year ReboundQ1’2024 Update: MYCI’s Leap Year Rebound
Q1’2024 Update: MYCI’s Leap Year Rebound
 
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
一比一原版(UofM毕业证)明尼苏达大学毕业证成绩单
 
SOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape ReportSOCRadar Germany 2024 Threat Landscape Report
SOCRadar Germany 2024 Threat Landscape Report
 
一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单一比一原版(NYU毕业证)纽约大学毕业证成绩单
一比一原版(NYU毕业证)纽约大学毕业证成绩单
 
Tabula.io Cheatsheet: automate your data workflows
Tabula.io Cheatsheet: automate your data workflowsTabula.io Cheatsheet: automate your data workflows
Tabula.io Cheatsheet: automate your data workflows
 
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单
 
Investigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_CrimesInvestigate & Recover / StarCompliance.io / Crypto_Crimes
Investigate & Recover / StarCompliance.io / Crypto_Crimes
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...The affect of service quality and online reviews on customer loyalty in the E...
The affect of service quality and online reviews on customer loyalty in the E...
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
 
Jpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization SampleJpolillo Amazon PPC - Bid Optimization Sample
Jpolillo Amazon PPC - Bid Optimization Sample
 

Time Series Analysis - Modeling and Forecasting

  • 1. TIME SERIES ANALYSIS Modeling and Forecasting Presented by Vaibhav Jain (A13021) Maruthi Nataraj (A13009) Sunil Kumar (A13020) Punit Kishore (A13011) Arbind Kumar (A13003)
  • 2. AGENDA  Introduction  Objective  Data Preparation  Check for Volatility  Check for Non-Stationarity  Check for Seasonality  Model Identification and Estimation  Forecasting  Graphical Forecast
  • 3. INTRODUCTION  Time Series relates to values taken by a variable over time (such as daily sales revenue, weekly orders, monthly overheads, yearly income) and tabulated or plotted as chronologically ordered numbers or data points to yield valid statistical inferences.  Trend : A Time series data may show steady upward trend or downward movement with little fluctuation for a period of years and this may be due to factors like increase in population, change in technological progress ,large scale shift in consumers demands etc.  Seasonal variations: They are short-term fluctuation in a time series which occur periodically within a year. The major factors that are responsible for the repetitive pattern of seasonal variations are weather conditions and customs of people. Each year more ice creams are sold in summer and very little in Winter season.
  • 4. INTRODUCTION  Cyclical variations : They are recurrent upward or downward movements in a time series but the period of cycle is greater than a year.  Irregular variations : They are fluctuations in time series that are short in duration, erratic in nature and following no regularity in the occurrence(random).
  • 5. OBJECTIVE  The two main objectives of Time Series Analysis are :  To understand the underlying structure of Time Series represented by sequence of observations by breaking it down to its components.  To fit a mathematical model and proceed to forecast the future.  In this study, we have to project the sales for the next 12 months .  The dataset used here is SASHELP.AIR which is Airline data and contains two variables – DATE and AIR( labeled as International Airline Travel). It contains the data from JAN 1949 to DEC 1960.
  • 6. DATA PREPARATION Check for Volatility  The plot of the data with time on horizontal axis and time series on vertical axis provides an indication for volatility.  A fan shaped or an inverted fan shaped plot shows high volatility.  For fan shaped plot, ‘log’ or ‘square root’ transformation is used to reduce volatility ,while for inverted fan shaped plot ,’ exponential’ or ‘square’ transformation is used. (AIR data has been copied to MAIR dataset)
  • 7. DATA PREPARATION Check for Volatility Fan shaped plot indicating the presence of high volatility
  • 8. DATA PREPARATION Check for Volatility After square root transformation
  • 9. DATA PREPARATION Check for Volatility After log transformation ,with reduced volatility (constant variance)
  • 10. DATA PREPARATION Check for Non-Stationarity  If the data is completely random with no fixed pattern, it is called non- stationary data and cannot be used for future forecasting. This is checked by ‘Augmented Dickey-Fuller Unit Root Test’ (ADF).Here,  H0 : Data is non-stationary  If p < alpha, we reject H0 to claim that the data is stationary and hence can be used for forecasting.  If p > alpha, we get non-stationary data which can be converted to stationary by successive differencing.  We can start with first difference (y[t]-y[t-1]) which can obtained using DIF(L_AIR) or L_AIR(1).Similarly, if we need second difference, it is DIF2(L_AIR) .
  • 11. DATA PREPARATION Check for Non-Stationarity
  • 12. DATA PREPARATION Check for Non-Stationarity Non stationary data is converted into stationary by first differencing.
  • 13. DATA PREPARATION Check for Seasonality  The Auto Correlation function (ACF) gives the correlation between y[t]-y[t-s] where ‘s’ is the period of lag.  If the ACF gives high values at fixed interval, that interval can be considered as the period of seasonality. A differencing of same order will deseasonalize the data.  In the previous output of ACF as shown below, we can see that 12 years is period of seasonality.
  • 14. Here, we have deseasonalized data by 12th order differencing as shown above. DATA PREPARATION Check for Seasonality
  • 15. MODEL IDENTIFICATION AND ESTIMATION  Depending upon the number of future time points to be forecasted, we set aside few of the most recent time points data as the validation sample(V). The rest of the data which is the development sample(D), is used to generate forecasts for different models.  MINIC (Minimum Information Criteria) option under PROC ARIMA generates the minimum BIC (Bayesian Information Criteria) Model after exploring all the possible combinations of ‘p’ (Auto Regressive) and ‘q’ (Moving Average) lags from 0 to 5 (default).
  • 16. MODEL IDENTIFICATION AND ESTIMATION  By observation, we can see that the minimum of the matrix is the value -6.3503 corresponding to AR 3 and MA 0 location(i.e. p=3 & q=0).  We consider all the models in the neighborhood of this model and for each of them generate AIC (Akaike Information Criteria) and SBC (Schwartz Bayesian Criteria) and calculate the average of them.  We select the top 6-7 models based on relatively lower value of the average and for each of them generate forecasts. p=0 , q=1
  • 17. MODEL IDENTIFICATION AND ESTIMATION AIC & SBC for all the neighborhood models [ (0,1) to (3,3)] Top 7 models based on lower average value
  • 18. FORECASTING  Forecasts are generated using the FORECAST option in PROC ARIMA.  Here, LEAD = No of future time points to forecast ID = Name of time variable INTERVAL = Unit of time variable OUT = Name of the output file which saves the forecast  The forecasts generated (for 1960 in this case) for each combination selected from AIC & SBC are separately compared with the actual values of the same time point stored in the validation dataset (V) and ‘MAPE’ (Mean Absolute Percentage Error) is calculated.
  • 20. FORECASTING We select the combination (p, q) which has the minimum MAPE and that model is applied on the entire data to generate the final forecast (for 1961). Here, we need to apply Antilog(exp) to get back original data for convenience in comparison.