SlideShare a Scribd company logo
Time Series Forecasting
What’s in it for you?
Why Time Series?
What is Time Series?
Components of a Time Series
When NOT to use Time Series?
Why does a Time Series have to be stationary?
How to make a Time Series stationary?
Example: Forecast car sales for 5th year
Well, you can actually do that
with Time Series forecasting
Well, you can actually do that
with Time Series forecasting
Daily Stock Price
Sales figures
where the outcome (independent variable) is dependent on time
In such scenarios, we use Time Series forecasting
Weekly interest rates
We can predict:
But first, let me tell you what
is Time Series!
What is Time Series?
A Time Series data for stock price analysis may look like this:
The stock prices change everyday!
What is Time Series?
A simple plot shows that it is increasing with time!
What is Time Series?
It is time-dependent
These data points (past values) are analyzed to forecast a future
A Time Series is a sequence of data being recorded at specific time intervals
Time Series is affected by
four main components
Time Series is affected by
four main components
Trend Seasonality Cyclicity Irregularity
But what do they mean?
Time Series is affected by
four main components
Trend is the increase or decrease in the series over a period of time, it persists over a
long period of time
Example: Population growth over the years can be seen as an upward trend
Trend
Time Series is affected by
four main components
Regular pattern of up and down fluctuations
It is a short-term variation occurring due to seasonal factors
Example: Sales of ice-cream increases during summer season
Seasonality
Time Series is affected by
four main components
It is a medium-term variation caused by circumstances, which repeat in irregular
intervals
Example: 5 years of economic growth, followed by 2 years of economic recession,
followed be 7 years of economic growth followed by 1 year of economic recession
Cyclicity
Time Series is affected by
four main components
It refers to variations which occur due to unpredictable factors and also do not repeat in
particular patterns
Example: Variations caused by incidents like earthquake, floods, war etc.
Irregularity
Are there conditions where we shouldn’t
use Time Series?
1
When NOT to use Time Series Analysis?
There are various conditions where you should not use Time Series:
When the values are constant over a period of time:
When NOT to use Time Series Analysis?
When values can be represented by known functions
like cosx, sinx etc:
There are various conditions where you should not use Time Series:
2
Before forecasting, you
should make sure that Time
Series is stationary
Why? And what do you mean by making
time series stationary?
Okay, first let’s understand
what is Non-Stationary Time
Series!
You remember the four
components of Time Series?
Time Series is affected by
four main components
Trend Seasonality Cyclicity Irregularity
If these components are
present in Time Series data,
it is a Non-Stationary Time
Series Data.
Time Series is affected by
four main components
For example, look at this graph:
0
1
2
3
4
5
6
7
1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4
Year 1 Year 2 Year 3 Year 4
Time Series Forecasting
Here, the mean is non-constant and there
is clearly an upward trend
So what?
Stationarity of Time Series
When a Time Series is stationary, we can identify previously unnoticed components to
strengthen their forecasting
A Non-stationary Time Series has trend and seasonality components, which will affect the
forecasting of Time Series
How do you differentiate
between a stationary and
Non-Stationary time series?
How do you differentiate
between a stationary and
Non-Stationary time series?Stationarity of Time Series depends on:
Mean
Variance
Co-Variance
Stationarity of Time Series
The mean of the series should not be a function of time rather should be a constant
Here, mean is
constant with time
Here, mean is
increasing with
time
Stationary Non-Stationary
Stationarity of Time Series
The variance of the series should not be a function of time
Stationary Non-Stationary
Notice, the varying spread of distribution in the red grapgh, this shows that variance is
changing with time
Stationarity of Time Series
The covariance of the i th term and the (i + m) th term should not be a function of time
Stationary Non-Stationary
The spread becomes closer as the time increases. Hence, the covariance is not constant with
time for the ‘red series’ and is Non-Stationary!
Before I tell you how to make it
stationary and model it, let’s look
at Moving Average method
What is that?
What is that?
A moving average is a technique to get an overall idea of the trends in a data set; it is an
average of any subset of numbers
Let’s say that you have been in business for three months, January through March, and wanted to forecast
April’s sales. Your sales for the last three months look like this:
What is that?
Moving Average(3) would be to take the average of January through March and use that to estimate
April’s sales:
(129 + 134 + 122)/3 = $128.333
What is that?
Hence, based on the sales of January through March, you predict that sales in April will be $128.333
Once April’s actual sales come in, you would then compute the forecast for May, this time using February through
April
Lets begin with an example to
forecast car sales
What is that?
Here, we have Quarterly sales data for car sales.
Let’s look at the data to see how it moves through time
Year Quarter Sales(1000s)
Year 1 1 2.8
2 2.1
3 4
4 4.5
Year 2 1 3.8
2 3.2
3 4.8
4 5.4
Year 3 1 4
2 3.6
3 5.5
4 5.8
Year 4 1 4.3
2 3.9
3 6
4 6.4
What is that?
Year Quarter Sales(1000s)
Year 1 1 2.8
2 2.1
3 4
4 4.5
Year 2 1 3.8
2 3.2
3 4.8
4 5.4
Year 3 1 4
2 3.6
3 5.5
4 5.8
Year 4 1 4.3
2 3.9
3 6
4 6.4
Year 5 1 ?
2 ?
3 ?
4 ?
We want to forecast the sales for the next four quarters (or the fifth year)
Example to forecast Time Series
Plot of our Time Series data for the first four years looks like:
0
1
2
3
4
5
6
7
1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4
Year 1 Year 2 Year 3 Year 4
Time Series Forecasting
Example to forecast Time Series
Clearly, we see that the curve repeats in a pattern after every quarter (yearly) indicating seasonality:
Example to forecast Time Series
And the overall direction of the plot is increasing, known as the “trend component”:
And even though the pattern is
clearly visible there is no data as
perfect data, it will have some
variability
That is the irregular component
What is that?
t Year Quarter Sales(1000s)
1 Year 1 1 2.8
2 2 2.1
3 3 4
4 4 4.5
5 Year 2 1 3.8
6 2 3.2
7 3 4.8
8 4 5.4
9 Year 3 1 4
10 2 3.6
11 3 5.5
12 4 5.8
13 Year 4 1 4.3
14 2 3.9
15 3 6
16 4 6.4
We will give a time code(t) variable to each row indicating each time period, we will use this variable later:
What is that?t Year Quarter Sales(1000s) MA(4)
1 Year 1 1 2.8
2 2 2.1
3 3 4 3.4
4 4 4.5 3.6
5 Year 2 1 3.8 3.9
6 2 3.2 4.1
7 3 4.8 4.3
8 4 5.4 4.4
9 Year 3 1 4 4.5
10 2 3.6 4.6
11 3 5.5 4.7
12 4 5.8 4.8
13 Year 4 1 4.3 4.9
14 2 3.9 5.0
15 3 6 5.2
16 4 6.4
Here, we have calculate Moving Average(4) for the first four quarters:
(2.8+2.1+4+4.5)/4
What is that?t Year Quarter Sales(1000s) MA(4)
1 Year 1 1 2.8
2 2 2.1
3 3 4 3.4
4 4 4.5 3.6
5 Year 2 1 3.8 3.9
6 2 3.2 4.1
7 3 4.8 4.3
8 4 5.4 4.4
9 Year 3 1 4 4.5
10 2 3.6 4.6
11 3 5.5 4.7
12 4 5.8 4.8
13 Year 4 1 4.3 4.9
14 2 3.9 5.0
15 3 6 5.2
16 4 6.4
Now, for next four the values shift and we calculate as follows:
(2.1+4+4.5+3.8)/4
What is that?t Year Quarter Sales(1000s) MA(4)
1 Year 1 1 2.8
2 2 2.1
3 3 4 3.4
4 4 4.5 3.6
5 Year 2 1 3.8 3.9
6 2 3.2 4.1
7 3 4.8 4.3
8 4 5.4 4.4
9 Year 3 1 4 4.5
10 2 3.6 4.6
11 3 5.5 4.7
12 4 5.8 4.8
13 Year 4 1 4.3 4.9
14 2 3.9 5.0
15 3 6 5.2
16 4 6.4
And so on..
Similarly, calculate the remaining values:
What is that?t Year Quarter Sales(1000s) MA(4) CMA
1 Year 1 1 2.8
2 2 2.1
3 3 4 3.4 3.5
4 4 4.5 3.6 3.7
5 Year 2 1 3.8 3.9 4.0
6 2 3.2 4.1 4.2
7 3 4.8 4.3 4.3
8 4 5.4 4.4 4.4
9 Year 3 1 4 4.5 4.5
10 2 3.6 4.6 4.7
11 3 5.5 4.7 4.8
12 4 5.8 4.8 4.8
13 Year 4 1 4.3 4.9 4.9
14 2 3.9 5.0 5.1
15 3 6 5.2
16 4 6.4
Now, since the moving average is not centered because of even number of data points, we will have to calculate “Centered
Moving Average” as shown:
What is that?
We will give a time code(t) variable to each row indicating each time period, let’s this variable later:
t Year Quarter Sales(1000s) MA(4) CMA
1 Year 1 1 2.8
2 2 2.1
3 3 4 3.4 3.5
4 4 4.5 3.6 3.7
5 Year 2 1 3.8 3.9 4.0
6 2 3.2 4.1 4.2
7 3 4.8 4.3 4.3
8 4 5.4 4.4 4.4
9 Year 3 1 4 4.5 4.5
10 2 3.6 4.6 4.7
11 3 5.5 4.7 4.8
12 4 5.8 4.8 4.8
13 Year 4 1 4.3 4.9 4.9
14 2 3.9 5.0 5.1
15 3 6 5.2
16 4 6.4
What is that?
We will give a time code(t) variable to each row indicating each time period, let’s discuss this variable later:
t Year Quarter Sales(1000s) MA(4) CMA
1 Year 1 1 2.8
2 2 2.1
3 3 4 3.4 3.5
4 4 4.5 3.6 3.7
5 Year 2 1 3.8 3.9 4.0
6 2 3.2 4.1 4.2
7 3 4.8 4.3 4.3
8 4 5.4 4.4 4.4
9 Year 3 1 4 4.5 4.5
10 2 3.6 4.6 4.7
11 3 5.5 4.7 4.8
12 4 5.8 4.8 4.8
13 Year 4 1 4.3 4.9 4.9
14 2 3.9 5.0 5.1
15 3 6 5.2
16 4 6.4
How do you know that the
data is smoothened?
Let’s visualize this to see the
difference between the original
data and the smoothened data
Example to forecast Time Series
The blue line which represents “Centered Moving Average” is smoothened as compared to the original data, as we
can see in the plot:
0
1
2
3
4
5
6
7
1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4
Year 1 Year 2 Year 3 Year 4
Time Series Forecasting
Time Series Data
CMA
Example to forecast Time Series
Smoothening means taking out the seasonal component and the irregular component:
0
1
2
3
4
5
6
7
1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4
Year 1 Year 2 Year 3 Year 4
Time Series Forecasting
Time Series Data
CMA
Example to forecast Time Series
So, we can now extract the seasonal and irregular components from the original data:
0
1
2
3
4
5
6
7
1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4
Year 1 Year 2 Year 3 Year 4
Time Series Forecasting
Time Series Data
CMA
Why are we extracting these
components anyway?
Good Question!
These components will be used
later for forecasting!
Example to forecast Time Series
In classical multiplicative model, Time Series value at time t = St * It * Tt
So, we calculate Seasonal and Irregular components by:
St , It = Yt /CMA
Yt baseline Yt/CMA
Year Quarter
Sales(1000
s) MA(4) CMA St, It
Year 1 1 2.8
2 2.1
3 4 3.4 3.5 1.15
4 4.5 3.6 3.7 1.20
Year 2 1 3.8 3.9 4.0 0.96
2 3.2 4.1 4.2 0.76
3 4.8 4.3 4.3 1.11
4 5.4 4.4 4.4 1.23
Year 3 1 4 4.5 4.5 0.88
2 3.6 4.6 4.7 0.77
3 5.5 4.7 4.8 1.15
4 5.8 4.8 4.8 1.20
Year 4 1 4.3 4.9 4.9 0.87
2 3.9 5.0 5.1 0.77
3 6 5.2
4 6.4
Example to forecast Time Series
Now, let’s get rid of the irregular component.
We can calculate only the seasonal component of every quarter by averaging each quarter per year
Year Quarter Sales(1000s) MA(4) CMA St, It St
Year 1 1 2.8 0.90
2 2.1 0.77
3 4 3.4 3.5 1.15 1.14
4 4.5 3.6 3.7 1.20 1.21
Year 2 1 3.8 3.9 4.0 0.96 0.90
2 3.2 4.1 4.2 0.76 0.77
3 4.8 4.3 4.3 1.11 1.14
4 5.4 4.4 4.4 1.23 1.21
Year 3 1 4 4.5 4.5 0.88 0.90
2 3.6 4.6 4.7 0.77 0.77
3 5.5 4.7 4.8 1.15 1.14
4 5.8 4.8 4.8 1.20 1.21
Year 4 1 4.3 4.9 4.9 0.87 0.90
2 3.9 5.0 5.1 0.77 0.77
3 6 5.2 1.14
4 6.4 1.21
Example to forecast Time Series
Now, let’s de-seasonalize the data:
Yt baseline Yt/CMA Yt/St
Year Quarter Sales(1000s) MA(4) CMA St, It St De-seasonalize
Year 1 1 2.8 0.90 3.10
2 2.1 0.77 2.74
3 4 3.4 3.5 1.15 1.14 3.51
4 4.5 3.6 3.7 1.20 1.21 3.72
Year 2 1 3.8 3.9 4.0 0.96 0.90 4.21
2 3.2 4.1 4.2 0.76 0.77 4.17
3 4.8 4.3 4.3 1.11 1.14 4.22
4 5.4 4.4 4.4 1.23 1.21 4.46
Year 3 1 4 4.5 4.5 0.88 0.90 4.43
2 3.6 4.6 4.7 0.77 0.77 4.69
3 5.5 4.7 4.8 1.15 1.14 4.83
4 5.8 4.8 4.8 1.20 1.21 4.79
Year 4 1 4.3 4.9 4.9 0.87 0.90 4.76
2 3.9 5.0 5.1 0.77 0.77 5.08
3 6 5.2 1.14 5.27
4 6.4 1.21 5.29
So, we have finally got rid of
the seasonal and the irregular
components!
Yes! Now we will quickly remove
the trend component before
forecasting
Let’s do it!
But first, let’s calculate the
intercept and slope of the data as
it is required to calculate the trend
component
Example to forecast Time Series
Using simple regression, we will calculate the regression statistics using ‘Data Analysis’ feature in excel!
Example to forecast Time Series
Using simple regression, we will calculate the regression statistics using ‘Data Analysis’ feature in excel!
Intercept
Slope
So, to calculate trend, we will
need intercept and slope as seen
in previous slide
Example to forecast Time Series
Trend = Intercept + Slope * Time code
Example to forecast Time Series
Trend = Intercept + Slope * Time code
Trend Component = Intercept + Slope * Time Code
What is that?
So, using the multiplicative model, we can make the predictions.
To do that, we have to combine all the components that we separated
Predicted (Yp) = Seasonal component (St ) * Trend Component (Tt )
Example to forecast Time Series
We see that the predicted values(Yp) are similar to the actual values(Yt)
Hence, our calculations are correct
t Year Quarter Yt St De-Seasonalize Tt
Predicted
(Yp)
1 Year 1 1 2.8 0.90 3.10 3.21 2.90
2 2 2.1 0.77 2.74 3.36 2.58
3 3 4 1.14 3.51 3.51 4.00
4 4 4.5 1.21 3.72 3.66 4.43
5 Year 2 1 3.8 0.90 4.21 3.81 3.44
6 2 3.2 0.77 4.17 3.96 3.04
7 3 4.8 1.14 4.22 4.11 4.68
8 4 5.4 1.21 4.46 4.26 5.15
9 Year 3 1 4 0.90 4.43 4.40 3.98
10 2 3.6 0.77 4.69 4.55 3.49
11 3 5.5 1.14 4.83 4.70 5.35
12 4 5.8 1.21 4.79 4.85 5.87
13 Year 4 1 4.3 0.90 4.76 5.00 4.51
14 2 3.9 0.77 5.08 5.15 3.95
15 3 6 1.14 5.27 5.30 6.03
16 4 6.4 1.21 5.29 5.45 6.59
Now, let’s forecast the values for
the four quarters of the 5th year
As you know the seasonal
component will remain the same
for the Time Series Data
And using that seasonal
component, intercept and slope,
we can calculate the trend
component easily
What is that?
t Year Quarter Yt MA(4) CMA St, It St
De-
Seasonalize Tt
1 Year 1 1 2.8 0.90 3.10 3.21
2 2 2.1 0.77 2.74 3.36
3 3 4 3.4 3.5 1.15 1.14 3.51 3.51
4 4 4.5 3.6 3.7 1.20 1.21 3.72 3.66
5 Year 2 1 3.8 3.9 4.0 0.96 0.90 4.21 3.81
6 2 3.2 4.1 4.2 0.76 0.77 4.17 3.96
7 3 4.8 4.3 4.3 1.11 1.14 4.22 4.11
8 4 5.4 4.4 4.4 1.23 1.21 4.46 4.26
9 Year 3 1 4 4.5 4.5 0.88 0.90 4.43 4.40
10 2 3.6 4.6 4.7 0.77 0.77 4.69 4.55
11 3 5.5 4.7 4.8 1.15 1.14 4.83 4.70
12 4 5.8 4.8 4.8 1.20 1.21 4.79 4.85
13 Year 4 1 4.3 4.9 4.9 0.87 0.90 4.76 5.00
14 2 3.9 5.0 5.1 0.77 0.77 5.08 5.15
15 3 6 5.2 1.14 5.27 5.30
16 4 6.4 1.21 5.29 5.45
17 Year 5 1 ? 0.90 5.59
18 2 ? 0.77 5.74
19 3 ? 1.14 5.89
20 4 ? 1.21 6.04
Because to forecast, we only
need these two component. So,
let’s not do the other unnecessary
calculations!
What is that?
t Year Quarter Yt MA(4) CMA St, It St
De-
Seasonalize Tt
Predicted
(Yp)
1 Year 1 1 2.8 0.90 3.10 3.21 2.90
2 2 2.1 0.77 2.74 3.36 2.58
3 3 4 3.4 3.5 1.15 1.14 3.51 3.51 4.00
4 4 4.5 3.6 3.7 1.20 1.21 3.72 3.66 4.43
5 Year 2 1 3.8 3.9 4.0 0.96 0.90 4.21 3.81 3.44
6 2 3.2 4.1 4.2 0.76 0.77 4.17 3.96 3.04
7 3 4.8 4.3 4.3 1.11 1.14 4.22 4.11 4.68
8 4 5.4 4.4 4.4 1.23 1.21 4.46 4.26 5.15
9 Year 3 1 4 4.5 4.5 0.88 0.90 4.43 4.40 3.98
10 2 3.6 4.6 4.7 0.77 0.77 4.69 4.55 3.49
11 3 5.5 4.7 4.8 1.15 1.14 4.83 4.70 5.35
12 4 5.8 4.8 4.8 1.20 1.21 4.79 4.85 5.87
13 Year 4 1 4.3 4.9 4.9 0.87 0.90 4.76 5.00 4.51
14 2 3.9 5.0 5.1 0.77 0.77 5.08 5.15 3.95
15 3 6 5.2 1.14 5.27 5.30 6.03
16 4 6.4 1.21 5.29 5.45 6.59
17 Year 5 1 ? 0.90 5.59 5.05
18 2 ? 0.77 5.74 4.41
19 3 ? 1.14 5.89 6.71
20 4 ? 1.21 6.04 7.31
Predicted (Yp) = Seasonal component (St ) * Trend Component (Tt )
Let’s plot the graph and verify!
So if our forecast is correct
then the forecasted values
should overlap with the
original values, right?
Yes, absolutely!
Example to forecast Time Series
Here we can see that the predicted values overlap with the actual values and continues till year
5 which shows the accuracy of our forecasted values
So, we have finally forecasted the
car sales for the four quarters of
the 5th year
That was very interesting!
Summary
What is time series? Components of time series Stationarity of time series
Forecast of car salesMoving average method
Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data Science | Simplilearn

