SlideShare a Scribd company logo
1 of 30
Forecasting U.S
Gasoline Prices:
ARIMA Modeling
Using R
Srinivas KNS
Gasoline (Quick Facts)
 Gasoline or petrol is a transparent, petroleum-
derived liquid that is used primarily as a fuel in
internal combustion engines.
 A 42 gallon Crude produces19 gallons of gasoline
through Fractional Distillation.
 Some of the main components of gasoline:
isooctane, butane, 3-ethyltoluene, and the octane
enhancer MtBE.
Gasoline Consumption in US
 Gasoline accounts for about 66% of all the energy
used for transportation, 47% of all petroleum
consumption, and 17% of total U.S. energy
consumption.
 Consumption in 2010 was about 138 billion gallons,
an average of about 378 million gallons per day.
 63% of the crude oil for Gasoline manufacturing is
imported.
Retail Price of Gasoline and its
components.
Ave retail
price till
2013 is 3.43
Ave retail
price in 2013
is 3.58
Objective of the ANALYSIS
 To Understand Price volatility due supply and
Demand Constraints.
 The study on gasoline price will help to design better
options for pricing mechanism for markets.
 Trend estimates allow the investigation of empirical
regularities that characterize the gasoline markets.
DATA DESCRIPTION
 Data is obtained from U.S Energy Information
Administration (EIA). (Publicly Available data).
 The data set used is U.S. All Grades All Formulations
Retail Gasoline Prices (Dollars per Gallon) prevailing
in the United States since Apr-1993 to November,
2014. In total we have 260 observations.
Data Collection Mechanism
and Policy.
 Every Monday, retail prices for all three grades of
gasoline: regular, midgrade, and premium, are
collected by telephone from a sample of approximately
900 retail gasoline outlets.
 the prices are published by 5:00 P.M. Monday, except
on government holidays, when the data are released
on tuesday (but still represent Monday's price).
 the reported price includes all taxes and is the pump
price paid by a consumer as of 8:00 A.M. Monday.
Variable Description
Variable Name Description
1. time
time series in ts format which runs from
April, 1993 to Nov,2014
2. Gasoline Prices
Monthly prices of gasoline
corresponding to the time
3. Lag value of Gasoline
prices
Monthly prices of gasoline lagged by
one period
4. First difference
Gasoline prices
Monthly prices of gasoline by taking
difference of gp and lgp.
Box Jenkins Methodology
 Box Jenkins Methodology or ARIMA Model – Auto
Regressive Integrated Moving Average Model).
 A Stochastic Modelling Approach.
AR Process.
 Forecast the variable of interest using a linear
combination of past values of the variable.
where et is white noise. et∼ iidN(0,σ2e)
MA Process
 A moving average model uses past forecast errors in a
regression-like model.
where et is white noise.
et∼iidN(0,σ2e)
A Combined ARIMA Model
Model Selection
 Plot the data. Identify any unusual observations.
 If necessary, transform the data (using a Box-Cox transformation) to
stabilize the variance.
 If the data are non-stationary: take first differences of the data until
the data are stationary.
 Examine the ACF/PACF: Is an AR(p) or MA(q) model appropriate?
 Try your chosen model(s), and use the AICc to search for a better
model.
 Check the residuals from your chosen model by plotting the ACF of
the residuals, and doing a portmanteau test of the residuals. If they
do not look like white noise, try a modified model.
 Once the residuals look like white noise, calculate forecasts.
Model Identification Algorithm
Identification
of the model:
•Choosing
tentative p,d,q
Parameter
estimation
•Identification
of AR & MA
Coefficients
Diagnostic
checking
• Are the
estimated
residuals white
noise ?
Forecast
Yes
Stationarity
 Stationary time series is one whose properties do not
depend on the time at which the series is observed.
 There are two methods in order to determine
Stationarity in a time series.
 ACF and PACF Plots
 Unity Root Tests
 Augmented Dicky Fuller test(ADF Test)
 H0 = the data needs to be differenced to make it
stationary
 Ha = the data is stationary and doesn’t need to be
differenced
 Kwiatkowski-Phillips-Schmidt-Shin (KPSS)test
 H0 = observable time series is stationary
 Ha = observable time series is not stationary
Diagnostic Checking
 There are Two ways to check for the
