image thumbnail

Simulation of Schwartz-Smith two Factor model

version (30.5 KB) by Moeti Ncube
Replicated results given in Schwartz-Smith paper.


Updated 16 Dec 2010

View License

This code simulates the Schwartz-Smith two Factor model form the paper Short-Term Variations and Long-Term Dynamics in Commodity Prices by Eduardo Schwartz and James E. Smith.

I use the same parameter and data set time series of crude oil and obtain the same results as given in Figure 4 in their paper.

Run the file, ssmodelreplication.m

Soon I will post a novel calibration method for this procedure.

Note: Some of my code was taken originally from
James P. LeSage

Cite As

Moeti Ncube (2021). Simulation of Schwartz-Smith two Factor model (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!