This function is used to compute the log-likelihood for a Markov-switching autoregressive model.
# S3 method for MSARmdl
logLik(object, ...)
Log-likelihood value.
any object from which a log-likelihood value, or a contribution to a log-likelihood value, can be extracted.
some methods for this generic function require additional arguments.