To talk on Icrontic, just register!

It only takes 30 seconds.

Have an account? Sign in:

Forgot?
deaconblues
New to the neighborhood
deaconblues
2 Posts

Matlab help on Financial Estimation!!?

Hi, I am trying to use matlab for my financial estimation paper. I am using matlab to find out the probability of default using a DOC model. I am facing issues big time, since it's been almost 3 years since I last used matlab
1. Maximum likelihood estimation:
I am using the equation
ve = va* N(d1)- exp(-rT)*X*N(d2)
where d1 = (log(Va/X)+ (r+(sigma^2/2))*T)/ (sigma*sqrt(T))
and d2 = d1 - (sigma *sqrt(T))
I have the values of ve, X, r and T. I need to find out v, sigma and alpha (a barrier level - a part of a bigger equation) using Maximum Likelihood Estimation (iteratively).
I am trying to use GARCHFIT and MLE functions but they're throwing up errors. I am not able to figure out ow to input arguments to these functions and can't understand what outputs I get
Can somebody please help me on this?
cheers
dB
shwaip
elaborate bot
shwaip
5,729 Posts
can you post the entirety of your code (along with the known values)?

put it inside
PHP Code:
[code][/code
tags, please.
__________________ my photostream for ic photography challenge

Anyone who wants dropbox, please use my referral link
deaconblues
New to the neighborhood
deaconblues
2 Posts
can you post the entirety of your code (along with the known values)?

put it inside
PHP Code:
[code][/code
tags, please.
Hi sorry for the late reply. Have been breaking my head over this matlab code.

I will rephrase my request....

I have the following function:

L(sigma,alpha,Ve)= f(Ve,r,T,X,alpha,sigma,Ve,mu)

The entire function is here: http://picasaweb.google.co.uk/satishtn/MatlabHelp

I need to get the maximum value of sigma, alpha and Ve for
the inputted values of other variables. I am thinking of
using Nelder-Mead model as per the following matlab code:
http://www4.ncsu.edu/~ctk/darts/nelder.m

Since I am a beginner, I find this too complex. I
understand I need to model my function above in the Melder-
mead model and voila! I should get the required values
after iteration. But, I just dont know how to do it.

I would be grateful for any guidance/ alternative
suggestions. I need to get the data set done for my
dissertation in finance.

Thanks in advance

cheers
dB
Similar Threads
Thread Thread Starter Forum Replies Last Post
Batch-processing in MATLAB geodave Matlab Help 6 18 Jul 2008 12:58am
Writing new files from Matlab raulinhoo Matlab Help 6 5 Jun 2008 8:31pm
Closing external programs in matlab raulinhoo Matlab Help 2 4 Jun 2008 3:55pm

Go Back   Icrontic Forums > Tech: Software > General Software > Matlab Help
Jump to
This Thread Search this Thread
Search this Thread:

Advanced Search


Current time: 4:15pm (GMT)
Powered by vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Get Vanilla instead. Trust me.