More Related Content

What's hot

Analysis of Time Series
Analysis of Time SeriesAnalysis of Time Series
Analysis of Time SeriesManu Antony
 
Time Series In R | Time Series Forecasting | Time Series Analysis | Data Scie...
Time Series In R | Time Series Forecasting | Time Series Analysis | Data Scie...Time Series In R | Time Series Forecasting | Time Series Analysis | Data Scie...
Time Series In R | Time Series Forecasting | Time Series Analysis | Data Scie...Edureka!
 
Data Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series ForecastingData Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series ForecastingDerek Kane
 
Time series forecasting with machine learning
Time series forecasting with machine learningTime series forecasting with machine learning
Time series forecasting with machine learningDr Wei Liu
 
Time series analysis
Time series analysisTime series analysis
Time series analysisFaltu Focat
 
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...Smarten Augmented Analytics
 
Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...
Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...
Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...Databricks
 
Forecasting Quantitative - Time Series.ppt
Forecasting Quantitative - Time Series.pptForecasting Quantitative - Time Series.ppt
Forecasting Quantitative - Time Series.pptbookworm65
 
Lesson 4 ar-ma
Lesson 4 ar-maLesson 4 ar-ma
Lesson 4 ar-maankit_ppt
 
Time-series Analysis in Minutes
Time-series Analysis in MinutesTime-series Analysis in Minutes
Time-series Analysis in MinutesOrzota
 

