Jan
18

## Maximum likelihood estimation in R

Maximum likelihood estimation can be implemented like Quasi-maximum likelihood in Matlab, You can also write an R function which computes out the likelihood function. As always in R, this can be done in several different ways.

One issue is that of restrictions upon parameters. When the search algorithm is running, it may stumble upon nonsensical values - such as a sigma below 0 - and you do need to think about this. One traditional way to deal with this is to "transform the parameter space". As an example, for all positive values of sigma, log(sigma) ranges from -infinity to +infinity. So it's safe to do an unconstrained search using log(sigma) as the free parameter.

For detail about methodology and sample codes see http://www.mayin.org/ajayshah/KB/R/documents/mle/mle.html.

Hot posts:

15 Incredibly Stupid Ways People Made Their Millions

Online stock practice

Ino.com: Don't Join Marketclub until You Read This MarketClub Reviews

World Changing Mathematical Discoveries

Value at Risk xls

Random posts:

Create your own websites

Quantitative Risk Management R package

Yield Curve Modelling

Technology's Impact on Education

Gaussian Process Regression

One issue is that of restrictions upon parameters. When the search algorithm is running, it may stumble upon nonsensical values - such as a sigma below 0 - and you do need to think about this. One traditional way to deal with this is to "transform the parameter space". As an example, for all positive values of sigma, log(sigma) ranges from -infinity to +infinity. So it's safe to do an unconstrained search using log(sigma) as the free parameter.

For detail about methodology and sample codes see http://www.mayin.org/ajayshah/KB/R/documents/mle/mle.html.

**People viewing this post also viewed:**

Hot posts:

Random posts:

Reza

2009/06/16 20:00 [Add/Edit reply] [Clear reply] [Del comment] [Block]

i need somone to make me a program in r about model Regime-switching GARCH according journal Bauwens(2006).Please sent to my email the program ko_trex@yahoo.com!!!Thanks for your kindness,may God bless you.

abiao

2009/06/16 21:16 [Add/Edit reply] [Clear reply] [Del comment] [Block]

Must be R code? there is Matlab codes for regime-switching GARCH volatility prediction, http://www.mathfinance.cn/forecast-volatility-regime-switching-GARCH-model/

Pages: 1/1 1