Learn R Programming

UComp (version 4.0.1)

PTSestim: PTSestim

Description

Estimates and forecasts PTS models

Usage

PTSestim(m)

Value

The same input object with the appropriate fields filled in, in particular:

  • p0: Initial values for parameter search

  • p: Estimated parameters

  • lambda: Estimated Box-Cox lambda parameter

  • v: Estimated innovations (white noise in correctly specified models)

  • yFor: Forecasted values of output

  • yForV: Variance of forecasted values of output

Arguments

m

an object of type PTS created with PTSmodel

Author

Diego J. Pedregal

Details

PTSestim estimates and forecasts a time series using an a PTS model

See Also

PTSmodel, PTSsetup, PTSvalidate, PTScomponents, PTS

Examples

Run this code
if (FALSE) {
m1 <- PTSsetup(log(AirPassengers))
m1 <- PTSestim(m1)
}

Run the code above in your browser using DataLab