# Sequential Monte Carlo Filters with Parameters Learning for Commodity Pricing Models

• Saba Infante Yachay Tech University
• Luis Sánchez universidad de carabobo
• Aracelis Hernández University of Carabobo
• José Marcano University of Carabobo
Keywords: Stochastic Models, Schwartz Single-Factor Model, Heston Model, Parameter Learning Algorithm, Commodities Pricess.

### Abstract

In this article, an estimation methodology based on the sequential Monte Carlo algorithm is proposed, thatjointly estimate the states and parameters, the relationship between the prices of futures contracts and the spot prices of primary products is determined, the evolution of prices and the volatility of the historical data of the primary market (Gold and Soybean) are analyzed. Two stochastic models for an estimate the states and parameters are considered, the parameters and states describe physical measure (associated with the price) and risk-neutral measure (associated with the markets to futures), the price dynamics in the short-term through the reversion to the mean and volatility are determined, while that in the long term through markets to futures. Other characteristics such as seasonal patterns, price spikes, market dependent volatilities, and non-seasonality can also be observed. In the methodology, a parameter learning algorithm is used, specifically, three algorithms are proposed, that is the sequential Monte Carlo estimation (SMC) for state space modelswith unknown parameters: the first method is considered a particle filter that is based on the sampling algorithm of sequential importance with resampling (SISR). The second implemented method is the Storvik algorithm [19], the states and parameters of the posterior distribution are estimated that have supported in low-dimensional spaces, a sufficient statistics from the sample of the filtered distribution is considered. The third method is (PLS) Carvalho's Particle Learning and Smoothing algorithm [31]. The cash prices of the contracts with future delivery dates are analyzed. The results indicate postponement of payment, the future prices on different maturity dates with the spot price are highly correlated. Likewise, the contracts with a delivery date for the last periods of the year 2017, the spot price lower than the prices of the contracts with expiration date for 12 and 24 months is found, opposite occurs in the contracts with expiration date for 1 and 6 months.

### References

Abrao Roriz A. Calibration of the schwartz-smith model for commodity prices. Reporte Tecnico Instituto de Matematica Pura y Aplicada (IMPA) Brasil, 2010.

