M1_L1 (Introduction, Applications)
M1_L1 (Introduction, Applications)
Time Series Analysis considers data collected over time might have some structure; hence it analyses Time Series
data to extract its valuable characteristics.
What Are the Different Components of Time Series Analysis?
Example of Time Series Data:
Example of Time Series Data:
Example of Time Series Data:
Example of Time Series Data:
The importance of time series analysis for science, industry, and commerce
2.Time series analysis shows why trends exist in past data and how they may be explained by underlying
patterns or processes.
3.Time series analysis is a basic tool for the analysis of natural systems, which cannot be understood
without it. For example, climate cycles and fluctuations in the economy, as well as volcanic eruptions and
earthquakes, are examples of natural systems, whose behavior can best be studied using time series
analysis.
Applications
Weather data
Stock prices
Quarterly Rainfall
sales measurement
Industry forecasts
Applications
Interest rates
Brain Temperature
monitoring readings
Heart rate
monitoring
Non- Stationary Time Series Data
Seasonality
Trend Irregularity
Stationary Time Series Data
As shown in the picture above from only (b) and (g) are considered
stationary.
Clear Trend observed: a, c, e, f, i Clear Seasonality observed: d, h, i
Is Stationarity important for time series analysis?
When we fit a stationary model to the time series data that we want to
analyze, we should detect the stationarity of the data and remove the
trend/seasonality effect from the data.
Many current time series models like ARIMA have
options to include steps to convert the original data
into stationary data
How do we know whether the data is
stationary?
Example: Consider the running of a bakery. Given the data of the past few months, you can predict what items you
need to bake at what time. The morning crowd would need more bread items, like bread rolls, croissants, breakfast
muffins, etc. At night, people may come in to buy cakes and pastries or other dessert items. Using time series analysis,
you can predict items popular during different times and even different seasons.
Notes:
1.Trend: The Trend shows the variation of data with time or the frequency of data. Using a Trend, you can see how your
data increases or decreases over time. The data can increase, decrease, or remain stable. Over time, population, stock
market fluctuations, and production in a company are all examples of trends.
2.Seasonality: Seasonality is used to find the variations which occur at regular intervals of time. Examples are festivals,
conventions, seasons, etc. These variations usually happen around the same time period and affect the data in specific
ways which you can predict.
Notes:
3. Irregularity: Fluctuations in the time series data do not correspond to the trend or seasonality. These variations in your
time series are purely random and usually caused by unforeseeable circumstances, such as a sudden decrease in
population because of a natural calamity.
4. Cyclic: Oscillations in time series which last for more than a year are called cyclic. They may or may not be periodic.
5. Stationary: A time series that has the same statistical properties over time is stationary. The properties remain the same
anywhere in the series. Your data needs to be stationary to perform time-series analysis on it. A stationary series has a
constant mean, variance, and covariance.
To check whether a series is stationary or not, there are several tests in the literature. One of them is the
Augmented Dickey-Fuller (ADF) test which is a unit root test. Its null hypothesis is that the series is non-stationary. If the
p-value is less than 0.05, the null hypothesis can be rejected, and the series can be considered stationary.
5. Prophet model.
Once you have the data ready, you can divide the dataset into train and test data, train any of the above models, and test
the performance using test data.
Notes:
Time Series Analysis: Definition, Types, Techniques, and When It's Used,
https://www.tableau.com/learn/articles/time-series-analysis
A Complete Guide To Get A Grasp Of Time Series Analysis,
https://www.simplilearn.com/tutorials/statistics-tutorial/what-is-time-series-analysis
Understanding Time Series Analysis in Python,
https://www.simplilearn.com/tutorials/python-tutorial/time-series-analysis-in-python
5 Applications of Time Series Analysis, https://www.analyticssteps.com/blogs/5-applications-time-series-analysis
Stationarity Assumption in Time Series Data,
https://towardsdatascience.com/stationarity-assumption-in-time-series-data-67ec93d0f2f