residuals.
 ACF of Residuals to see that there are no
correlations in the residuals
 portmanteau test
 H0: The data are independently distributed
 Ha: The data are not independently distributed.
ACF and PACF Plots
Both Plots Indicate that given Time series is non stationary
Augmented Dicky Fuller Test
Large P –value(>0.05) Indicates that given time series is
not stationary
Kwiatkowski-Phillips-Schmidt-
Shin (KPSS) test
Small P value suggests that the series is not stationary
Observations from the Initial
Analysis.
 Given Time series is not Stationary
 Log Transformation of the series is required
in order to stabilize the variance.
Transformation and Tentative
Model Selection.
 Applying Log Transformation.
 Taking First Difference of the transformed
Data.
 Different models are chosen to minimize
the Aicc values.
Plot and Unity tests of 1st Difference - log
transformed Series
1995 2000 2005 2010 2015
-0.3-0.10.00.1
0 5 10 15 20 25 30 35
-0.20.00.20.4
Lag
ACF
0 5 10 15 20 25 30 35
-0.20.00.20.4
Lag
PACF
Time plot and ACF and PACF plots for
differenced Transformed gasoline price data
Tentative Model Selection
ARIMA(p,d,q) AIC AICC BIC
›ARIMA(1,1,1) -822.45 -822.35 -811.78
›ARIMA(1,1,2) -824.51 -824.36 -810.29
›ARIMA(1,1,3) -829.8 -829.57 -812.02
›ARIMA(2,1,1) -824.69 -824.54 -810.47
›ARIMA(2,1,2) -825.23 -824.99 -807.44
›ARIMA(2,1,3) -828.78 -828.44 -807.43
›ARIMA(3,1,1) -822.77 -822.54 -804.99
›ARIMA(3,1,2) -824.55 -824.22 -803.21
›ARIMA(3,1,3) -826.83 -826.38 -801.93
From the above table we can conclude that
ARIMA(1,1,3) model has least AICC Value hence the best model for
this data.
Final Model
Equation of the Final Model
(1 - 0.68d) (1-d) yt = (1- 0.08d - 0.41d2
- 0.22d3
)et
Model Validation
ACF plot of Residuals Portmanteau test
The given Model Satisfy all the necessary conditions
Forecasts
Conclusion
 ARIMA(1,1,3) reveals significant coefficients for all
lags in the AR process, which basically implies that
gasoline prices in period t are significantly related
with past period gasoline price levels.
 On the other hand error term (MA process) has
also significant coefficients for all (3 in this case)
last period error values. That clearly reveals the
fact that gasoline prices are significantly related to
both the past period price levels and to
unobserved factors.
 This is the fact that has resulted in terms of higher
gasoline prices under forecasting in this analysis.
Discussion

More Related Content

What's hot

Arima model
Arima modelArima model
Arima modelJassika
 
Mba 532 2011_part_3_time_series_analysis
Mba 532 2011_part_3_time_series_analysisMba 532 2011_part_3_time_series_analysis
Mba 532 2011_part_3_time_series_analysisChandra Kodituwakku
 
Lesson 2 stationary_time_series
Lesson 2 stationary_time_seriesLesson 2 stationary_time_series
Lesson 2 stationary_time_seriesankit_ppt
 
Time Series Analysis.pptx
Time Series Analysis.pptxTime Series Analysis.pptx
Time Series Analysis.pptxSunny429247
 
What is ARIMA Forecasting and How Can it Be Used for Enterprise Analysis?
What is ARIMA Forecasting and How Can it Be Used for Enterprise Analysis?What is ARIMA Forecasting and How Can it Be Used for Enterprise Analysis?
What is ARIMA Forecasting and How Can it Be Used for Enterprise Analysis?Smarten Augmented Analytics
 
Time-series Analysis in Minutes
Time-series Analysis in MinutesTime-series Analysis in Minutes
Time-series Analysis in MinutesOrzota
 
Data Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series ForecastingData Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series ForecastingDerek Kane
 
Time series analysis- Part 2
Time series analysis- Part 2Time series analysis- Part 2
Time series analysis- Part 2QuantUniversity
 
Lesson 4 ar-ma
Lesson 4 ar-maLesson 4 ar-ma
Lesson 4 ar-maankit_ppt
 
