Runs the Kalman Filter for UC models
Standard methods applicable to UComp
objects are print, summary, plot,
fitted, residuals, logLik, AIC, BIC, coef, predict, tsdiag.
UCfilter(sys)
The same input object with the appropriate fields filled in, in particular:
yFit: Fitted values of output
yFitV: Variance of fitted values of output
a: State estimates
P: Variance of state estimates (diagonal of covariance matrices)
an object of type UComp
created with UC
Diego J. Pedregal
UC
, UCmodel
, UCvalidate
,
UCsmooth
, UCdisturb
, UCcomponents
,
UChp
if (FALSE) {
m1 <- UC(log(AirPassengers))
m1 <- UCfilter(m1)
}
Run the code above in your browser using DataLab