Doucet A. Johansen A. A tutorial on particle filtering and smoothing: fifteen years later. In The Oxford Handbook of Nonlinear Filtering (D. Crisan and B. Rozovsky eds. Oxford University Press, 2011.

Gargano A. Timmermann A. Predictive dynamics in commodity prices. University of California and CREATES. San Diego. USA and Denmark, 2012. Statistics Opt. Inform. Comput. Vol. x, Month 201x.

Infante S. Gomez E. Sánchez L. Hernández A. An estimation of the industrial production dynamic in the mercosur countries using the markov switching model. Revista Electrónica de Comunicaciones y Trabajos de ASEPUMA. Rect@, 20, 2019.

Infante S. Luna C. Sánchez L. Hernández A. Estimation of stochastic volatility models using optimized filtering algorithms. Austrian Journal of Statistics, Austrian Journal of Statistics, 48, 2019.

Pirrong C. Commodity price dynamics: A structural approach. Cambridge MA: Cambridge University Press, 2012.

Power G. Turvey C. On term structure models of commodity futures prices and the kaldor-working hypothesis. Proceedings of the NCCC 􀀀 134: Conference on Applied Commodity Price., 2008.

Creal D. A survey of sequential monte carlo methods for economics and finance. Econ Rev, 31(3), 2012.

Delle Chiaie S. Ferrara L. Giannone D. Common factors of commodity prices. Working Paper Series, (2112), 2017.

Goodwin D. Schwartz-smitht two-factor model in the copper market: before and after the new market dynamics. Master Thesis: NEKN02, 2013.

Brennan M. Schwartz E. Evaluating natural resource investments. Journal of Business, 58, 1985.

Cortazar G. Kovacevic I. Schawartz E. Expected commodity returns and precing models. Energy Economics, 2015.

Cortazar G. Millard C. Ortega H. Schwartz E. Commodity price forecasts. futures prices and pricing models. NBER Working Paper, (22991), 2017.

Gibson R. Schwartz E. Stochastic convenience yield and the pricing of oil contingent claims. Journal of Finance, 45, 1990.

Schwartz E. The stochastic behavior of commodity prices: implications for valuation and hedging. Journal of Finance, 52(3), 1997.

\$emptyset\$ksendal B. Stochastic differential equation. Introduction with Applications. 6th edn. Universitext. Springer. Berlin., 2003.

Estévez G. Infante S. Sáez F. Estimation of general equilibium model in dynamic economies using markov chain monte carlo methods. Revista de Matemática Teoría y Aplicaciones, 19(1), 2012.

Miazhynskaia T. Fruhwirth-Schnatter S. Dorffner G. Bayesian testing for non-linearity in volatility modeling. Comput Stat Data Anal, 51, 2006.

Storvik G. Particle filters for state space models with the presence of unknown static parameters. IEEE Transactions on Signal Processing, 50(2), 2002.

Yang B. Stroud J. Huerta G. Sequential monte carlo smoothing with parameter estimation. Bayesian Analysis, 13(4), 2018.

Schwartz E. Smith J. Short-term variations and long-term dynamics in commodity prices. Manage. Sci., 46(7), 2000.

Yang S. Lee J. Predicting a distribution of implied volatilities for option pricing. Expert Syst Appl, 38, 2011.

Chronopoulou A. Spiliopoulos K. Sequential monte carlo with parameter learning for non-markovian statespace models. arXiv[Stat.ME], (1508.02651v1), 2015.

Chronopoulou A. Spiliopoulos K. Sequential monte carlo for fractional stochastic volatility models. arXiv[Stat.ME], (1508.02651v2), 2017.

Fama E. French K. Commodity futures prices: some evidence on forecast power, premiums, and the theory of storage. Journal of Business, 60(1), 1987.

Telser L. Futures trading and the storoge of cotton and wheat. Journal of Political Economy, 66, 1958.

Brennan M. The supply of storage. American Economic Review, 48, 1958.

Brooks C. Prokopckuk M. The dynamics of commodity prices. ICMA Centre Discussion Papers in Finance, (DP2011-09), 2011.

Liu J. West M. Combining parameter and state estimation in simulation-based filtering. In Sequential Monte Carlo Methods in Practice, 82(10), 2003.

Ticlavilca A. Feuz D. Mckee M. Forecasting agricultural commodity prices using multivariate bayesian machine learning regression. Proceedings of the NCCC 􀀀 134. Conference on Applied Commodity Price Analysis. Forecasting. and Market Risk Management. St. Louis MO., 2010.

Carvalho C. Johannes M. Lopes H. Polson N. Particle learning and smoothing. Statistical Science, 25(1), 2010.

Kaldor N. Speculation and economic stability. Review Economic Studies, 7, 1939.

Bjerksund P. Contingent claims evaluation when the convenience yield is stochastic: Analytical results. Norwegian School of Economics and Business Administration. Department of Finance and Management Science, 1991.

Andrieu C. Doucet A. Holenstein R. Particle markov chain monte carlo methods. Journal of the Royal Statistical Society B., 72(3), 2010.

Heston S. A closed form solution for options with stochastic volatility with applications to bond and currency options. Review of Financial Studies, 6, 1993.

Trosel Y. Hernández A. Infante S. Estimación de modelos de volatilidad estocástica vía filtro auxiliar de partículas. Revista de Matematica: Teoria y Aplicaciones, 26(1), 2019.

Laby W. Modeling and forecasting primary commodity prices. London: Routledge, 2017.

Jin X. Does the futures price help forecast the spot price. Discussion Paper in Economics, (16-8), 2016.

Ishihara T. Omori Y. Efficient bayesian estimation of a multivariate stochastic volatility model with cross leverage and heavy-tailed errors. Comput Stat Data Anal, 56(11), 2012.

Published
2021-06-22
How to Cite
Infante, S., Sánchez, L., Hernández, A., & Marcano, J. (2021). Sequential Monte Carlo Filters with Parameters Learning for Commodity Pricing Models. Statistics, Optimization & Information Computing, 9(3), 694-716. https://doi.org/10.19139/soic-2310-5070-814
Issue
Section
Research Articles