Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

predictive_samples

Sample from the posterior predictive distribution.


Description

Sample from the posterior predictive distribution.

Usage

predictive_samples(m, df)

Arguments

m

Prophet object.

df

Dataframe with dates for predictions (column ds), and capacity (column cap) if logistic growth.

Value

A list with items "trend" and "yhat" containing posterior predictive samples for that component.


prophet

Automatic Forecasting Procedure

v1.0
MIT + file LICENSE
Authors
Sean Taylor [cre, aut], Ben Letham [aut]
Initial release
2021-03-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.