predictBayes: Predictions for Bayesian estimation

View source: R/prediction.R

predictBayesR Documentation

Predictions for Bayesian estimation

Description

Computes predictions for an object of class NAWRUfit, TFPfit estimated via Bayesian methods.

Usage

predictBayes(fit, n.ahead = 10, exogenous = "mean", returnFit = TRUE)

Arguments

n.ahead

An integer specifying the prediction horizon.

exogenous

A character string specifying the computation of exogenous variables included in the model (if applicable). Valid options are exogenous = "mean" and exogenous = "last".

returnFit

A logical. If TRUE, an object of the same class as fit where the list entry tsl is replaced. If FALSE, only the new time series list is returned.


RGAP documentation built on Nov. 2, 2023, 6:02 p.m.