Understanding the Prophet Model

The general idea of the model is similar to a generalized additive model. The “Prophet Equation” fits, as mentioned above, trends, seasonality, and holidays. This is given by,

y(t) = g(t) + s(t) + h(t) + e(t)

here,

  • g(t) refers to trend (changes over a long period of time)
  • s(t) refers to seasonality (periodic or short-term changes)
  • h(t) refers to effects of holidays to the forecast
  • e(t) refers to the unconditional changes that is specific to a business or a person or a circumstance. It is also called the error term.
  • y(t) is the forecast.

Time Series Analysis using Facebook Prophet

Time series analysis is one of the important methodologies that helps us to understand the hidden patterns in a dataset that is too related to the time at which it is being recorded. The article aims to explore the fundamentals of time series analysis and demonstrates the analysis using Facebook Prophet.

Table of Content

  • What is Time Series Analysis?
  • Facebook Prophet Library
  • Understanding the Prophet Model 
  • Need of Facebook Prophet
  • Implementation – Analyzing Time Series Data using Prophet

Similar Reads

What is Time Series Analysis?

Time series analysis is a statistical approach that entails gathering data at consistent intervals to recognize patterns and trends. This methodology is employed for making well-informed decisions and precise forecasts by leveraging insights derived from historical data....

Facebook Prophet Library

Prophet is an open-source tool from Facebook used for forecasting time series data which helps businesses understand and possibly predict the market. It is based on a decomposable additive model where non-linear trends fit with seasonality, it also takes into account the effects of holidays. Before we head right into coding, let’s learn certain terms that are required to understand this....

Understanding the Prophet Model

The general idea of the model is similar to a generalized additive model. The “Prophet Equation” fits, as mentioned above, trends, seasonality, and holidays. This is given by,...

Need of Facebook Prophet

We need it because, although the basic decomposable additive model looks simply, the calculation of the terms within is hugely mathematical. If you do not know what you are doing, it may lead to making wrong forecasts, which might have severe repercussions in the real world. So, to automate this process, we are going to use Prophet. However, to understand the math behind this process and how Prophet actually works, let’s see how it forecasts the data....

Implementation – Analyzing Time Series Data using Prophet

Now let’s try and build a model that is going to forecast the number of passengers for the next five years using time series analysis....