What's hot (20)

Timeseries forecasting
Timeseries forecastingTimeseries forecasting
Timeseries forecasting
 
Analysis of Time Series
Analysis of Time SeriesAnalysis of Time Series
Analysis of Time Series
 
Time Series Analysis Ravi
Time Series Analysis RaviTime Series Analysis Ravi
Time Series Analysis Ravi
 
Time series slideshare
Time series slideshareTime series slideshare
Time series slideshare
 
Time series Analysis
Time series AnalysisTime series Analysis
Time series Analysis
 
Time Series In R | Time Series Forecasting | Time Series Analysis | Data Scie...
Time Series In R | Time Series Forecasting | Time Series Analysis | Data Scie...Time Series In R | Time Series Forecasting | Time Series Analysis | Data Scie...
Time Series In R | Time Series Forecasting | Time Series Analysis | Data Scie...
 
Time series.ppt
Time series.pptTime series.ppt
Time series.ppt
 
R time series analysis
R   time series analysisR   time series analysis
R time series analysis
 
Time Series FORECASTING
Time Series FORECASTINGTime Series FORECASTING
Time Series FORECASTING
 
Data Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series ForecastingData Science - Part X - Time Series Forecasting
Data Science - Part X - Time Series Forecasting
 
time series analysis
time series analysistime series analysis
time series analysis
 
Time series forecasting with machine learning
Time series forecasting with machine learningTime series forecasting with machine learning
Time series forecasting with machine learning
 
Machine learning & Time Series Analysis
Machine learning & Time Series AnalysisMachine learning & Time Series Analysis
Machine learning & Time Series Analysis
 
Time Series - 1
Time Series - 1Time Series - 1
Time Series - 1
 
Time series analysis
Time series analysisTime series analysis
Time series analysis
 
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...
What is the Holt-Winters Forecasting Algorithm and How Can it be Used for Ent...
 
Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...
Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...
Time Series Forecasting Using Recurrent Neural Network and Vector Autoregress...
 
