Learn R Programming

UComp (version 2.1)

UCsmooth: UCsmooth

Description

Runs the Fixed Interval Smoother for UC models Standard methods applicable to UComp objects are print, summary, plot, fitted, residuals, logLik, AIC, BIC, coef, predict, tsdiag.

Usage

UCsmooth(sys)

Arguments

sys

an object of type UComp created with UC

Value

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

See Also

UC, UCmodel, UCvalidate, UCfilter, UCdisturb, UCcomponents, UChp

Examples

Run this code
# NOT RUN {
m1 <- UC(log(AirPassengers))
m1 <- UCsmooth(m1)
# }

Run the code above in your browser using DataLab