Directory of Open Source for Quantitative Finance and Trading
Username: Password: Not registered?
 
Quick Search:    (AJAX based: No need to press button)

Main : Matlab : 



Sort by:  Title () Date () Rating () Popularity ()
Files currently sorted by: Date (New Files Listed First)


Category: Matlab View Full Details
Download Now!Tutorial for optimal weight matrix in Generalized method of Moments
Submitter: vanna Date: 2008/2/5
Description:
This tutorial is continued from the previous GMM Tutorial

Here we try to see the importance of the optimal weight matrix. ( Its role is similar to variance covariance matrix employed in estimation of Generalized least squares )

Recall that the objective of GMM is to choose parameter vector so as to make the sample moment as close as possible to population moment of zero. This mimimization is achieved by performing iteratations until the gmm estimate converges

Got a question or problem with this link? Just enter your message and click on submit. No registration is required.

Note: A copy of this message will also be emailed to the submitter of this link
Downloaded 860 times  860  File Size 0 bytes  Supported Platforms Octave Matlab  Home Page http://www.quantcode.com/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (11)

Category: Matlab View Full Details
Download Now!Tutorial on Generalized Method of Moments (GMM)
Submitter: vanna Date: 2008/2/3
Description:
I have written this simple code to demonstrate the concept of Generalized method of moments.

Follwoing are the ideas behind this tutorial/code:
1.We simulate random variables in T distribution with a given degrees of freedom.
2.Just for comparision purposes, we use maximum likelihood estimation to determine the estimation of the degrees of freedom parameter.
3.We use the property of the 2nd moment analytical formula, and solve the equation to find DF estimiate.
4.We use the property of the 4th moment analytical formula, and solve the equation to find DF estimiate. Note that this will be different from value result of (3)
5.We assume weight matrix as indentity matrix, and solve both the moments together by criteria function as mentioned in lecture notes Generalized Method of Moments - lecture notes by Stanislav Radchenko

Note that W matrix used is an arbitrary choice and may be suboptimal. I will continue more about the optimization in next tutorial

Got a question or problem with this link? Just enter your message and click on submit. No registration is required.

Note: A copy of this message will also be emailed to the submitter of this link
Downloaded 3080 times  3080  File Size 0 bytes  Supported Platforms Octave Matlab  Home Page http://www.quantcode.com/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (12)

Category: Matlab View Full Details
Download Now!Tutorial on Maximum Likelihood estimation
Submitter: vanna Date: 2008/2/3
Description:
This is a simple tutorial or demo for understanding the concept of maximum likelihood estimation.

We generate a sequence of random variables for a given degrees of freedom parameter. Then we go back and maximize the log likelihood function to get back the paramater used for generation of the random variables.

Got a question or problem with this link? Just enter your message and click on submit. No registration is required.

Note: A copy of this message will also be emailed to the submitter of this link
Downloaded 6324 times  6324  File Size 0 bytes  Supported Platforms Octave Matlab  Home Page http://www.quantcode.com/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (15)

Category: Matlab View Full Details
Download Now!Successive Over Relaxation demo for American put
Submitter: vanna Date: 2008/1/25
Description:
This file calculates price of an American put option using Gauss siedel method.
The main benefit of SOR method is its simplicity in comparision to other finite difference methods.
It is not even necessary to form a matrix equation.
I have simply used the fully implicit discretization of Black scholes equation, and taken V_i(k+1)
as a function of
V_{i+1}(k+1),V_{i-1}(k+1),V_i(k)

where V_i(k) denotes option value at stock axis node i and time axis node k

Got a question or problem with this link? Just enter your message and click on submit. No registration is required.

Note: A copy of this message will also be emailed to the submitter of this link
Downloaded 651 times  651  File Size 0 bytes  Supported Platforms Octave Matlab  Home Page http://www.quantcode.com/
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (8)

Category: Matlab View Full Details
Download Now!Libor Market Model
Submitter: vanna Date: 2007/9/11
Description:
This file contains MATLAB code to perform Monte Carlo simulation for getting price of an European swaption under the Libor Market Model (LMM) framework.
It is based on Milstein scheme discretization. For equation, pl refer to
Fixed income Lecture notes on page 82

Got a question or problem with this link? Just enter your message and click on submit. No registration is required.

Note: A copy of this message will also be emailed to the submitter of this link
Downloaded 6799 times  6799  File Size 0 bytes  Supported Platforms MATLAB  Home Page http://www.quantcode.com
Rating: 0.00 (0 votes)
Rate this File | Modify | Delete | Report Broken File | Tell a Friend | Comments (4)
« 1 2 3 4 5 6 7 8 9 10 11 12 13 14 (15) 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 »
Similar Links:

Subscribe to RSS or daily email updates of latest quantitative finance code listings
Email address :
Copyright © 2011 QuantCode Inc. All rights reserved.