Forecasting Quantitative - Time Series.ppt
Forecasting Quantitative - Time Series.pptForecasting Quantitative - Time Series.ppt
Forecasting Quantitative - Time Series.ppt
 
Lesson 4 ar-ma
Lesson 4 ar-maLesson 4 ar-ma
Lesson 4 ar-ma
 
Time-series Analysis in Minutes
Time-series Analysis in MinutesTime-series Analysis in Minutes
Time-series Analysis in Minutes
 

Similar to Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data Science | Simplilearn

Demand forecasting by time series analysis
Demand forecasting by time series analysisDemand forecasting by time series analysis
Demand forecasting by time series analysisSunny Gandhi
 
Time series.ppt for pre university students
Time series.ppt for pre university studentsTime series.ppt for pre university students
Time series.ppt for pre university studentsIRENAEUSALANTHONYMAR
 
Module 3 - Time Series.pptx
Module 3 - Time Series.pptxModule 3 - Time Series.pptx
Module 3 - Time Series.pptxnikshaikh786
 
Economic Forecasting Final Memo
Economic Forecasting Final MemoEconomic Forecasting Final Memo
Economic Forecasting Final MemoHannah Badgley
 
Business forecasting and timeseries analysis phpapp02
Business forecasting and timeseries analysis phpapp02Business forecasting and timeseries analysis phpapp02
Business forecasting and timeseries analysis phpapp02MD ASADUZZAMAN
 
Applied Statistics Chapter 2 Time series (1).ppt
Applied Statistics Chapter 2 Time series (1).pptApplied Statistics Chapter 2 Time series (1).ppt
Applied Statistics Chapter 2 Time series (1).pptswamyvivekp
 
ASSESSMENT CASE PAPER ANALYSIS / TUTORIALOUTLET DOT COM
ASSESSMENT CASE PAPER ANALYSIS / TUTORIALOUTLET DOT COMASSESSMENT CASE PAPER ANALYSIS / TUTORIALOUTLET DOT COM
ASSESSMENT CASE PAPER ANALYSIS / TUTORIALOUTLET DOT COMjorge0048
 
SalesyearQ1Q2Q3Q43.569199510004.1521995.25000000000001003.9981995.50.docx
SalesyearQ1Q2Q3Q43.569199510004.1521995.25000000000001003.9981995.50.docxSalesyearQ1Q2Q3Q43.569199510004.1521995.25000000000001003.9981995.50.docx
SalesyearQ1Q2Q3Q43.569199510004.1521995.25000000000001003.9981995.50.docxjeffsrosalyn
 
Analyzing and forecasting time series data ppt @ bec doms
Analyzing and forecasting time series data ppt @ bec domsAnalyzing and forecasting time series data ppt @ bec doms
Analyzing and forecasting time series data ppt @ bec domsBabasab Patil
 
Operations Management in the Supply Chain Decisions and Cases 7th Edition Sch...
Operations Management in the Supply Chain Decisions and Cases 7th Edition Sch...Operations Management in the Supply Chain Decisions and Cases 7th Edition Sch...
Operations Management in the Supply Chain Decisions and Cases 7th Edition Sch...Dorianner
 
Forecasting Slides
Forecasting SlidesForecasting Slides
Forecasting Slidesknksmart
 
time series.pdf
time series.pdftime series.pdf
time series.pdfcollege
 
Data Mining Techniques Using R and WEKA
Data Mining Techniques Using R and WEKAData Mining Techniques Using R and WEKA
Data Mining Techniques Using R and WEKAUtsav Mone
 
Wave process cycle and_market
Wave process cycle and_marketWave process cycle and_market
Wave process cycle and_marketLeadingTrader21
 
Chapter 7 Forecasting Time Series ModelsLan WangCSU East .docx
Chapter 7 Forecasting Time Series ModelsLan WangCSU East .docxChapter 7 Forecasting Time Series ModelsLan WangCSU East .docx
Chapter 7 Forecasting Time Series ModelsLan WangCSU East .docxchristinemaritza
 
The Death of a Salesman
The Death of a SalesmanThe Death of a Salesman
The Death of a SalesmanHouston Hunter
 
Large Scale Automatic Forecasting for Millions of Forecasts
Large Scale Automatic Forecasting for Millions of ForecastsLarge Scale Automatic Forecasting for Millions of Forecasts
Large Scale Automatic Forecasting for Millions of ForecastsAjay Ohri
 

Similar to Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data Science | Simplilearn (20)

Demand forecasting by time series analysis
Demand forecasting by time series analysisDemand forecasting by time series analysis
Demand forecasting by time series analysis
 
Time series
Time seriesTime series
Time series
 
Time series.ppt for pre university students
Time series.ppt for pre university studentsTime series.ppt for pre university students
Time series.ppt for pre university students
 
Time series
Time series Time series
Time series
 
Module 3 - Time Series.pptx
Module 3 - Time Series.pptxModule 3 - Time Series.pptx
Module 3 - Time Series.pptx
 
Economic Forecasting Final Memo
Economic Forecasting Final MemoEconomic Forecasting Final Memo
Economic Forecasting Final Memo
 
Business forecasting and timeseries analysis phpapp02
Business forecasting and timeseries analysis phpapp02Business forecasting and timeseries analysis phpapp02
Business forecasting and timeseries analysis phpapp02
 
Applied Statistics Chapter 2 Time series (1).ppt
Applied Statistics Chapter 2 Time series (1).pptApplied Statistics Chapter 2 Time series (1).ppt
Applied Statistics Chapter 2 Time series (1).ppt
 
ASSESSMENT CASE PAPER ANALYSIS / TUTORIALOUTLET DOT COM
ASSESSMENT CASE PAPER ANALYSIS / TUTORIALOUTLET DOT COMASSESSMENT CASE PAPER ANALYSIS / TUTORIALOUTLET DOT COM
ASSESSMENT CASE PAPER ANALYSIS / TUTORIALOUTLET DOT COM
 
SalesyearQ1Q2Q3Q43.569199510004.1521995.25000000000001003.9981995.50.docx
SalesyearQ1Q2Q3Q43.569199510004.1521995.25000000000001003.9981995.50.docxSalesyearQ1Q2Q3Q43.569199510004.1521995.25000000000001003.9981995.50.docx
SalesyearQ1Q2Q3Q43.569199510004.1521995.25000000000001003.9981995.50.docx
 
Moving average.pptx
Moving average.pptxMoving average.pptx
Moving average.pptx
 
Analyzing and forecasting time series data ppt @ bec doms
Analyzing and forecasting time series data ppt @ bec domsAnalyzing and forecasting time series data ppt @ bec doms
Analyzing and forecasting time series data ppt @ bec doms
 
Operations Management in the Supply Chain Decisions and Cases 7th Edition Sch...
Operations Management in the Supply Chain Decisions and Cases 7th Edition Sch...Operations Management in the Supply Chain Decisions and Cases 7th Edition Sch...
Operations Management in the Supply Chain Decisions and Cases 7th Edition Sch...
 
Forecasting Slides
Forecasting SlidesForecasting Slides
Forecasting Slides
 
time series.pdf
time series.pdftime series.pdf
time series.pdf
 
Data Mining Techniques Using R and WEKA
Data Mining Techniques Using R and WEKAData Mining Techniques Using R and WEKA
Data Mining Techniques Using R and WEKA
 
Wave process cycle and_market
Wave process cycle and_marketWave process cycle and_market
Wave process cycle and_market
 
Chapter 7 Forecasting Time Series ModelsLan WangCSU East .docx
Chapter 7 Forecasting Time Series ModelsLan WangCSU East .docxChapter 7 Forecasting Time Series ModelsLan WangCSU East .docx
Chapter 7 Forecasting Time Series ModelsLan WangCSU East .docx
 
The Death of a Salesman
The Death of a SalesmanThe Death of a Salesman
The Death of a Salesman
 
Large Scale Automatic Forecasting for Millions of Forecasts
Large Scale Automatic Forecasting for Millions of ForecastsLarge Scale Automatic Forecasting for Millions of Forecasts
Large Scale Automatic Forecasting for Millions of Forecasts
 

