l {dse1} | R Documentation |
Evaluate a model with data.
l(obj1, obj2, ...) l(obj1, obj2, ...) l(obj1, obj2, ...)
obj1 |
a TSmodel, TSdata, or TSestModel object. |
obj2 |
a TSmodel or TSdata object. |
... |
arguments to be passed to other methods. |
This function determines whether the model is in state space or ARMA form and calls l.SS or l.ARMA.
Usually a TSestModel object is returned. Some methods allow an
argument result
which specifies that a certain part of the object is
returned. (For example, the likelihood can be returned. This is useful for
optimization routines.)
if(is.R()) data("eg1.DSE.data.diff", package="dse1") model <- toSS(TSmodel(estVARXls(eg1.DSE.data.diff))) evalutated.model <- l(model, eg1.DSE.data.diff)