- object
An object of class "narfima".
- h
Number of periods to forecast. If xreg is provided, h is ignored and the forecast horizon is determined by the number of rows in xreg.
- PI
Logical value indicating whether to compute prediction intervals (default is FALSE).
- level
Confidence level for prediction intervals (default is 80), ignored when PI = FALSE.
- fan
If TRUE (default is FALSE), level is set to seq(51, 99, by = 3). This is suitable for fan plots.
- bootstrap
Logical value indicating whether to use bootstrapping for prediction intervals (default is FALSE), ignored when PI = FALSE.
- npaths
Number of simulation paths for prediction intervals (default is 1000), ignored when PI = FALSE.
- innov
An optional vector of innovations to use for simulating future values (default is NULL). If NULL and PI = TRUE, random innovations are generated.
- xreg
An optional matrix or data frame of exogenous variables to be used in forecasting (default is NULL).
- lambda
Numeric value for the Box-Cox transformation parameter of y (default is taken from the fitted model, i.e., object$lambda).
- lambdae
Numeric value for the Box-Cox transformation parameter of er (default is taken from the fitted model, i.e., object$lambdae).
- ...
Additional arguments passed to pred_interval_narfima.