Time Series, Moving Average
Time Series, Moving AverageTime Series, Moving Average
Time Series, Moving AverageSOMASUNDARAM T
 
Project time series ppt
Project time series pptProject time series ppt
Project time series pptamar patil
 
Time series analysis
Time series analysis Time series analysis
Time series analysis Shivam Dhawan
 
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...Simplilearn
 
TIME SERIES ANALYSIS USING ARIMA MODEL FOR FORECASTING IN R (PRACTICAL)
TIME SERIES ANALYSIS USING ARIMA MODEL FOR FORECASTING IN R (PRACTICAL)TIME SERIES ANALYSIS USING ARIMA MODEL FOR FORECASTING IN R (PRACTICAL)
TIME SERIES ANALYSIS USING ARIMA MODEL FOR FORECASTING IN R (PRACTICAL)Laud Randy Amofah
 

What's hot (20)

Arima model
Arima modelArima model
Arima model
 
Mba 532 2011_part_3_time_series_analysis
Mba 532 2011_part_3_time_series_analysisMba 532 2011_part_3_time_series_analysis
Mba 532 2011_part_3_time_series_analysis
 
ARIMA Models - [Lab 3]
ARIMA Models - [Lab 3]ARIMA Models - [Lab 3]
ARIMA Models - [Lab 3]
 
Lesson 2 stationary_time_series
Lesson 2 stationary_time_seriesLesson 2 stationary_time_series
Lesson 2 stationary_time_series
 
Time Series Analysis.pptx
Time Series Analysis.pptxTime Series Analysis.pptx
Time Series Analysis.pptx
 
What is ARIMA Forecasting and How Can it Be Used for Enterprise Analysis?
What is ARIMA Forecasting and How Can it Be Used for Enterprise Analysis?What is ARIMA Forecasting and How Can it Be Used for Enterprise Analysis?
What is ARIMA Forecasting and How Can it Be Used for Enterprise Analysis?
 
ARIMA
ARIMA ARIMA
ARIMA
 
Time-series Analysis in Minutes
Time-series Analysis in MinutesTime-series Analysis in Minutes
Time-series Analysis in Minutes
 
Seasonal ARIMA
Seasonal ARIMASeasonal ARIMA
Seasonal ARIMA
 
Data Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series ForecastingData Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series Forecasting
 
Time series
Time seriesTime series
Time series
 
Time series analysis- Part 2
Time series analysis- Part 2Time series analysis- Part 2
Time series analysis- Part 2
 
Lesson 4 ar-ma
Lesson 4 ar-maLesson 4 ar-ma
Lesson 4 ar-ma
 
AR model
AR modelAR model
AR model
 
Time Series, Moving Average
Time Series, Moving AverageTime Series, Moving Average
Time Series, Moving Average
 
Project time series ppt
Project time series pptProject time series ppt
Project time series ppt
 
Time series analysis
Time series analysis Time series analysis
Time series analysis
 
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data ...
 
Time series Analysis
Time series AnalysisTime series Analysis
Time series Analysis
 
TIME SERIES ANALYSIS USING ARIMA MODEL FOR FORECASTING IN R (PRACTICAL)
TIME SERIES ANALYSIS USING ARIMA MODEL FOR FORECASTING IN R (PRACTICAL)TIME SERIES ANALYSIS USING ARIMA MODEL FOR FORECASTING IN R (PRACTICAL)
TIME SERIES ANALYSIS USING ARIMA MODEL FOR FORECASTING IN R (PRACTICAL)
 

Viewers also liked

Forecasting with limited data combining arima and diffusion models
Forecasting with limited data combining arima and diffusion modelsForecasting with limited data combining arima and diffusion models
Forecasting with limited data combining arima and diffusion modelshamburg1
 
Intro to Forecasting in R - Part 4
Intro to Forecasting in R - Part 4Intro to Forecasting in R - Part 4
Intro to Forecasting in R - Part 4egoodwintx
 
Time Series Analysis with R
Time Series Analysis with RTime Series Analysis with R
Time Series Analysis with RARCHIT GUPTA
 
Byungchul Yea (Project)
Byungchul Yea (Project)Byungchul Yea (Project)
Byungchul Yea (Project)Byung Chul Yea
 
Forecasting without forecasters
Forecasting without forecastersForecasting without forecasters
Forecasting without forecastersRob Hyndman
 
