This function predicts the next ahead
states and data points based on
an fHMM_model
object.
# S3 method for fHMM_model
predict(object, ahead = 5, alpha = 0.05, ...)
A data.frame
of state probabilities and data point estimates along
with confidence intervals.
An object of class fHMM_model
.
A positive integer
, the forecast horizon.
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.