In most cases, data will follow a linear, polynomial, exponential, trigonometric, or other type of function patterns However, there is not always a set function pattern.
For example, the time it takes to reach a stop on the subway can be modeled as y=mx+b, where y is the total time, x is the number of stops, m is the time each subway stop takes, and b is the time it takes to walk to the station. However, the subway does not stop in even increments. The slope is not always constant, yet it would not make sense to model the situation with other functions.
As the slope is not constant, a simple moving average can be used to find an equation/function model

MENU