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
.Net Runtime Library for Delphi 6.0.4.0
Scimbo 1.64
AnyMap JS Maps 8.4.2
GetOrgChart 2.5.3
AnyChart JS Charts and Dashboards 8.4.2
OrgChart JS 3.8.0
dbForge Compare Bundle for MySQL 8.1
dbForge Search for SQL Server 2.3
Database Workbench Pro 5.5.0
Luxand FaceSDK 7.0
SSIS Data Flow Components 1.10
Entity Developer Professional 6.3
dbForge Index Manager for SQL Server 1.9
dbForge Data Generator For MySQL 2.2
Magento Australia Post eParcel Extension 1.0
Top Code
PHP Point of sale 10.0
MATLAB Support Package for Arduino (aka ArduinoIO Package) 1.0
Betting system 6.x-1.x-dev
Java-2-Pseudo 1.0
Faculty Evaluation System 1.1
TeeBI for RAD Studio Suite 2017
Cuckoo Search (CS) Algorithm 1.0
Student Information Management System 1.0
Java/RTR 1.0
JEDI Database Desktop 27012002
Mind Fighter 1.1
JAC (Java Asn.1 Compiler) 3.0
000-516 Free Test Exam Questions 10.0
ICDoctorAppointment - Doctor Appointment Script 1.2
CONTRAST CONTROLLER 1.0
Top Rated
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
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
PHP GZ Blog Script 1.1
ATN Jobs Software 4.0
ATN Mall 2.0
WeBuilder 2015 13.3
PHP Digital Download Script 1.0.4
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