## S3 method for class 'ARMA':
l(obj1, obj2, sampleT=NULL, predictT=NULL,result=NULL,
error.weights=0, compiled=.DSEflags()$COMPILED, warn=TRUE,
return.debug.info=FALSE, ...)
sampleT is the length of data which should be used to calculate the one-step ahead predictions, and likelihood value for the model: Output data must be at least as long as sampleT. If sampleT is not supplied it is taken to be Tobs(data).
Input data must be at least as long as predictT. predictT must be at least as large as sampleT. If predictT is not supplied it is taken to be sampleT.
If error.weights
is greater than zero then weighted prediction
errors are calculated up to the horizon indicated
by the length of error.weights. The weights are applied to the squared
error at each period ahead.
ARMA
l
,
l.SS
TSmodel
TSestModel.object
data("eg1.DSE.data.diff", package="dse")
model <- TSmodel(estVARXls(eg1.DSE.data.diff))
evaluated.model <- l(model,eg1.DSE.data.diff)
Run the code above in your browser using DataLab