tsint-methods: Methods for intermittent demand forecasts

tsint-methodsR Documentation

Methods for intermittent demand forecasts

Description

Print, summarise, and extract the parameters and in-sample forecasts of the forecasts produced by crost, tsb, sexsm, crost.ma, and imapa.

Usage

## S3 method for class 'tsint'
print(x, ...)

## S3 method for class 'tsint'
summary(object, ...)

## S3 method for class 'summary.tsint'
print(x, ...)

## S3 method for class 'tsint'
coef(object, ...)

## S3 method for class 'tsint'
fitted(object, ...)

Arguments

x, object

An object of class tsint.

...

Unused.

Details

The summary reports the characteristics of the series, the parameters and whether they were optimised, and the forecast. The in-sample value of the cost function is reported only when something was optimised, as it is the criterion of the optimisation. When lead time quantiles were requested, these are reported together with the safety stock. The series is also classified according to the PKa scheme of idclass.

Value

summary returns an object of class summary.tsint. coef returns the smoothing parameters, or the orders for crost.ma. fitted returns the in-sample forecasts frc.in. If the series was a ts object, these are returned as a ts object with the same time index, unless NA values were removed with na.rm.

Author(s)

Nikolaos Kourentzes, nikolaos@kourentzes.com

See Also

plot.tsint.

Examples

fit <- crost(ts.data1, h=3, type="sba", probs=c(0.9,0.95))
fit
summary(fit)
coef(fit)
head(fitted(fit))


tsintermittent documentation built on Nov. 14, 2026, 5:06 p.m.