IDEAS home Printed from
   My bibliography  Save this article

A generalized pattern matching approach for multi-step prediction of crude oil price


  • Fan, Ying
  • Liang, Qiang
  • Wei, Yi-Ming


This paper applies pattern matching technique to multi-step prediction of crude oil prices and proposes a new approach: generalized pattern matching based on genetic algorithm (GPMGA), which can be used to forecast future crude oil price based on historical observations. This approach can detect the most similar pattern in contemporary crude oil prices from the historical data. Based on the similar historical pattern, a multi-step prediction of future crude oil prices can be figured out. In GPMGA modeling process, the traditional pattern matching is not directly employed. Historical data is transformed to larger or smaller scales in the x-axis and the y-axis directions, so that a generalized price pattern reflecting current price movement can be obtained. This treatment overcomes the local deficiency of the traditional pattern modeling in recognition system approach (PMRS), and in addition to this, a matched historical pattern in a larger pattern size can be found. Since the approach takes not only historical similarities but also differences into account, the concept of "generalized pattern matching" is proposed here. It proves a new basis for multi-step prediction by finding out more essential similarities through various transformations. The related empirical study is constructed for a one-month forecasting of the Brent and WTI crude oil prices, and satisfying forecasting results are attained. At the end, comparisons with some other time series prediction approaches, such as PMRS and Elman network, demonstrate the effectiveness and superiority of GPMGA over others.

