WEEK 10 Flashcards
(28 cards)
Seasonality is
defined by the tendency of time series data to exhibit behaviour that repeats itself every k period
to identify the value is to plot your time series data and observe patters
examples of seasonality aree
daily - city traffic
weekly-rental car demand
monthly/quarterly - online spending
yearly - temperature
additive seasonality
happens when the variation in data is due to seasonality is constant over time, this can draw parallel lines at peaks and bottoms
multiplicative seasonality occurs
when the variation due to seasonality either increases or decreases over time, in this case you will have non parallel lines at the peaks and trough’s
the model for additive is called additive decomposition model
y(under t) = trend (under t) + seasonality (under t) + cyclic (under t) + Randomness (under t) = T(under t) +S(under t) +C+ e (under t)
only look at short time then we assume that cyclical fluctuations do not exist so we don’t add it
last step of forecast is to
namely make prdiction based on the past time serties and use the model to forecast we can only estamte the T AND S they are also time depended and not fixed constants cuz they both change over time so we dont obtain one specific value (using CMAs OR SMAs we can find trend)
seasonality values s CALCULATION DE TRENDED time series excel Q2-($Q$9/7)
D(under t) = (initial) y(under t) (- assumed)T (under t), so the actual value minus the trend
We group the values, like if there are 3 weeks we do Mondays together, Tuesdays together, etc, and calculate the average of all the days AvgD(under i) = sum of all (under i) D(under i) / n (under i)
then s (under i) = AvgD(under i) - sum of all (under i) D(under i) / k
Then take averages per day minus the average of all the averages divided by 7
for the multiplicative model we use multiplicative decompositions model
y(t under) = T (t under) x S (t under) x C (t under) x e (t under)
WE DO AGAIN without cyclic
what are forecast errors
error = actual value - predicted value
we want ti know for the forecast error
how bis the misatke is and how ofter we make em
we calculate MAE (MEA ABSOLUTE ERROR) avarage size of the misatkes
MSE (mean squared error) - average of mistakes squared (punishes big mistakes more)
RMSE (root mean squared error) - like MSE but goes back to the same units as the data
MAPE (mean absolute percentage error) mistakes as % of the real value
if there is a big distance in there error it means that the randomness is
is very high
Steps to calculate the errors
Use the formula, then take the absolute value of each error (ignore the minus signs)
square each error (multiply by itself)
find averages
-MSE - AVERAGE OF SQUARED ERRORS
-MAE - AVARAGE OF ABSOLUTE ERROS
Take the square root of MSE and find RMSE
Find MAPPE by dividing the absolute error by the real value and turning it into a percentage %
In Excel, do trend first, then seasonality. We paste for each day of the week
and to predict we do t +s ad then extend that
to find the value, we do period litres and predict, and insert a chart to plot the forecast, watch week 10 vle if I don’t get
Data analytics
Means using tech uques algorithm and technologies to discover patterns trends and
Traditional analysis
Big data analytics
Massive messy and fast data machine learning AI 4eal time dashboard, neutral networks decision trees clustering, instant or dynamic analysis
Tools hadoop, spark, python
Big data
Refers to data sets tjat are so large or complex tjat traditional data processing applications are inadequate
5 Vs fi Big data
Volume : massive amounts of data
Velocity : data generated quickly
Variety : different types and fonts (text imagine or video)
Veracity : uncertainty and quality issue in data
Value: potential to generate insight and economic value
Future implications
Innovation and competition : as technology evolves big data will play even more critical role in fostering innovation and competitive advantage across all sectors
Career opportunities : there is a growing demand for professionals skilled in data analytics and data driven decision making across various industries
Ethical and social implications must consider the ethical implications of data use including privacy concerns and data clsedurry as these will be significant aspects of future regulatory and business environments
Tools for big data
Marketing analytics such as Google analytics or adobe analytics
Machine learning analytics
Data visualisation tool such as Hadoop or apache Cassandra
Origins
From early databases to the explosion of data in the digital age, highlight key milestones like the development of the internet social media
Big data has become essential for competitive advantage
Enabling business to make informed decision predict trends and personalise customer experience