More from Simplilearn

🔥 Top 5 Skills For Data Engineer In 2023 | Data Engineer Skills Required For ...
🔥 Top 5 Skills For Data Engineer In 2023 | Data Engineer Skills Required For ...🔥 Top 5 Skills For Data Engineer In 2023 | Data Engineer Skills Required For ...
🔥 Top 5 Skills For Data Engineer In 2023 | Data Engineer Skills Required For ...Simplilearn
 
🔥 6 Reasons To Become A Data Engineer | Why You Should Become A Data Engineer...
🔥 6 Reasons To Become A Data Engineer | Why You Should Become A Data Engineer...🔥 6 Reasons To Become A Data Engineer | Why You Should Become A Data Engineer...
🔥 6 Reasons To Become A Data Engineer | Why You Should Become A Data Engineer...Simplilearn
 
Project Manager vs Program Manager - What’s the Difference ? | Project Manage...
Project Manager vs Program Manager - What’s the Difference ? | Project Manage...Project Manager vs Program Manager - What’s the Difference ? | Project Manage...
Project Manager vs Program Manager - What’s the Difference ? | Project Manage...Simplilearn
 
Deloitte Interview Questions And Answers | Top 45 Deloitte Interview Question...
Deloitte Interview Questions And Answers | Top 45 Deloitte Interview Question...Deloitte Interview Questions And Answers | Top 45 Deloitte Interview Question...
Deloitte Interview Questions And Answers | Top 45 Deloitte Interview Question...Simplilearn
 
🔥 Deep Learning Roadmap 2024 | Deep Learning Career Path 2024 | Simplilearn
🔥 Deep Learning Roadmap 2024 | Deep Learning Career Path 2024 | Simplilearn🔥 Deep Learning Roadmap 2024 | Deep Learning Career Path 2024 | Simplilearn
🔥 Deep Learning Roadmap 2024 | Deep Learning Career Path 2024 | SimplilearnSimplilearn
 
ChatGPT in Cybersecurity
ChatGPT in CybersecurityChatGPT in Cybersecurity
ChatGPT in CybersecuritySimplilearn
 
Whatis SQL Injection.pptx
Whatis SQL Injection.pptxWhatis SQL Injection.pptx
Whatis SQL Injection.pptxSimplilearn
 
Top 5 High Paying Cloud Computing Jobs in 2023
 Top 5 High Paying Cloud Computing Jobs in 2023  Top 5 High Paying Cloud Computing Jobs in 2023
Top 5 High Paying Cloud Computing Jobs in 2023 Simplilearn
 
Types Of Cloud Jobs In 2024
Types Of Cloud Jobs In 2024Types Of Cloud Jobs In 2024
Types Of Cloud Jobs In 2024Simplilearn
 
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...Simplilearn
 
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...Simplilearn
 
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...Simplilearn
 
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...Simplilearn
 
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...Simplilearn
 
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...Simplilearn
 
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...Simplilearn
 
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...Simplilearn
 
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...Simplilearn
 
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...Simplilearn
 
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...Simplilearn
 

More from Simplilearn (20)

🔥 Top 5 Skills For Data Engineer In 2023 | Data Engineer Skills Required For ...
🔥 Top 5 Skills For Data Engineer In 2023 | Data Engineer Skills Required For ...🔥 Top 5 Skills For Data Engineer In 2023 | Data Engineer Skills Required For ...
🔥 Top 5 Skills For Data Engineer In 2023 | Data Engineer Skills Required For ...
 
🔥 6 Reasons To Become A Data Engineer | Why You Should Become A Data Engineer...
🔥 6 Reasons To Become A Data Engineer | Why You Should Become A Data Engineer...🔥 6 Reasons To Become A Data Engineer | Why You Should Become A Data Engineer...
🔥 6 Reasons To Become A Data Engineer | Why You Should Become A Data Engineer...
 
Project Manager vs Program Manager - What’s the Difference ? | Project Manage...
Project Manager vs Program Manager - What’s the Difference ? | Project Manage...Project Manager vs Program Manager - What’s the Difference ? | Project Manage...
Project Manager vs Program Manager - What’s the Difference ? | Project Manage...
 
Deloitte Interview Questions And Answers | Top 45 Deloitte Interview Question...
Deloitte Interview Questions And Answers | Top 45 Deloitte Interview Question...Deloitte Interview Questions And Answers | Top 45 Deloitte Interview Question...
Deloitte Interview Questions And Answers | Top 45 Deloitte Interview Question...
 
🔥 Deep Learning Roadmap 2024 | Deep Learning Career Path 2024 | Simplilearn
🔥 Deep Learning Roadmap 2024 | Deep Learning Career Path 2024 | Simplilearn🔥 Deep Learning Roadmap 2024 | Deep Learning Career Path 2024 | Simplilearn
🔥 Deep Learning Roadmap 2024 | Deep Learning Career Path 2024 | Simplilearn
 
ChatGPT in Cybersecurity
ChatGPT in CybersecurityChatGPT in Cybersecurity
ChatGPT in Cybersecurity
 
Whatis SQL Injection.pptx
Whatis SQL Injection.pptxWhatis SQL Injection.pptx
Whatis SQL Injection.pptx
 
Top 5 High Paying Cloud Computing Jobs in 2023
 Top 5 High Paying Cloud Computing Jobs in 2023  Top 5 High Paying Cloud Computing Jobs in 2023
Top 5 High Paying Cloud Computing Jobs in 2023
 
Types Of Cloud Jobs In 2024
Types Of Cloud Jobs In 2024Types Of Cloud Jobs In 2024
Types Of Cloud Jobs In 2024
 
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
Top 12 AI Technologies To Learn 2024 | Top AI Technologies in 2024 | AI Trend...
 
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
What is LSTM ?| Long Short Term Memory Explained with Example | Deep Learning...
 
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
Top 10 Chat GPT Use Cases | ChatGPT Applications | ChatGPT Tutorial For Begin...
 
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
React JS Vs Next JS - What's The Difference | Next JS Tutorial For Beginners ...
 
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
Backpropagation in Neural Networks | Back Propagation Algorithm with Examples...
 
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
How to Become a Business Analyst ?| Roadmap to Become Business Analyst | Simp...
 
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
Career Opportunities In Artificial Intelligence 2023 | AI Job Opportunities |...
 
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
Programming for Beginners | How to Start Coding in 2023? | Introduction to Pr...
 
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
Best IDE for Programming in 2023 | Top 8 Programming IDE You Should Know | Si...
 
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
React 18 Overview | React 18 New Features and Changes | React 18 Tutorial 202...
 
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
What Is Next JS ? | Introduction to Next JS | Basics of Next JS | Next JS Tut...
 

Recently uploaded

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationDelapenabediema
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chipsGeoBlogs
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePedroFerreira53928
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxricssacare
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfYibeltalNibretu
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptxJosvitaDsouza2
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfkaushalkr1407
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfQucHHunhnh
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxssuserbdd3e8
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...Jisc
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPCeline George
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...Denish Jangid
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportAvinash Rai
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleCeline George
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismDeeptiGupta154
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasGeoBlogs
 

Recently uploaded (20)

The Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official PublicationThe Challenger.pdf DNHS Official Publication
The Challenger.pdf DNHS Official Publication
 
Fish and Chips - have they had their chips
Fish and Chips - have they had their chipsFish and Chips - have they had their chips
Fish and Chips - have they had their chips
 
PART A. Introduction to Costumer Service
PART A. Introduction to Costumer ServicePART A. Introduction to Costumer Service
PART A. Introduction to Costumer Service
 
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptxJose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
Jose-Rizal-and-Philippine-Nationalism-National-Symbol-2.pptx
 
Accounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdfAccounting and finance exit exam 2016 E.C.pdf
Accounting and finance exit exam 2016 E.C.pdf
 
B.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdfB.ed spl. HI pdusu exam paper-2023-24.pdf
B.ed spl. HI pdusu exam paper-2023-24.pdf
 
