logLik.stsm: Log-likelihood of an STS model

View source: R/stsm.R

logLik.stsmR Documentation

Log-likelihood of an STS model

Description

logLik computes the exact or conditional log-likelihood of object of the class stsm.

Usage

## S3 method for class 'stsm'
logLik(mdl, y = NULL, method = c("exact", "cond"), ...)

Arguments

mdl

an object of class stsm.

y

an object of class ts.

method

exact or conditional.

...

additional parameters.

tol

tolerance to check if a root is close to one.

Value

The exact or conditional log-likelihood.


gallegoj/tfarima documentation built on March 31, 2024, 10:32 a.m.