Prophet is Facebook's procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well.
prophesize(
df,
n_future = 60,
country = NULL,
trend.param = 0.05,
logged = FALSE,
pout = 0.03,
project = "Prophet Forecast"
)
List. Containing the forecast results, the prophet model, and a plot.
Data frame. Must contain date/time column and values column, in that order.
Integer. How many steps do you wish to forecast?
Character. Country code for holidays.
Numeric. Flexibility of trend component. Default is 0.05, and as this value becomes larger, the trend component will be more flexible.
Boolean. Convert values into logs?
Numeric. Get rid of pout % of outliers.
Character. Name of your forecast project for plot title
Official documentation: https://github.com/facebook/prophet
Other Forecast:
forecast_arima()