1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx1.4 modern child centered education - mahatma gandhi-2.pptx
1.4 modern child centered education - mahatma gandhi-2.pptx
 
The Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdfThe Roman Empire A Historical Colossus.pdf
The Roman Empire A Historical Colossus.pdf
 
NCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdfNCERT Solutions Power Sharing Class 10 Notes pdf
NCERT Solutions Power Sharing Class 10 Notes pdf
 
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdfDanh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
Danh sách HSG Bộ môn cấp trường - Cấp THPT.pdf
 
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup   New Member Orientation and Q&A (May 2024).pdfWelcome to TechSoup   New Member Orientation and Q&A (May 2024).pdf
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdf
 
NLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptxNLC-2024-Orientation-for-RO-SDO (1).pptx
NLC-2024-Orientation-for-RO-SDO (1).pptx
 
How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...How libraries can support authors with open access requirements for UKRI fund...
How libraries can support authors with open access requirements for UKRI fund...
 
How to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERPHow to Create Map Views in the Odoo 17 ERP
How to Create Map Views in the Odoo 17 ERP
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...Basic Civil Engineering Notes of Chapter-6,  Topic- Ecosystem, Biodiversity G...
Basic Civil Engineering Notes of Chapter-6, Topic- Ecosystem, Biodiversity G...
 
Industrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training ReportIndustrial Training Report- AKTU Industrial Training Report
Industrial Training Report- AKTU Industrial Training Report
 
How to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS ModuleHow to Split Bills in the Odoo 17 POS Module
How to Split Bills in the Odoo 17 POS Module
 
Overview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with MechanismOverview on Edible Vaccine: Pros & Cons with Mechanism
Overview on Edible Vaccine: Pros & Cons with Mechanism
 
The geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideasThe geography of Taylor Swift - some ideas
The geography of Taylor Swift - some ideas
 

