Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Rapid PHP 2018 15.5
IBDAC 6.4
Online Course Booking Script 1.3.3
Database Workbench Pro 5.6.4
Job Portal Script 1.3.2
The C# PDF Library 5.2
PostgreSQL Data Access Components 6.0
Virtual Data Access Components 11.0
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
Top Code
Hotel Management System Restaurant Version 5.25
Azizi search engine script PHP 4.1.10
Travel Booking script 1.0.4
Chessgra 1.1
Keno Game 1.I
VChess 6.x-1.x-dev
Killer Guestbook Script 1.1
RLS Algorithm Demo 1.0
PHP MLM Software 2.0.1
College Management System Script 1.0.4
Spider(rader) Chart for Multi Data 1.0
Simple Radar_system_simulation 1.0
The Spherical K-means algorithm 1.0
Discrete Frechet Distance 1.0
AJ Matrix v2.6
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Calibration Method for the Schwartz-Smith Model 1.0
File ID: 84027






Calibration Method for the Schwartz-Smith Model 1.0
Download Calibration Method for the Schwartz-Smith Model 1.0http://www.mathworks.comReport Error Link
License: Shareware
File Size: 553.0 KB
Downloads: 12
User Rating:1 Stars  (1 rating)
Submit Rating:
Calibration Method for the Schwartz-Smith Model 1.0 Description
Description: The codes provided can be used to show that the Kalman Smoother Expectation Maximization (KSEM) methodology can be used successfully to estimate the parameter of the Schwartz-Smith model. We develop several novel adjustments to incorporate the model framework.

The advantage of using this method is, unlike in their original paper, you can efficiently estimate the full covariance structure, also when compared to the results in their paper, you obtain a higher liklihood and better fit of the data. The details of this code can be found in the paper KSEMprocedure.pdf which is attached.

In the code emoptsimulation.m, I provide the code to simulate the Schwartz-Smith model under two different parameter sets (theta), however these can be easily adjusted as you see fit

For the first, I simulate the model using the same parameters (theta), that were used to obtained for the crude oil dataset in the Schwartz-Smith paper, I then use my methodology, with constraints, to obtain an estimate (thetahat) of the original parameters, given only the simulated data, here are the obtained results
theta=[1.4900 0.0300 0.2860 0.1450 0.3000 0.0415 0.1570]
thetahat=[1.8225 0.0149 0.2618 0.1412 0.2038 0.0294 0.0553]

Next I try this methodology on a different parameter set (theta) and obtained the following estimate (thetahat)
theta=[1.2000 0.1000 0.4000 0.1500 0.2000 0.0500 0.0500]
thetahat=[1.1245 0.1113 0.3777 0.1435 0.2912 0.0604 0.0290]

I did the simulation study to show that assuming we knew the true parameters of the underlying data process, we can use my methodology to calibrate accurately. Next I show how the results on actual datasets.

In the code emoptcrudeoils.m, For comparison, I take the same crudeoil timeseries dataset used in the Schwartz-Smith 2000 paper and compare my calibration method results to theirs. I use three different variations of my KSEM procedures and obtain a higher liklihood and better fit of data using my methodology. This code can be used to obtain the results given in Table 1 and Figure 4 of KSEMprocedure.pdf.

In the code emoptnatgas.m, I take a new time series from 1/4/2000 to 6/10/2008 of the 1,3,5,9, and 12 month contracts in natural gass and perform the same calibration using the three KSEM procedures to obtain the results given in Table 2 and Figure 5 of KSEMprocedure.pdf.

License: Shareware

Related: theta, thetahat

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 553.0 KB

Downloads: 12



More Similar Code

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.



This paper outlines a methodology for calibrating the Schwartz-Smith two factor commodity pricing model across multiple commodities such that on the valuation date:

1. The calibration produces simulations that are consistent with the...



Multi-Knapsack solver by two stochastic solvers : i) by Cross-Entropy Method and ii) by Botev-Kroese Method for the following problem

max S(X)=(p^{t}X)
st. WX <= c

Please run the demo files :



Let us assume the signal model:
Y(k)=HX(k)+B(k)
This script provides a method for the blind recognition of the number of sources (the size of X(k)). The noise must be spatially white and the number of receivers is assumed to be stricly...



Functions to calculate the statistics for the dLIF model described in the paper ``Mechanisms that modulate the transfer of spiking correlations'' by Robert Rosenbaum and Kresimir Josic, published in Neural Computation, 2011.

The first...



This is a fast and highly accurate numerical method for the inversion of the Laplace transform



This module provides an Ubercart payment method for the SecureTrading.com gateway.

The SecureTrading site reference must be entered in the payment methods admin page. You can configure whether to send SecureTrading emails to the...



If rules don't produce a solution, the program uses recursive method for the last resort.

Usage:
>> ARBSS('SDK1.txt')



This module provides an Ubercart payment method for the ClickandBuy payment system. It implements the ClickandBuy transaction and EMS APIs and provides a registration feature for new merchants which automatically configures the module. It requires...



Heuristic method for the Traveling Salesman Problem (TSP)
A number of nearest neighbour tours are generated from randomly selected starting points. Each tour is improved by 2-opt heuristics (pairwise exchange of edges) and the best result is...

User Review for Calibration Method for the Schwartz-Smith Model
- required fields
     

Please enter text on the image