Suggested Citation

  • Fan, Ying & Liang, Qiang & Wei, Yi-Ming, 2008. "A generalized pattern matching approach for multi-step prediction of crude oil price," Energy Economics, Elsevier, vol. 30(3), pages 889-904, May.
  • Handle: RePEc:eee:eneeco:v:30:y:2008:i:3:p:889-904

    Download full text from publisher

    File URL:
    Download Restriction: Full text for ScienceDirect subscribers only

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    1. Moosa, Imad A. & Al-Loughani, Nabeel E., 1994. "Unbiasedness and time varying risk premia in the crude oil futures market," Energy Economics, Elsevier, vol. 16(2), pages 99-105, April.
    2. Robinson, Peter M. & Yajima, Yoshihiro, 2002. "Determination of cointegrating rank in fractional systems," Journal of Econometrics, Elsevier, vol. 106(2), pages 217-241, February.
    3. Gulen, S. Gurcan, 1998. "Efficiency in the crude oil futures market," Journal of Energy Finance & Development, Elsevier, vol. 3(1), pages 13-21.
    4. Abramson, Bruce & Finizza, Anthony, 1995. "Probabilistic forecasts from probabilistic models: A case study in the oil market," International Journal of Forecasting, Elsevier, vol. 11(1), pages 63-72, March.
    5. Alvarez-Ramirez, Jose & Cisneros, Myriam & Ibarra-Valdez, Carlos & Soriano, Angel, 2002. "Multifractal Hurst analysis of crude oil prices," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 313(3), pages 651-670.
    6. Fong, Wai Mun & See, Kim Hock, 2002. "A Markov switching model of the conditional volatility of crude oil futures prices," Energy Economics, Elsevier, vol. 24(1), pages 71-95, January.
    7. Bernabe, Araceli & Martina, Esteban & Alvarez-Ramirez, Jose & Ibarra-Valdez, Carlos, 2004. "A multi-model approach for describing crude oil price dynamics," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 338(3), pages 567-584.
    8. Adrangi, Bahram & Chatrath, Arjun & Dhanda, Kanwalroop Kathy & Raffiee, Kambiz, 2001. "Chaos in oil prices? Evidence from futures markets," Energy Economics, Elsevier, vol. 23(4), pages 405-425, July.
    9. repec:kap:iaecre:v:12:y:2006:i:3:p:390-394 is not listed on IDEAS
    10. Ye, Michael & Zyren, John & Shore, Joanne, 2006. "Forecasting short-run crude oil price using high- and low-inventory variables," Energy Policy, Elsevier, vol. 34(17), pages 2736-2743, November.
    11. Ye, Michael & Zyren, John & Shore, Joanne, 2005. "A monthly crude oil spot price forecasting model using relative inventories," International Journal of Forecasting, Elsevier, vol. 21(3), pages 491-501.
    12. Gil-Alana, Luis A., 2001. "A fractionally integrated model with a mean shift for the US and the UK real oil prices," Economic Modelling, Elsevier, vol. 18(4), pages 643-658, December.
    13. Alvarez-Ramirez, Jose & Soriano, Angel & Cisneros, Myriam & Suarez, Rodolfo, 2003. "Symmetry/anti-symmetry phase transitions in crude oil markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 322(C), pages 583-596.
    14. Zhang, Guoqiang & Eddy Patuwo, B. & Y. Hu, Michael, 1998. "Forecasting with artificial neural networks:: The state of the art," International Journal of Forecasting, Elsevier, vol. 14(1), pages 35-62, March.
    15. Sadorsky, Perry, 2006. "Modeling and forecasting petroleum futures volatility," Energy Economics, Elsevier, vol. 28(4), pages 467-488, July.
    16. Abramson, Bruce & Finizza, Anthony, 1991. "Using belief networks to forecast oil prices," International Journal of Forecasting, Elsevier, vol. 7(3), pages 299-315, November.
    17. Tang, Linghui & Hammoudeh, Shawkat, 2002. "An empirical exploration of the world oil price under the target zone model," Energy Economics, Elsevier, vol. 24(6), pages 577-596, November.
    18. Panas, Epaminondas & Ninni, Vassilia, 2000. "Are oil markets chaotic? A non-linear dynamic analysis," Energy Economics, Elsevier, vol. 22(5), pages 549-568, October.
    Full references (including those not matched with items on IDEAS)


    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.

    Cited by:

    1. Almaraz-Rodríguez, Ignacio, 2016. "Crisis económica y financiera en México: causas y efectos multifactoriales," Panorama Económico, Escuela Superior de Economía, Instituto Politécnico Nacional, vol. 0(44), pages 63-81, primer se.
    2. He, Kaijian & Yu, Lean & Lai, Kin Keung, 2012. "Crude oil price analysis and forecasting using wavelet decomposed ensemble model," Energy, Elsevier, vol. 46(1), pages 564-574.
    3. Ortiz-Cruz, Alejandro & Rodriguez, Eduardo & Ibarra-Valdez, Carlos & Alvarez-Ramirez, Jose, 2012. "Efficiency of crude oil markets: Evidences from informational entropy analysis," Energy Policy, Elsevier, vol. 41(C), pages 365-373.
    4. Xiong, Tao & Bao, Yukun & Hu, Zhongyi, 2013. "Beyond one-step-ahead forecasting: Evaluation of alternative multi-step-ahead forecasting models for crude oil prices," Energy Economics, Elsevier, vol. 40(C), pages 405-415.
    5. Yu, Shiwei & Zhang, Junjie & Zheng, Shuhong & Sun, Han, 2015. "Provincial carbon intensity abatement potential estimation in China: A PSO–GA-optimized multi-factor environmental learning curve method," Energy Policy, Elsevier, vol. 77(C), pages 46-55.
    6. Zhang, Jin-Liang & Zhang, Yue-Jun & Zhang, Lu, 2015. "A novel hybrid method for crude oil price forecasting," Energy Economics, Elsevier, vol. 49(C), pages 649-659.
    7. García-Carranco, Sergio M. & Bory-Reyes, Juan & Balankin, Alexander S., 2016. "The crude oil price bubbling and universal scaling dynamics of price volatility," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 452(C), pages 60-68.
    8. Wang, Tao & Yang, Jian, 2010. "Nonlinearity and intraday efficiency tests on energy futures markets," Energy Economics, Elsevier, vol. 32(2), pages 496-503, March.
    9. Baruník, Jozef & Malinská, Barbora, 2016. "Forecasting the term structure of crude oil futures prices with neural networks," Applied Energy, Elsevier, vol. 164(C), pages 366-379.
    10. Ghaffari, Ali & Zare, Samaneh, 2009. "A novel algorithm for prediction of crude oil price variation based on soft computing," Energy Economics, Elsevier, vol. 31(4), pages 531-536, July.
    11. Yu, Lean & Wang, Zishu & Tang, Ling, 2015. "A decomposition–ensemble model with data-characteristic-driven reconstruction for crude oil price forecasting," Applied Energy, Elsevier, vol. 156(C), pages 251-267.
    12. Cheong, Chin Wen, 2009. "Modeling and forecasting crude oil markets using ARCH-type models," Energy Policy, Elsevier, vol. 37(6), pages 2346-2355, June.
    13. Mostafa, Mohamed M. & El-Masry, Ahmed A., 2016. "Oil price forecasting using gene expression programming and artificial neural networks," Economic Modelling, Elsevier, vol. 54(C), pages 40-53.
    14. Yuan, Ying & Zhuang, Xin-tian & Liu, Zhi-ying & Huang, Wei-qiang, 2014. "Analysis of the temporal properties of price shock sequences in crude oil markets," Physica A: Statistical Mechanics and its Applications, Elsevier, vol. 394(C), pages 235-246.
    15. Trapero, Juan R. & Pedregal, Diego J., 2009. "Frequency domain methods applied to forecasting electricity markets," Energy Economics, Elsevier, vol. 31(5), pages 727-735, September.
    16. Zhang, Xun & Yu, Lean & Wang, Shouyang & Lai, Kin Keung, 2009. "Estimating the impact of extreme events on crude oil price: An EMD-based event analysis method," Energy Economics, Elsevier, vol. 31(5), pages 768-778, September.
    17. Sylvie Geisendorf, 2011. "Internal selection and market selection in economic Genetic Algorithms," Journal of Evolutionary Economics, Springer, vol. 21(5), pages 817-841, December.

    More about this item


    Access and download statistics


    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:eee:eneeco:v:30:y:2008:i:3:p:889-904. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Dana Niculescu). General contact details of provider: .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.