Simulate observations from the extrapolated generative model.
sample_model(m, df, seasonal.features, iteration, s_a, s_m)
Prophet object.
Prediction dataframe.
Data frame of seasonal features
Int sampling iteration to use parameters from.
Indicator vector for additive components
Indicator vector for multiplicative components
List of trend and yhat, each a vector like df$t.