PDSim: A Shiny App for Simulating and Estimating Polynomial Diffusion Models in Commodity Futures

PDSim is an R package that enables users to simulate commodity futures prices using the polynomial diffusion model introduced in Filipović and Larsson [10] through both a Shiny web application and R scripts. For user-supplied data, a standalone R routine has been developed to provide joint estimation of state variables and model parameters via the Extended Kalman Filter (EKF) or Unscented Kalman Filter (UKF). With its user-friendly interface, PDSim makes the features of simulations and estimations accessible. To date, it is the only package specifically designed for the simulation and estimation of the polynomial diffusion model. The Schwartz-Smith two-factor model [22] is also available within this package for both simulation and calibration. The package is validated through several tests, including replication of the results in [22], unit testing of the coverage rate, and verification of the outputs of the main functions.

Authors

Institutions

Publication Details

Journal
Journal of Open Research Software
Published
2025-01-01
DOI
https://doi.org/10.5334/jors.537
Primary Topic
Market Dynamics and Volatility
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

PDSim: A Shiny App for Simulating and Estimating Polynomial Diffusion Models in Commodity Futures

Nino Kordzakhia, Peilun He, Pavel V. Shevchenko, Gareth W. Peters
Journal of Open Research Software
Market Dynamics and Volatility
article

PDSim: A Shiny App for Simulating and Estimating Polynomial Diffusion Models in Commodity Futures

Nino Kordzakhia, Peilun He, Pavel V. Shevchenko, Gareth W. Peters
article en

Abstract

PDSim is an R package that enables users to simulate commodity futures prices using the polynomial diffusion model introduced in Filipović and Larsson [10] through both a Shiny web application and R scripts. For user-supplied data, a standalone R routine has been developed to provide joint estimation of state variables and model parameters via the Extended Kalman Filter (EKF) or Unscented Kalman Filter (UKF). With its user-friendly interface, PDSim makes the features of simulations and estimations accessible. To date, it is the only package specifically designed for the simulation and estimation of the polynomial diffusion model. The Schwartz-Smith two-factor model [22] is also available within this package for both simulation and calibration. The package is validated through several tests, including replication of the results in [22], unit testing of the coverage rate, and verification of the outputs of the main functions.

Journal of Open Research SoftwareVol. 13
University of California, Santa Barbara (US), Macquarie University (AU)
Openalex Percentile: Top 64%
Market Dynamics and Volatility
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.