PDSim: A Shiny App for Simulating and Estimating Polynomial Diffusion Models in Commodity Futures
Peilun He, Nino Kordzakhia, Gareth W. Peters, Pavel V. Shevchenko

TL;DR
PDSim is an R package with a user-friendly Shiny app for simulating and estimating polynomial diffusion models in commodity futures, including the Schwartz-Smith model, validated through comprehensive testing.
Contribution
It introduces the first dedicated package for simulation and estimation of polynomial diffusion models in commodity futures, integrating advanced filtering techniques.
Findings
Successfully replicates Schwartz & Smith (2000) results
Provides joint estimation of state variables and parameters
Validated through extensive testing and verification
Abstract
PDSim is an R package that enables users to simulate commodity futures prices using the polynomial diffusion model introduced in Filipovic & Larsson (2016) 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 (Schwartz & Smith, 2000) is also available within this package for both simulation and calibration. The package is validated through several tests, including replication of the results in Schwartz & Smith (2000), unit…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNumerical methods for differential equations · Simulation Techniques and Applications
MethodsDiffusion
