Learn R Programming

UComp (version 4.0.1)

UCdisturb: UCdisturb

Description

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

Usage

UCdisturb(sys)

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 (diagonal of covariance matrices)

  • eta: State perturbations estimates

  • eps: Observed perturbations estimates

Arguments

sys

an object of type UComp created with UC

Author

Diego J. Pedregal

See Also

UC, UCmodel, UCvalidate, UCfilter, UCsmooth, UCcomponents, UChp

Examples

Run this code
if (FALSE) {
m1 <- UC(log(AirPassengers))
m1 <- UCdisturb(m1)
}

Run the code above in your browser using DataLab