Steps to arima in r
Steps to arima in rSteps to arima in r
Steps to arima in rSu Ming Koh
 
Webinar: The Whys and Hows of Predictive Modelling
Webinar: The Whys and Hows of Predictive Modelling Webinar: The Whys and Hows of Predictive Modelling
Webinar: The Whys and Hows of Predictive Modelling Edureka!
 
Hybrid neural networks for time series learning by Tian Guo, EPFL, Switzerland
Hybrid neural networks for time series learning by Tian Guo,  EPFL, SwitzerlandHybrid neural networks for time series learning by Tian Guo,  EPFL, Switzerland
Hybrid neural networks for time series learning by Tian Guo, EPFL, SwitzerlandEuroIoTa
 
Gold Price Forecasting
Gold Price ForecastingGold Price Forecasting
Gold Price Forecastingyou wu
 
Demand forecasting by time series analysis
Demand forecasting by time series analysisDemand forecasting by time series analysis
Demand forecasting by time series analysisSunny Gandhi
 
Time Series Analysis - Modeling and Forecasting
Time Series Analysis - Modeling and ForecastingTime Series Analysis - Modeling and Forecasting
Time Series Analysis - Modeling and ForecastingMaruthi Nataraj K
 
Introduction to Deep Learning with TensorFlow
Introduction to Deep Learning with TensorFlowIntroduction to Deep Learning with TensorFlow
Introduction to Deep Learning with TensorFlowTerry Taewoong Um
 
Time Series
Time SeriesTime Series
Time Seriesyush313
 
Time series-mining-slides
Time series-mining-slidesTime series-mining-slides
Time series-mining-slidesYanchang Zhao
 
Time Series Analysis and Mining with R
Time Series Analysis and Mining with RTime Series Analysis and Mining with R
Time Series Analysis and Mining with RYanchang Zhao
 

Viewers also liked (20)

Forecasting with limited data combining arima and diffusion models
Forecasting with limited data combining arima and diffusion modelsForecasting with limited data combining arima and diffusion models
Forecasting with limited data combining arima and diffusion models
 
Intro to Forecasting in R - Part 4
Intro to Forecasting in R - Part 4Intro to Forecasting in R - Part 4
Intro to Forecasting in R - Part 4
 
Time Series Analysis with R
Time Series Analysis with RTime Series Analysis with R
Time Series Analysis with R
 
Arima I
Arima   IArima   I
Arima I
 
Ap mat
Ap matAp mat
Ap mat
 
Byungchul Yea (Project)
Byungchul Yea (Project)Byungchul Yea (Project)
Byungchul Yea (Project)
 
Forecasting without forecasters
Forecasting without forecastersForecasting without forecasters
Forecasting without forecasters
 
Steps to arima in r
Steps to arima in rSteps to arima in r
Steps to arima in r
 
Webinar: The Whys and Hows of Predictive Modelling
Webinar: The Whys and Hows of Predictive Modelling Webinar: The Whys and Hows of Predictive Modelling
Webinar: The Whys and Hows of Predictive Modelling
 
Hybrid neural networks for time series learning by Tian Guo, EPFL, Switzerland
Hybrid neural networks for time series learning by Tian Guo,  EPFL, SwitzerlandHybrid neural networks for time series learning by Tian Guo,  EPFL, Switzerland
Hybrid neural networks for time series learning by Tian Guo, EPFL, Switzerland
 
Gold Price Forecasting
Gold Price ForecastingGold Price Forecasting
Gold Price Forecasting
 
Forecasting6
Forecasting6Forecasting6
Forecasting6
 
Timeseries forecasting
Timeseries forecastingTimeseries forecasting
Timeseries forecasting
 
Demand forecasting by time series analysis
Demand forecasting by time series analysisDemand forecasting by time series analysis
Demand forecasting by time series analysis
 
Time Series Analysis - Modeling and Forecasting
Time Series Analysis - Modeling and ForecastingTime Series Analysis - Modeling and Forecasting
Time Series Analysis - Modeling and Forecasting
 
Introduction to Deep Learning with TensorFlow
Introduction to Deep Learning with TensorFlowIntroduction to Deep Learning with TensorFlow
Introduction to Deep Learning with TensorFlow
 
