Forecasting Trend and Seasonality

Forecasting Trend and Seasonality


Using dummy variables and multiple linear regression to forecast trend and seasonality
Closed Caption:

so the final models that we're going to
look at within time series forecasting
are seasonality and trend i'm going to
go ahead and just jump straight to one
that has both trend and seasonality in
it
here we have terry's tire shop we've
already determined that they have three
seasons a Christmas season like in
november december father's day I guess
that's what into me
june and in all other times so
everything else is coming together
notice the seasons don't have to be the
same length and time average weekly
sales and dollars during each of the
three seasons during the past four years
are shown below so year one in during
christmas is he sold 1856 during
father's day 2012 all their x 95 so on
the surface at least it looks like
season two is the heavy s season one
comes in close behind and then see the
rest of the year relatively slow our job
is to determine forecast for the average
weekly sales in year five for each of
the three seasons so we need three
numbers so what we're going to do this
is we're going to create dummy variables
also called indicator variables there
are one or zero they represent the
seasons we need s minus one dummy
variables where s is the number of
seasons we have three seasons so we will
need to dummy variables will also need
to capture the trend we also need a time
. index so the first thing I need to do
with the data shown in this format
doesn't help me much I need each record
on a row right setting 1856 on a robot
itself 2012 on a robot itself 95 etc so
let me do the following my hope up
another sheet and let's call this year
season sales time . index and then
whether we have season 1 season 2
you write or season 3 i'll put that in
there but we'll talk about that a little
bit so what I need to do I have won 11
seasons I have one two three
I got this for years right and then to
22 33 44 and then I need to copy over
the data so sales are going to copy this
guy right click paste special where I do
transpose and then you need to do that
every time for x so not particularly fun
but not particularly difficult guys are
fighters and typing I think and then one
more time for a year for and then it
wouldn't hurt to double-check to make
sure they're in the right spot time .
index or just 12 all the way down to 12
so then in order to do these dummy
variables
there's a one if it's in the first
season 0 if it's not so in season two is
can't be ensnared they have to be
mutually exclusive and collectively
exhaustive so you get a 1000 1000 not
9001 so you should see a pattern
emerging immediately
alright alright so now we're set up we
can run the multiple linear regression
using the data analysis toolpak in excel
so this is tys data rearranged right
where this is our dependent variable and
these are independent variables so the
first thing i said we only needed to i
put the third one in here trying to show
you what happens when you mess up if you
put all three and it doesn't like it
unless you do something special so let
me show you what the mistake first so
first I need to go to data over to data
analysis and in regression because
that's what we had picked out before for
one of the other ones in ahead and
restart excel yet so click OK and it
thinks I'm still back doing the we're
checked for stationary one so my why
range what I'm trying to predict this
sales so see input range i'm going to
all of these D through G alright have
labels output range only pick something
higher so we can just kind of see what
happens and then when i click ok i
should get an error message I don't get
an error message but I do get some funny
stuff down here it says not not a number
00 so that's not good if you get this
this is bad
the reason is i can't put all the dummy
variables and at the same time unless i
sent to intercept 0
so let's go back and do it properly
going to come down here and just delete
those guys and then i'm going to do data
analysis regression and here i just want
time . index s1 s2 that means that my
bass season is everything else that's
Milo season because it's my bases and
it's my lowest value i would expect s1
and s2 have coefficients that are
positive numbers so i click ok and i see
wow I get a really high R squared
adjusted r-square like that and then I
come down here and I see that the
intercept 277 ties each time . it i'm
adding 36 and a half more almost season
1 i'm adding a thousand ninety five more
season to 1189 more we notice that we do
have all small p values so that's a good
thing
so overall significance of the model is
very small is also very important very
small p-value so that makes me think I
have a good model
alright so now i need to do the
forecasting for the next time . so 13 14
15 and that's it right three three
seasons so this will be a copy this
right so my forecast for this guy will
be the intercept which was the 797 plus
the time . let me go back here and then
we anchor that plus the time .
coefficient thirty six and two-thirds
for not quite two thirds times time . x
plus the s-1 coefficient anchor that
multiplied times that's one time the
indicator variable there plus thats to
anchor that times the indicator variable
for that
NSE 1st season one the christmas season
for your five I got twenty-three
sixty-six for Father's Day 2497 and for
all other times 1344 so those are my
forecast for the fifth year now there's
another way we could do it but I'm going
out to talk about that in class instead
of putting it on the video so that is
both trend and seasonality I can see the
trend because it's small p-value so it
tells me that there is a trend both of
these have small p-value that tells me
that there is seasonality they are
statistically significant lead different
from the third and season there so that
covers pretty much everything we're
going to do in forecasting

Video Length: 09:07
Uploaded By: profMattDean
View Count: 44,942

Related Software Products
Regression Analysis and Forecasting
Regression Analysis and Forecasting

Published By:
Business Spreadsheets

Description:
The Multiple Regression Analysis and Forecasting model provides a solid basis for identifying value drivers and forecasting business plan data. While it utilizes a range of commonly employed statistical measures to test the validity of the analysis, results are summarized in text for ease of use. Once relationships have been identified, forecasting can be accomplished based on a range of available methodologies. The intuitive step-by-step usage flow enables you to develop strong forecasts for ...


Related Videos
Excel - Time Series Forecasting - Part 1 of 3
Excel - Time Series Forecasting - Part 1 of 3

Part 2: http://www.youtube.com/watch?v=5C012e... Part 3: http://www.youtube.com/watch?v=kcfiu-... This is Part 1 of a 3 part "Time Series Forecasting in Excel" video lecture. Be sure to watch Parts 2 and 3 upon completing Part 1. The links for 2 and 3 are in the video as well as above. hr / bClosed Caption:/b hi guys i'm going to show you how to deal with time series data in excel so we're going to jump right into an examplebr ...
Video Length: 18:06
Uploaded By: Jalayer Academy
View Count: 425,039

