predict.fHMM_model: Prediction
Description
This function predicts the next ahead states and data points based on
an fHMM_model object.
Usage
# S3 method for fHMM_model
predict(object, ahead = 5, alpha = 0.05, ...)
Value
A data.frame of state probabilities and data point estimates along
with confidence intervals.
Arguments
- object
An object of class fHMM_model.
- ahead
A positive integer, the forecast horizon.
- alpha
A numeric between 0 and 1, the alpha level for the confidence interval.
By default, alpha = 0.05, which computes a 95% confidence interval.
- ...
Ignored.