Time Series
Time SeriesTime Series
Time Series
 
Time series-mining-slides
Time series-mining-slidesTime series-mining-slides
Time series-mining-slides
 
Time Series Analysis and Mining with R
Time Series Analysis and Mining with RTime Series Analysis and Mining with R
Time Series Analysis and Mining with R
 
time series analysis
time series analysistime series analysis
time series analysis
 

Similar to Presentation

Different Models Used In Time Series - InsideAIML
Different Models Used In Time Series - InsideAIMLDifferent Models Used In Time Series - InsideAIML
Different Models Used In Time Series - InsideAIMLVijaySharma802
 
IRJET - Crude Oil Price Forecasting using ARIMA Model
IRJET -  	  Crude Oil Price Forecasting using ARIMA ModelIRJET -  	  Crude Oil Price Forecasting using ARIMA Model
IRJET - Crude Oil Price Forecasting using ARIMA ModelIRJET Journal
 
Lab practice session.pptx
Lab practice session.pptxLab practice session.pptx
Lab practice session.pptxakashayosha
 
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
 
STA457 Assignment Liangkai Hu 999475884
STA457 Assignment Liangkai Hu 999475884STA457 Assignment Liangkai Hu 999475884
STA457 Assignment Liangkai Hu 999475884Liang Kai Hu
 
Forecasting demand for petroleum products in ghana using time series models
Forecasting demand for petroleum products in ghana using time series modelsForecasting demand for petroleum products in ghana using time series models
Forecasting demand for petroleum products in ghana using time series modelsAlexander Decker
 
Paper Presentation Mohan Kumar
Paper Presentation Mohan KumarPaper Presentation Mohan Kumar
Paper Presentation Mohan Kumarvenkatesan g
 
Machine Learning Foundations Project Presentation
Machine Learning Foundations Project PresentationMachine Learning Foundations Project Presentation
Machine Learning Foundations Project PresentationAmit J Bhattacharyya
 
Stochastic Model-Based Analysis of Energy Consumption in a Rail Road Switch ...
Stochastic  Model-Based Analysis of Energy Consumption in a Rail Road Switch ...Stochastic  Model-Based Analysis of Energy Consumption in a Rail Road Switch ...
Stochastic Model-Based Analysis of Energy Consumption in a Rail Road Switch ...Davide Basile
 
Measuring the volatility in ghana’s gross domestic product (gdp) rate using t...
Measuring the volatility in ghana’s gross domestic product (gdp) rate using t...Measuring the volatility in ghana’s gross domestic product (gdp) rate using t...
Measuring the volatility in ghana’s gross domestic product (gdp) rate using t...Alexander Decker
 
Predictive Modeling of Neutron Activation Analysis of Spent Nuclear Fuel for ...
Predictive Modeling of Neutron Activation Analysis of Spent Nuclear Fuel for ...Predictive Modeling of Neutron Activation Analysis of Spent Nuclear Fuel for ...
Predictive Modeling of Neutron Activation Analysis of Spent Nuclear Fuel for ...Raul Palomares
 
How Reliable is Duality Theory in Empirical Work?
How Reliable is Duality Theory in Empirical Work?How Reliable is Duality Theory in Empirical Work?
How Reliable is Duality Theory in Empirical Work?contenidos-ort
 
Performance comparison of automatic peak detection for signal analyser
Performance comparison of automatic peak detection for signal analyserPerformance comparison of automatic peak detection for signal analyser
Performance comparison of automatic peak detection for signal analyserjournalBEEI
 
Short-Term Load Forecasting Using ARIMA Model For Karnataka State Electrical ...
Short-Term Load Forecasting Using ARIMA Model For Karnataka State Electrical ...Short-Term Load Forecasting Using ARIMA Model For Karnataka State Electrical ...
Short-Term Load Forecasting Using ARIMA Model For Karnataka State Electrical ...IJERDJOURNAL
 

Similar to Presentation (20)

Crude Oil Levy
Crude Oil LevyCrude Oil Levy
Crude Oil Levy
 
Different Models Used In Time Series - InsideAIML
Different Models Used In Time Series - InsideAIMLDifferent Models Used In Time Series - InsideAIML
Different Models Used In Time Series - InsideAIML
 
