Learn R Programming

arfima (version 1.8-1)

print.predarfima: Prints predictions and prediction intervals

Description

Prints the output of predict on an arfima object

Usage

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

Value

x is returned invisibly

Arguments

x

An object of class "predarfima"

digits

The number of digits to print

...

Currently not used

Author

JQ (Justin) Veenstra

Details

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

See Also

arfima, predict.arfima, predict, plot.predarfima

Examples

Run this code

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)

Run the code above in your browser using DataLab