print.predarfima: Prints predictions and prediction intervals

View source: R/utilityfcns.R

print.predarfimaR Documentation

Prints predictions and prediction intervals

Description

Prints the output of predict on an arfima object

Usage

## S3 method for class 'predarfima'
print(x, digits = max(6, getOption("digits") - 3), ...)

Arguments

x

An object of class "predarfima"

digits

The number of digits to print

...

Currently not used

Details

Prints all the relavent output of the prediction function of the arfima package

Value

x is returned invisibly

Author(s)

JQ (Justin) Veenstra

See Also

arfima, predict.arfima, predict, plot.predarfima

Examples


set.seed(82365)
sim <- arfima.sim(1000, model = list(dfrac = 0.4, theta=0.9, dint = 1))
fit <- arfima(sim, order = c(0, 1, 1), back=TRUE)
fit
pred <- predict(fit, n.ahead = 5)
pred
plot(pred)


JQVeenstra/arfima documentation built on Jan. 31, 2024, 12:11 p.m.