IRJET - Crude Oil Price Forecasting using ARIMA Model
IRJET -  	  Crude Oil Price Forecasting using ARIMA ModelIRJET -  	  Crude Oil Price Forecasting using ARIMA Model
IRJET - Crude Oil Price Forecasting using ARIMA Model
 
Lab practice session.pptx
Lab practice session.pptxLab practice session.pptx
Lab practice session.pptx
 
Time Series proj final
Time Series proj finalTime Series proj final
Time Series proj final
 
Ascoli et al. 2014 ICFFR
Ascoli et al. 2014 ICFFRAscoli et al. 2014 ICFFR
Ascoli et al. 2014 ICFFR
 
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...
 
STA457 Assignment Liangkai Hu 999475884
STA457 Assignment Liangkai Hu 999475884STA457 Assignment Liangkai Hu 999475884
STA457 Assignment Liangkai Hu 999475884
 
Forecasting demand for petroleum products in ghana using time series models
Forecasting demand for petroleum products in ghana using time series modelsForecasting demand for petroleum products in ghana using time series models
Forecasting demand for petroleum products in ghana using time series models
 
ARIMA.pptx
ARIMA.pptxARIMA.pptx
ARIMA.pptx
 
Paper Presentation Mohan Kumar
Paper Presentation Mohan KumarPaper Presentation Mohan Kumar
Paper Presentation Mohan Kumar
 
Machine Learning Foundations Project Presentation
Machine Learning Foundations Project PresentationMachine Learning Foundations Project Presentation
Machine Learning Foundations Project Presentation
 
Stochastic Model-Based Analysis of Energy Consumption in a Rail Road Switch ...
Stochastic  Model-Based Analysis of Energy Consumption in a Rail Road Switch ...Stochastic  Model-Based Analysis of Energy Consumption in a Rail Road Switch ...
Stochastic Model-Based Analysis of Energy Consumption in a Rail Road Switch ...
 
Measuring the volatility in ghana’s gross domestic product (gdp) rate using t...
Measuring the volatility in ghana’s gross domestic product (gdp) rate using t...Measuring the volatility in ghana’s gross domestic product (gdp) rate using t...
Measuring the volatility in ghana’s gross domestic product (gdp) rate using t...
 
Predictive Modeling of Neutron Activation Analysis of Spent Nuclear Fuel for ...
Predictive Modeling of Neutron Activation Analysis of Spent Nuclear Fuel for ...Predictive Modeling of Neutron Activation Analysis of Spent Nuclear Fuel for ...
Predictive Modeling of Neutron Activation Analysis of Spent Nuclear Fuel for ...
 
Case Study
Case StudyCase Study
Case Study
 
How Reliable is Duality Theory in Empirical Work?
How Reliable is Duality Theory in Empirical Work?How Reliable is Duality Theory in Empirical Work?
How Reliable is Duality Theory in Empirical Work?
 
Performance comparison of automatic peak detection for signal analyser
Performance comparison of automatic peak detection for signal analyserPerformance comparison of automatic peak detection for signal analyser
Performance comparison of automatic peak detection for signal analyser
 
Short-Term Load Forecasting Using ARIMA Model For Karnataka State Electrical ...
Short-Term Load Forecasting Using ARIMA Model For Karnataka State Electrical ...Short-Term Load Forecasting Using ARIMA Model For Karnataka State Electrical ...
Short-Term Load Forecasting Using ARIMA Model For Karnataka State Electrical ...
 
ETW3410 Assignment 2 final draft ex5
ETW3410 Assignment 2 final draft ex5ETW3410 Assignment 2 final draft ex5
ETW3410 Assignment 2 final draft ex5
 

Recently uploaded

꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Callshivangimorya083
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改atducpo
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998YohFuh
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...Suhani Kapoor
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdfHuman37
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...soniya singh
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxFurkanTasci3
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一F sss
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...dajasot375
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home ServiceSapana Sha
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPramod Kumar Srivastava
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts ServiceSapana Sha
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 

Recently uploaded (20)

꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
꧁❤ Greater Noida Call Girls Delhi ❤꧂ 9711199171 ☎️ Hard And Sexy Vip Call
 
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
代办国外大学文凭《原版美国UCLA文凭证书》加州大学洛杉矶分校毕业证制作成绩单修改
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998RA-11058_IRR-COMPRESS Do 198 series of 1998
RA-11058_IRR-COMPRESS Do 198 series of 1998
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
VIP High Profile Call Girls Amravati Aarushi 8250192130 Independent Escort Se...
 