Forecasting in Excel Using Simple Linear Regression
Forecasting in Excel Using Simple Linear Regression

Get you Master of Science in Supply Chain Management online in as little as one year. Please visit: business.rutgers.edu/scmonline. hr / bClosed Caption:/b ok in this video I'm going to show you how to run a regret forecast based on a linear regression a simple linear regression and the idea is basically that we have data with some kind of a growth component in it and it's moving upwards so we're going to guesstimate anbr ...
Video Length: 08:00
Uploaded By: scmprofrutgers
View Count: 113,077

How to Make Predictions from a Multiple Regression Analysis
How to Make Predictions from a Multiple Regression Analysis

From an existing multiple regression output produced with Excel 2007, I show you how to make point predictions and approximate 95% prediction intervals. The basic package of Excel does not have a routine for making predictions intervals, so I suggest a method of inflating the residual standard deviation statistic by 10% to get an approximate standard error of prediction. hr / bClosed Caption:/b hello and welcome back to a video series on doing multiple regression in ...
Video Length: 10:11
Uploaded By: ProfTDub
View Count: 85,098

Video 8: Logistic Regression - Interpretation of Coefficients and Forecasting
Video 8: Logistic Regression - Interpretation of Coefficients and Forecasting

This video discusses the interpretation of a logistic regression's coefficients and, more specifically, the slope of the independent variables when all other variables are held at their means. We also show evidence of the non-linear relationship between the independent variables and the dependent variable. TABLE OF CONTENTS: 00:00 Introduction 00:21 Recap of Logistic Regression 01:10 Leveraging the Similarities with Linear Models 02:15 What changed? 03:06 ...
Video Length: 16:45
Uploaded By: dataminingincae
View Count: 71,216

Mod-02 Lec-03 Forecasting -- Linear Models, Regression, Holt's , seasonality
Mod-02 Lec-03 Forecasting -- Linear Models, Regression, Holt's , seasonality

Operations and Supply Chain Management by Prof. G. Srinivasan , Department of Management Studies, IIT Madras. For more details on NPTEL visit http://nptel.iitm.ac.in hr / bClosed Caption:/b We continue our discussion on Forecasting Models. In the last lecture, we developed forecasting models for this data. This data we assumed represented a constant model and we looked at forecasting models for this data, we looked at simple average, weighted ...
Video Length: 53:40
Uploaded By: nptelhrd
View Count: 32,948

Multiple Linear Regression using Excel Data Analysis Toolpak
Multiple Linear Regression using Excel Data Analysis Toolpak

LearnAnalytics demonstrates use of Multiple Linear Regression on Excel 2010. (Data Analysis Toolpak). Data set referenced in video can be downloaded at www.learnanalytics.in/blog/wp-content/uploads/2014/02/car_sales.xlsx hr / bClosed Caption:/b alright so in this segment we're going to cover how to monitor the patient's only accept on some of you with no and excited we have dances to back which allows him to do a bit of skin analysisbr ...
Video Length: 09:14
Uploaded By: Learn Analytics
View Count: 30,479

Basic Excel Business Analytics #56: Forecasting with Linear Regression: Trend & Seasonal Pattern
Basic Excel Business Analytics #56: Forecasting with Linear Regression: Trend & Seasonal Pattern

Download file from “Highline BI 348 Class” section: https://people.highline.edu/mgirvin/excelisfun.htm Learn: 1) (00:11) Forecasting using Regression when we see a trend and belief the trend will extend into the future. Will will predict outside the Experimental Region with the Assumption is that trend continues into future. 2) (00:53) Forecast a Trend using Simple Liner Regression. We use the Data Analysis Regression Feature. 3) (03:22) Learn how to use FORECAST ...
Video Length: 25:22
Uploaded By: ExcelIsFun
View Count: 24,044

Gretl Tutorial 6: Modeling and Forecasting Time Series Data
Gretl Tutorial 6: Modeling and Forecasting Time Series Data

In this video we run a linear regression on a time series dataset with time trend and seasonality dummies. Then, we perform and evaluate the accuracy of an in-sample forecast, as well as perform an out-of-sample (i.e., into the future) forecast. TABLE OF CONTENTS: 00:00 Introduction 00:12 What we will do in this Video 00:40 Data 01:14 Glimpse Data in Excel 01:46 Load Data in Gretl 03:20 Plot Time Series 03:54 Create Additional Variables 04:38 ...
Video Length: 12:20
Uploaded By: dataminingincae
View Count: 23,477

Forecasting with Linear Regression in Excel: Tutorial Part 1
Forecasting with Linear Regression in Excel: Tutorial Part 1

Forecasting with Linear Regression, Trendlines, and the TREND function Part 1 hr / bClosed Caption:/b hi this is Kim brittania i fat I would am create a screencast four-year tear help TV stand information on how to create different types have line charts and to forecast financial information based on previous years history information and using the linear regression technique in Alsace simple average she ...
Video Length: 05:01
Uploaded By: barthoki
View Count: 23,245

Forecasting - Linear regression - Example 1 - Part 1
Forecasting - Linear regression - Example 1 - Part 1

In this video, you will learn how to find the demand forecast using linear regression. hr / bClosed Caption:/b let's look at an example of forecasting font color="#E5E5E5"using the linear regression analysis/font font color="#CCCCCC"maxis sales corporation is in the/font business of selling laptops they realized the advantages of forecasting font color="#E5E5E5"very early in their business they also/font realized that in ...
Video Length: 24:05
Uploaded By: maxus knowledge
View Count: 20,460

Copyright © 2025, Ivertech. All rights reserved.