Time Series Analysis - 1 | Time Series in R | Time Series Forecasting | Data Science | Simplilearn

  • 2. What’s in it for you? Why Time Series? What is Time Series? Components of a Time Series When NOT to use Time Series? Why does a Time Series have to be stationary? How to make a Time Series stationary? Example: Forecast car sales for 5th year
  • 3.
  • 4. Well, you can actually do that with Time Series forecasting
  • 5. Well, you can actually do that with Time Series forecasting Daily Stock Price Sales figures where the outcome (independent variable) is dependent on time In such scenarios, we use Time Series forecasting Weekly interest rates We can predict:
  • 6. But first, let me tell you what is Time Series!
  • 7. What is Time Series? A Time Series data for stock price analysis may look like this: The stock prices change everyday!
  • 8. What is Time Series? A simple plot shows that it is increasing with time!
  • 9. What is Time Series? It is time-dependent These data points (past values) are analyzed to forecast a future A Time Series is a sequence of data being recorded at specific time intervals
  • 10. Time Series is affected by four main components
  • 11. Time Series is affected by four main components Trend Seasonality Cyclicity Irregularity
  • 12. But what do they mean?
  • 13. Time Series is affected by four main components Trend is the increase or decrease in the series over a period of time, it persists over a long period of time Example: Population growth over the years can be seen as an upward trend Trend
  • 14. Time Series is affected by four main components Regular pattern of up and down fluctuations It is a short-term variation occurring due to seasonal factors Example: Sales of ice-cream increases during summer season Seasonality
  • 15. Time Series is affected by four main components It is a medium-term variation caused by circumstances, which repeat in irregular intervals Example: 5 years of economic growth, followed by 2 years of economic recession, followed be 7 years of economic growth followed by 1 year of economic recession Cyclicity
  • 16. Time Series is affected by four main components It refers to variations which occur due to unpredictable factors and also do not repeat in particular patterns Example: Variations caused by incidents like earthquake, floods, war etc. Irregularity
  • 17. Are there conditions where we shouldn’t use Time Series?
  • 18. 1 When NOT to use Time Series Analysis? There are various conditions where you should not use Time Series: When the values are constant over a period of time:
  • 19. When NOT to use Time Series Analysis? When values can be represented by known functions like cosx, sinx etc: There are various conditions where you should not use Time Series: 2
  • 20. Before forecasting, you should make sure that Time Series is stationary
  • 21. Why? And what do you mean by making time series stationary?
  • 22. Okay, first let’s understand what is Non-Stationary Time Series!
  • 23. You remember the four components of Time Series?
  • 24. Time Series is affected by four main components Trend Seasonality Cyclicity Irregularity
  • 25. If these components are present in Time Series data, it is a Non-Stationary Time Series Data.
  • 26. Time Series is affected by four main components For example, look at this graph: 0 1 2 3 4 5 6 7 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 Year 1 Year 2 Year 3 Year 4 Time Series Forecasting Here, the mean is non-constant and there is clearly an upward trend
  • 28. Stationarity of Time Series When a Time Series is stationary, we can identify previously unnoticed components to strengthen their forecasting A Non-stationary Time Series has trend and seasonality components, which will affect the forecasting of Time Series
  • 29. How do you differentiate between a stationary and Non-Stationary time series?
  • 30. How do you differentiate between a stationary and Non-Stationary time series?Stationarity of Time Series depends on: Mean Variance Co-Variance
  • 31. Stationarity of Time Series The mean of the series should not be a function of time rather should be a constant Here, mean is constant with time Here, mean is increasing with time Stationary Non-Stationary
  • 32. Stationarity of Time Series The variance of the series should not be a function of time Stationary Non-Stationary Notice, the varying spread of distribution in the red grapgh, this shows that variance is changing with time
  • 33. Stationarity of Time Series The covariance of the i th term and the (i + m) th term should not be a function of time Stationary Non-Stationary The spread becomes closer as the time increases. Hence, the covariance is not constant with time for the ‘red series’ and is Non-Stationary!
  • 34. Before I tell you how to make it stationary and model it, let’s look at Moving Average method
  • 36. What is that? A moving average is a technique to get an overall idea of the trends in a data set; it is an average of any subset of numbers Let’s say that you have been in business for three months, January through March, and wanted to forecast April’s sales. Your sales for the last three months look like this:
  • 37. What is that? Moving Average(3) would be to take the average of January through March and use that to estimate April’s sales: (129 + 134 + 122)/3 = $128.333
  • 38. What is that? Hence, based on the sales of January through March, you predict that sales in April will be $128.333 Once April’s actual sales come in, you would then compute the forecast for May, this time using February through April
  • 39. Lets begin with an example to forecast car sales
  • 40. What is that? Here, we have Quarterly sales data for car sales. Let’s look at the data to see how it moves through time Year Quarter Sales(1000s) Year 1 1 2.8 2 2.1 3 4 4 4.5 Year 2 1 3.8 2 3.2 3 4.8 4 5.4 Year 3 1 4 2 3.6 3 5.5 4 5.8 Year 4 1 4.3 2 3.9 3 6 4 6.4
  • 41. What is that? Year Quarter Sales(1000s) Year 1 1 2.8 2 2.1 3 4 4 4.5 Year 2 1 3.8 2 3.2 3 4.8 4 5.4 Year 3 1 4 2 3.6 3 5.5 4 5.8 Year 4 1 4.3 2 3.9 3 6 4 6.4 Year 5 1 ? 2 ? 3 ? 4 ? We want to forecast the sales for the next four quarters (or the fifth year)
  • 42. Example to forecast Time Series Plot of our Time Series data for the first four years looks like: 0 1 2 3 4 5 6 7 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 Year 1 Year 2 Year 3 Year 4 Time Series Forecasting
  • 43. Example to forecast Time Series Clearly, we see that the curve repeats in a pattern after every quarter (yearly) indicating seasonality:
  • 44. Example to forecast Time Series And the overall direction of the plot is increasing, known as the “trend component”:
  • 45. And even though the pattern is clearly visible there is no data as perfect data, it will have some variability
  • 46. That is the irregular component
  • 47. What is that? t Year Quarter Sales(1000s) 1 Year 1 1 2.8 2 2 2.1 3 3 4 4 4 4.5 5 Year 2 1 3.8 6 2 3.2 7 3 4.8 8 4 5.4 9 Year 3 1 4 10 2 3.6 11 3 5.5 12 4 5.8 13 Year 4 1 4.3 14 2 3.9 15 3 6 16 4 6.4 We will give a time code(t) variable to each row indicating each time period, we will use this variable later:
  • 48. What is that?t Year Quarter Sales(1000s) MA(4) 1 Year 1 1 2.8 2 2 2.1 3 3 4 3.4 4 4 4.5 3.6 5 Year 2 1 3.8 3.9 6 2 3.2 4.1 7 3 4.8 4.3 8 4 5.4 4.4 9 Year 3 1 4 4.5 10 2 3.6 4.6 11 3 5.5 4.7 12 4 5.8 4.8 13 Year 4 1 4.3 4.9 14 2 3.9 5.0 15 3 6 5.2 16 4 6.4 Here, we have calculate Moving Average(4) for the first four quarters: (2.8+2.1+4+4.5)/4
  • 49. What is that?t Year Quarter Sales(1000s) MA(4) 1 Year 1 1 2.8 2 2 2.1 3 3 4 3.4 4 4 4.5 3.6 5 Year 2 1 3.8 3.9 6 2 3.2 4.1 7 3 4.8 4.3 8 4 5.4 4.4 9 Year 3 1 4 4.5 10 2 3.6 4.6 11 3 5.5 4.7 12 4 5.8 4.8 13 Year 4 1 4.3 4.9 14 2 3.9 5.0 15 3 6 5.2 16 4 6.4 Now, for next four the values shift and we calculate as follows: (2.1+4+4.5+3.8)/4
  • 50. What is that?t Year Quarter Sales(1000s) MA(4) 1 Year 1 1 2.8 2 2 2.1 3 3 4 3.4 4 4 4.5 3.6 5 Year 2 1 3.8 3.9 6 2 3.2 4.1 7 3 4.8 4.3 8 4 5.4 4.4 9 Year 3 1 4 4.5 10 2 3.6 4.6 11 3 5.5 4.7 12 4 5.8 4.8 13 Year 4 1 4.3 4.9 14 2 3.9 5.0 15 3 6 5.2 16 4 6.4 And so on.. Similarly, calculate the remaining values:
  • 51. What is that?t Year Quarter Sales(1000s) MA(4) CMA 1 Year 1 1 2.8 2 2 2.1 3 3 4 3.4 3.5 4 4 4.5 3.6 3.7 5 Year 2 1 3.8 3.9 4.0 6 2 3.2 4.1 4.2 7 3 4.8 4.3 4.3 8 4 5.4 4.4 4.4 9 Year 3 1 4 4.5 4.5 10 2 3.6 4.6 4.7 11 3 5.5 4.7 4.8 12 4 5.8 4.8 4.8 13 Year 4 1 4.3 4.9 4.9 14 2 3.9 5.0 5.1 15 3 6 5.2 16 4 6.4 Now, since the moving average is not centered because of even number of data points, we will have to calculate “Centered Moving Average” as shown:
  • 52. What is that? We will give a time code(t) variable to each row indicating each time period, let’s this variable later: t Year Quarter Sales(1000s) MA(4) CMA 1 Year 1 1 2.8 2 2 2.1 3 3 4 3.4 3.5 4 4 4.5 3.6 3.7 5 Year 2 1 3.8 3.9 4.0 6 2 3.2 4.1 4.2 7 3 4.8 4.3 4.3 8 4 5.4 4.4 4.4 9 Year 3 1 4 4.5 4.5 10 2 3.6 4.6 4.7 11 3 5.5 4.7 4.8 12 4 5.8 4.8 4.8 13 Year 4 1 4.3 4.9 4.9 14 2 3.9 5.0 5.1 15 3 6 5.2 16 4 6.4
  • 53. What is that? We will give a time code(t) variable to each row indicating each time period, let’s discuss this variable later: t Year Quarter Sales(1000s) MA(4) CMA 1 Year 1 1 2.8 2 2 2.1 3 3 4 3.4 3.5 4 4 4.5 3.6 3.7 5 Year 2 1 3.8 3.9 4.0 6 2 3.2 4.1 4.2 7 3 4.8 4.3 4.3 8 4 5.4 4.4 4.4 9 Year 3 1 4 4.5 4.5 10 2 3.6 4.6 4.7 11 3 5.5 4.7 4.8 12 4 5.8 4.8 4.8 13 Year 4 1 4.3 4.9 4.9 14 2 3.9 5.0 5.1 15 3 6 5.2 16 4 6.4
  • 54. How do you know that the data is smoothened?
  • 55. Let’s visualize this to see the difference between the original data and the smoothened data
  • 56. Example to forecast Time Series The blue line which represents “Centered Moving Average” is smoothened as compared to the original data, as we can see in the plot: 0 1 2 3 4 5 6 7 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 Year 1 Year 2 Year 3 Year 4 Time Series Forecasting Time Series Data CMA
  • 57. Example to forecast Time Series Smoothening means taking out the seasonal component and the irregular component: 0 1 2 3 4 5 6 7 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 Year 1 Year 2 Year 3 Year 4 Time Series Forecasting Time Series Data CMA
  • 58. Example to forecast Time Series So, we can now extract the seasonal and irregular components from the original data: 0 1 2 3 4 5 6 7 1 2 3 4 1 2 3 4 1 2 3 4 1 2 3 4 Year 1 Year 2 Year 3 Year 4 Time Series Forecasting Time Series Data CMA
  • 59. Why are we extracting these components anyway?
  • 60. Good Question! These components will be used later for forecasting!
  • 61. Example to forecast Time Series In classical multiplicative model, Time Series value at time t = St * It * Tt So, we calculate Seasonal and Irregular components by: St , It = Yt /CMA Yt baseline Yt/CMA Year Quarter Sales(1000 s) MA(4) CMA St, It Year 1 1 2.8 2 2.1 3 4 3.4 3.5 1.15 4 4.5 3.6 3.7 1.20 Year 2 1 3.8 3.9 4.0 0.96 2 3.2 4.1 4.2 0.76 3 4.8 4.3 4.3 1.11 4 5.4 4.4 4.4 1.23 Year 3 1 4 4.5 4.5 0.88 2 3.6 4.6 4.7 0.77 3 5.5 4.7 4.8 1.15 4 5.8 4.8 4.8 1.20 Year 4 1 4.3 4.9 4.9 0.87 2 3.9 5.0 5.1 0.77 3 6 5.2 4 6.4
  • 62. Example to forecast Time Series Now, let’s get rid of the irregular component. We can calculate only the seasonal component of every quarter by averaging each quarter per year Year Quarter Sales(1000s) MA(4) CMA St, It St Year 1 1 2.8 0.90 2 2.1 0.77 3 4 3.4 3.5 1.15 1.14 4 4.5 3.6 3.7 1.20 1.21 Year 2 1 3.8 3.9 4.0 0.96 0.90 2 3.2 4.1 4.2 0.76 0.77 3 4.8 4.3 4.3 1.11 1.14 4 5.4 4.4 4.4 1.23 1.21 Year 3 1 4 4.5 4.5 0.88 0.90 2 3.6 4.6 4.7 0.77 0.77 3 5.5 4.7 4.8 1.15 1.14 4 5.8 4.8 4.8 1.20 1.21 Year 4 1 4.3 4.9 4.9 0.87 0.90 2 3.9 5.0 5.1 0.77 0.77 3 6 5.2 1.14 4 6.4 1.21
  • 63. Example to forecast Time Series Now, let’s de-seasonalize the data: Yt baseline Yt/CMA Yt/St Year Quarter Sales(1000s) MA(4) CMA St, It St De-seasonalize Year 1 1 2.8 0.90 3.10 2 2.1 0.77 2.74 3 4 3.4 3.5 1.15 1.14 3.51 4 4.5 3.6 3.7 1.20 1.21 3.72 Year 2 1 3.8 3.9 4.0 0.96 0.90 4.21 2 3.2 4.1 4.2 0.76 0.77 4.17 3 4.8 4.3 4.3 1.11 1.14 4.22 4 5.4 4.4 4.4 1.23 1.21 4.46 Year 3 1 4 4.5 4.5 0.88 0.90 4.43 2 3.6 4.6 4.7 0.77 0.77 4.69 3 5.5 4.7 4.8 1.15 1.14 4.83 4 5.8 4.8 4.8 1.20 1.21 4.79 Year 4 1 4.3 4.9 4.9 0.87 0.90 4.76 2 3.9 5.0 5.1 0.77 0.77 5.08 3 6 5.2 1.14 5.27 4 6.4 1.21 5.29
  • 64. So, we have finally got rid of the seasonal and the irregular components!
  • 65. Yes! Now we will quickly remove the trend component before forecasting
  • 67. But first, let’s calculate the intercept and slope of the data as it is required to calculate the trend component
  • 68. Example to forecast Time Series Using simple regression, we will calculate the regression statistics using ‘Data Analysis’ feature in excel!
  • 69. Example to forecast Time Series Using simple regression, we will calculate the regression statistics using ‘Data Analysis’ feature in excel! Intercept Slope
  • 70. So, to calculate trend, we will need intercept and slope as seen in previous slide
  • 71. Example to forecast Time Series Trend = Intercept + Slope * Time code
  • 72. Example to forecast Time Series Trend = Intercept + Slope * Time code Trend Component = Intercept + Slope * Time Code
  • 73. What is that? So, using the multiplicative model, we can make the predictions. To do that, we have to combine all the components that we separated Predicted (Yp) = Seasonal component (St ) * Trend Component (Tt )
  • 74. Example to forecast Time Series We see that the predicted values(Yp) are similar to the actual values(Yt) Hence, our calculations are correct t Year Quarter Yt St De-Seasonalize Tt Predicted (Yp) 1 Year 1 1 2.8 0.90 3.10 3.21 2.90 2 2 2.1 0.77 2.74 3.36 2.58 3 3 4 1.14 3.51 3.51 4.00 4 4 4.5 1.21 3.72 3.66 4.43 5 Year 2 1 3.8 0.90 4.21 3.81 3.44 6 2 3.2 0.77 4.17 3.96 3.04 7 3 4.8 1.14 4.22 4.11 4.68 8 4 5.4 1.21 4.46 4.26 5.15 9 Year 3 1 4 0.90 4.43 4.40 3.98 10 2 3.6 0.77 4.69 4.55 3.49 11 3 5.5 1.14 4.83 4.70 5.35 12 4 5.8 1.21 4.79 4.85 5.87 13 Year 4 1 4.3 0.90 4.76 5.00 4.51 14 2 3.9 0.77 5.08 5.15 3.95 15 3 6 1.14 5.27 5.30 6.03 16 4 6.4 1.21 5.29 5.45 6.59
  • 75. Now, let’s forecast the values for the four quarters of the 5th year
  • 76. As you know the seasonal component will remain the same for the Time Series Data
  • 77. And using that seasonal component, intercept and slope, we can calculate the trend component easily
  • 78. What is that? t Year Quarter Yt MA(4) CMA St, It St De- Seasonalize Tt 1 Year 1 1 2.8 0.90 3.10 3.21 2 2 2.1 0.77 2.74 3.36 3 3 4 3.4 3.5 1.15 1.14 3.51 3.51 4 4 4.5 3.6 3.7 1.20 1.21 3.72 3.66 5 Year 2 1 3.8 3.9 4.0 0.96 0.90 4.21 3.81 6 2 3.2 4.1 4.2 0.76 0.77 4.17 3.96 7 3 4.8 4.3 4.3 1.11 1.14 4.22 4.11 8 4 5.4 4.4 4.4 1.23 1.21 4.46 4.26 9 Year 3 1 4 4.5 4.5 0.88 0.90 4.43 4.40 10 2 3.6 4.6 4.7 0.77 0.77 4.69 4.55 11 3 5.5 4.7 4.8 1.15 1.14 4.83 4.70 12 4 5.8 4.8 4.8 1.20 1.21 4.79 4.85 13 Year 4 1 4.3 4.9 4.9 0.87 0.90 4.76 5.00 14 2 3.9 5.0 5.1 0.77 0.77 5.08 5.15 15 3 6 5.2 1.14 5.27 5.30 16 4 6.4 1.21 5.29 5.45 17 Year 5 1 ? 0.90 5.59 18 2 ? 0.77 5.74 19 3 ? 1.14 5.89 20 4 ? 1.21 6.04
  • 79. Because to forecast, we only need these two component. So, let’s not do the other unnecessary calculations!
  • 80. What is that? t Year Quarter Yt MA(4) CMA St, It St De- Seasonalize Tt Predicted (Yp) 1 Year 1 1 2.8 0.90 3.10 3.21 2.90 2 2 2.1 0.77 2.74 3.36 2.58 3 3 4 3.4 3.5 1.15 1.14 3.51 3.51 4.00 4 4 4.5 3.6 3.7 1.20 1.21 3.72 3.66 4.43 5 Year 2 1 3.8 3.9 4.0 0.96 0.90 4.21 3.81 3.44 6 2 3.2 4.1 4.2 0.76 0.77 4.17 3.96 3.04 7 3 4.8 4.3 4.3 1.11 1.14 4.22 4.11 4.68 8 4 5.4 4.4 4.4 1.23 1.21 4.46 4.26 5.15 9 Year 3 1 4 4.5 4.5 0.88 0.90 4.43 4.40 3.98 10 2 3.6 4.6 4.7 0.77 0.77 4.69 4.55 3.49 11 3 5.5 4.7 4.8 1.15 1.14 4.83 4.70 5.35 12 4 5.8 4.8 4.8 1.20 1.21 4.79 4.85 5.87 13 Year 4 1 4.3 4.9 4.9 0.87 0.90 4.76 5.00 4.51 14 2 3.9 5.0 5.1 0.77 0.77 5.08 5.15 3.95 15 3 6 5.2 1.14 5.27 5.30 6.03 16 4 6.4 1.21 5.29 5.45 6.59 17 Year 5 1 ? 0.90 5.59 5.05 18 2 ? 0.77 5.74 4.41 19 3 ? 1.14 5.89 6.71 20 4 ? 1.21 6.04 7.31 Predicted (Yp) = Seasonal component (St ) * Trend Component (Tt )
  • 81. Let’s plot the graph and verify!
  • 82. So if our forecast is correct then the forecasted values should overlap with the original values, right?
  • 84. Example to forecast Time Series Here we can see that the predicted values overlap with the actual values and continues till year 5 which shows the accuracy of our forecasted values
  • 85. So, we have finally forecasted the car sales for the four quarters of the 5th year
  • 86. That was very interesting!
  • 87. Summary What is time series? Components of time series Stationarity of time series Forecast of car salesMoving average method

Editor's Notes

  1. Remove title case
  2. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  3. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  4. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  5. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  6. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  7. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  8. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  9. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  10. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  11. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  12. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  13. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  14. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  15. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  16. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  17. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  18. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  19. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  20. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  21. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  22. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  23. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  24. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  25. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  26. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  27. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  28. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  29. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  30. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  31. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  32. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  33. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  34. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  35. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  36. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  37. But this moving average is not centered, hence we will calculate centered MA
  38. Now the moving average is centered, and is proper for 3rd quarter onwards
  39. Now the moving average is centered, and is proper for 3rd quarter onwards
  40. Now the moving average is centered, and is proper for 3rd quarter onwards
  41. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  42. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  43. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  44. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  45. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  46. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  47. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  48. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  49. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  50. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  51. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  52. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  53. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  54. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  55. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  56. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  57. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  58. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  59. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  60. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?
  61. does fat intake/weight affects cholesterol? Will the area of the house affect the house pricing? Do customer satisfaction influence customer loyalty?