20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf20240419 - Measurecamp Amsterdam - SAM.pdf
20240419 - Measurecamp Amsterdam - SAM.pdf
 
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
High Class Call Girls Noida Sector 39 Aarushi 🔝8264348440🔝 Independent Escort...
 
Data Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptxData Science Jobs and Salaries Analysis.pptx
Data Science Jobs and Salaries Analysis.pptx
 
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
办理学位证中佛罗里达大学毕业证,UCF成绩单原版一比一
 
Decoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in ActionDecoding Loan Approval: Predictive Modeling in Action
Decoding Loan Approval: Predictive Modeling in Action
 
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
Deep Generative Learning for All - The Gen AI Hype (Spring 2024)
 
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
Indian Call Girls in Abu Dhabi O5286O24O8 Call Girls in Abu Dhabi By Independ...
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service
 
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptxPKS-TGC-1084-630 - Stage 1 Proposal.pptx
PKS-TGC-1084-630 - Stage 1 Proposal.pptx
 
Call Girls In Mahipalpur O9654467111 Escorts Service
Call Girls In Mahipalpur O9654467111  Escorts ServiceCall Girls In Mahipalpur O9654467111  Escorts Service
Call Girls In Mahipalpur O9654467111 Escorts Service
 
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
VIP Call Girls Service Charbagh { Lucknow Call Girls Service 9548273370 } Boo...
 
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
(PARI) Call Girls Wanowrie ( 7001035870 ) HI-Fi Pune Escorts Service
 

