sample_predictive_trend: Simulate the trend using the extrapolated generative model.
Description
Simulate the trend using the extrapolated generative model.
Usage
sample_predictive_trend(model, df, iteration)
Value
Vector of simulated trend over df$t.
Arguments
- model
Prophet object.
- df
Prediction dataframe.
- iteration
Int sampling iteration to use parameters from.