Description Usage Arguments Value Author(s) References See Also Examples
This function calculates the log likelihood of the model and is maximized by Rdonlp2. You'll probably never have to call this function (MS_Regress_Fit does that for you..)
1 | MS_Regress_Lik(param)
|
param |
a vector with parameters, only. All the rest of the input arguments are passed as global variables (see rdonlp2 documentation) |
Returns the sum of log likelihood. It may also return the filtered series of the model (see MS_Regress_Fit code)
Marcelo Perlin - ICMA/UK <marceloperlin@gmail.com>
ALEXANDER, C. (2008) 'Market Risk Analysis: Practical Financial Econometrics' Wiley
HAMILTON, J., D. (1994) 'Time Series Analysis' Princeton University Press
HAMILTON, J., D. (2005) <91>Regime Switching Models<92> Palgrave Dictionary of Economic
KIM, C., J., NELSON, C., R. (1999) <91>State Space Model with Regime Switching: Classical and Gibbs-Sampling Approaches with Applications<92> The MIT press
MS_Regress_Simul
,MS_Regress_For
,MS_Regress_Fit
1 | # No Example. This function should normally not be called
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.