Presentation

  • 1. Forecasting U.S Gasoline Prices: ARIMA Modeling Using R Srinivas KNS
  • 2. Gasoline (Quick Facts)  Gasoline or petrol is a transparent, petroleum- derived liquid that is used primarily as a fuel in internal combustion engines.  A 42 gallon Crude produces19 gallons of gasoline through Fractional Distillation.  Some of the main components of gasoline: isooctane, butane, 3-ethyltoluene, and the octane enhancer MtBE.
  • 3. Gasoline Consumption in US  Gasoline accounts for about 66% of all the energy used for transportation, 47% of all petroleum consumption, and 17% of total U.S. energy consumption.  Consumption in 2010 was about 138 billion gallons, an average of about 378 million gallons per day.  63% of the crude oil for Gasoline manufacturing is imported.
  • 4. Retail Price of Gasoline and its components. Ave retail price till 2013 is 3.43 Ave retail price in 2013 is 3.58
  • 5. Objective of the ANALYSIS  To Understand Price volatility due supply and Demand Constraints.  The study on gasoline price will help to design better options for pricing mechanism for markets.  Trend estimates allow the investigation of empirical regularities that characterize the gasoline markets.
  • 6. DATA DESCRIPTION  Data is obtained from U.S Energy Information Administration (EIA). (Publicly Available data).  The data set used is U.S. All Grades All Formulations Retail Gasoline Prices (Dollars per Gallon) prevailing in the United States since Apr-1993 to November, 2014. In total we have 260 observations.
  • 7. Data Collection Mechanism and Policy.  Every Monday, retail prices for all three grades of gasoline: regular, midgrade, and premium, are collected by telephone from a sample of approximately 900 retail gasoline outlets.  the prices are published by 5:00 P.M. Monday, except on government holidays, when the data are released on tuesday (but still represent Monday's price).  the reported price includes all taxes and is the pump price paid by a consumer as of 8:00 A.M. Monday.
  • 8. Variable Description Variable Name Description 1. time time series in ts format which runs from April, 1993 to Nov,2014 2. Gasoline Prices Monthly prices of gasoline corresponding to the time 3. Lag value of Gasoline prices Monthly prices of gasoline lagged by one period 4. First difference Gasoline prices Monthly prices of gasoline by taking difference of gp and lgp.
  • 9. Box Jenkins Methodology  Box Jenkins Methodology or ARIMA Model – Auto Regressive Integrated Moving Average Model).  A Stochastic Modelling Approach.
  • 10. AR Process.  Forecast the variable of interest using a linear combination of past values of the variable. where et is white noise. et∼ iidN(0,σ2e)
  • 11. MA Process  A moving average model uses past forecast errors in a regression-like model. where et is white noise. et∼iidN(0,σ2e)
  • 13. Model Selection  Plot the data. Identify any unusual observations.  If necessary, transform the data (using a Box-Cox transformation) to stabilize the variance.  If the data are non-stationary: take first differences of the data until the data are stationary.  Examine the ACF/PACF: Is an AR(p) or MA(q) model appropriate?  Try your chosen model(s), and use the AICc to search for a better model.  Check the residuals from your chosen model by plotting the ACF of the residuals, and doing a portmanteau test of the residuals. If they do not look like white noise, try a modified model.  Once the residuals look like white noise, calculate forecasts.
  • 14. Model Identification Algorithm Identification of the model: •Choosing tentative p,d,q Parameter estimation •Identification of AR & MA Coefficients Diagnostic checking • Are the estimated residuals white noise ? Forecast Yes
  • 15. Stationarity  Stationary time series is one whose properties do not depend on the time at which the series is observed.  There are two methods in order to determine Stationarity in a time series.  ACF and PACF Plots  Unity Root Tests  Augmented Dicky Fuller test(ADF Test)  H0 = the data needs to be differenced to make it stationary  Ha = the data is stationary and doesn’t need to be differenced  Kwiatkowski-Phillips-Schmidt-Shin (KPSS)test  H0 = observable time series is stationary  Ha = observable time series is not stationary
  • 16. Diagnostic Checking  There are Two ways to check for the residuals.  ACF of Residuals to see that there are no correlations in the residuals  portmanteau test  H0: The data are independently distributed  Ha: The data are not independently distributed.
  • 17.
  • 18. ACF and PACF Plots Both Plots Indicate that given Time series is non stationary
  • 19. Augmented Dicky Fuller Test Large P –value(>0.05) Indicates that given time series is not stationary
  • 20. Kwiatkowski-Phillips-Schmidt- Shin (KPSS) test Small P value suggests that the series is not stationary
  • 21. Observations from the Initial Analysis.  Given Time series is not Stationary  Log Transformation of the series is required in order to stabilize the variance.
  • 22. Transformation and Tentative Model Selection.  Applying Log Transformation.  Taking First Difference of the transformed Data.  Different models are chosen to minimize the Aicc values.
  • 23. Plot and Unity tests of 1st Difference - log transformed Series
  • 24. 1995 2000 2005 2010 2015 -0.3-0.10.00.1 0 5 10 15 20 25 30 35 -0.20.00.20.4 Lag ACF 0 5 10 15 20 25 30 35 -0.20.00.20.4 Lag PACF Time plot and ACF and PACF plots for differenced Transformed gasoline price data
  • 25. Tentative Model Selection ARIMA(p,d,q) AIC AICC BIC ›ARIMA(1,1,1) -822.45 -822.35 -811.78 ›ARIMA(1,1,2) -824.51 -824.36 -810.29 ›ARIMA(1,1,3) -829.8 -829.57 -812.02 ›ARIMA(2,1,1) -824.69 -824.54 -810.47 ›ARIMA(2,1,2) -825.23 -824.99 -807.44 ›ARIMA(2,1,3) -828.78 -828.44 -807.43 ›ARIMA(3,1,1) -822.77 -822.54 -804.99 ›ARIMA(3,1,2) -824.55 -824.22 -803.21 ›ARIMA(3,1,3) -826.83 -826.38 -801.93 From the above table we can conclude that ARIMA(1,1,3) model has least AICC Value hence the best model for this data.
  • 26. Final Model Equation of the Final Model (1 - 0.68d) (1-d) yt = (1- 0.08d - 0.41d2 - 0.22d3 )et
  • 27. Model Validation ACF plot of Residuals Portmanteau test The given Model Satisfy all the necessary conditions
  • 29. Conclusion  ARIMA(1,1,3) reveals significant coefficients for all lags in the AR process, which basically implies that gasoline prices in period t are significantly related with past period gasoline price levels.  On the other hand error term (MA process) has also significant coefficients for all (3 in this case) last period error values. That clearly reveals the fact that gasoline prices are significantly related to both the past period price levels and to unobserved factors.  This is the fact that has resulted in terms of higher gasoline prices under forecasting in this analysis.