compare {sysid}R Documentation

Compare the measured output and the predicted output(s)

Description

Plots the output predictions of model(s) superimposed over validation data, data, for comparison.

Usage

compare(data, nahead = 1, ...)

Arguments

data

validation data in the form of an idframe object

nahead

number of steps ahead at which to predict (Default:1). For infinite- step ahead predictions, supply Inf.

...

models whose predictions are to be compared

See Also

predict.estpoly for obtaining model predictions

Examples

data(arxsim)
mod1 <- arx(arxsim,c(1,2,2))
mod2 <- oe(arxsim,c(2,1,1))
compare(arxsim,nahead=Inf,mod1,mod2)


[Package sysid version 1.0.4 Index]