Learn R Programming

dse (version R2000.6-1)

l: Evaluate a TSmodel

Description

Evaluate a model with data.

Usage

l(model, data, sampleT=NULL, predictT=NULL,result=NULL)

Arguments

model
A TSmodel object.
data
A TSdata object.
sampleT
predictT
result

Value

  • See result above.

Details

This function determines whether the model is in state space or ARMA form and calls l.SS or l.ARMA.

See Also

l.SS, l.ARMA

Examples

Run this code
if(is.R()) data("eg1.DSE.data.diff", package="dse1")
model <- to.SS(TSmodel(est.VARX.ls(eg1.DSE.data.diff)))
evalutated.model <- l(model, eg1.DSE.data.diff)

Run the code above in your browser using DataLab