Skip to content
Snippets Groups Projects
Commit 108e45e7 authored by Jen Looper's avatar Jen Looper
Browse files

time series quizzes

parent ca8e090f
No related branches found
No related tags found
No related merge requests found
......@@ -3,9 +3,9 @@
In this lesson and the following one, you will learn a bit about Time Series Forecasting, an interesting and valuable part of a ML scientist's repertoire that is a bit lesser known than other topics. Time Series Forecasting is a sort of crystal ball: based on past performance of a variable such as price, you can predict its future potential value.
[![Introduction to Time Series Forecasting](https://img.youtube.com/vi/wGUV_XqchbE/0.jpg)](https://youtu.be/wGUV_XqchbE "Introduction to Time Series Forecasting")
## [Pre-lecture quiz](link-to-quiz-app)
## [Pre-lecture quiz](https://jolly-sea-0a877260f.azurestaticapps.net/quiz/39/)
It's a powerful and interesting field especially in business, given its direct application to problems of value, pricing, inventory, and supply chain issues. While deep learning techniques have started to be used to gain more insights in the prediction of future performance, Time Series Forecasting remains a field greatly informed by classic ML techniques.
It's a useful and interesting field with real value to business, given its direct application to problems of pricing, inventory, and supply chain issues. While deep learning techniques have started to be used to gain more insights in the prediction of future performance, Time Series Forecasting remains a field greatly informed by classic ML techniques.
> Penn State's useful Time Series curriculum can be found [here](https://online.stat.psu.edu/stat510/lesson/1)
......@@ -64,6 +64,7 @@ In the next lesson, you will build an ARIMA model using [Univariate Time Series]
When looking at time series data, you might notice that it has certain characteristics that you need to take into account and mitigate to better understand its patterns. If you consider time series data as potentially providing a 'signal' that you want to analyze, these characteristics can be thought of as 'noise'. You often will need to reduce this 'noise' by offsetting some of these characteristics using some statistical techniques.
### Trends
Measurable increases and decreases over time. [Read more](https://machinelearningmastery.com/time-series-trends-in-python) about how to use and, if necessary, remove trends from your time series.
### [Seasonality](https://machinelearningmastery.com/time-series-seasonality-with-python/)
Periodic fluctuations, such as holiday rushes that might affect sales, for example. [Take a look](https://itl.nist.gov/div898/handbook/pmc/section4/pmc443.htm) at how different types of plots display seasonality in data.
......@@ -76,8 +77,6 @@ Over time, some data display constant fluctuations, such as energy usage per day
### Abrupt changes
The data might display an abrupt change that might need further analysis. The abrupt shuttering of businesses due to COVID, for example, caused changes in data.
### Stationary
✅ Here is a [sample time series plot](https://www.kaggle.com/kashnitsky/topic-9-part-1-time-series-analysis-in-python) showing daily in-game currency spent over a few years. Can you identify any of the characteristics listed above in this data?
![in-game currency spend](./images/currency.png)
......@@ -146,7 +145,7 @@ In the next lesson, you will create an ARIMA model to create some forecasts.
Make a list of all the industries and areas of inquiry you can think of that would benefit from Time Series Forecasting. Can you think of an application of these techniques in the arts? In Econometrics? Ecology? Retail? Industry? Finance? Where else?
## [Post-lecture quiz](link-to-quiz-app)
## [Post-lecture quiz](https://jolly-sea-0a877260f.azurestaticapps.net/quiz/40/)
## Review & Self Study
Although we won't cover them here, neural networks are sometimes used to enhance classic methods of Time Series Forecasting. Read more about them [in this article](https://medium.com/microsoftazure/neural-networks-for-forecasting-financial-and-economic-time-series-6aca370ff412)
......
......@@ -5,7 +5,7 @@ In the previous lesson, you learned a bit about Time Series Forecasting and load
[![Introduction to ARIMA](https://img.youtube.com/vi/IUSk-YDau10/0.jpg)](https://youtu.be/IUSk-YDau10 "Introduction to ARIMA")
> A brief introduction to ARIMA models. The example is done in R, but the concepts are universal.
## [Pre-lecture quiz](link-to-quiz-app)
## [Pre-lecture quiz](https://jolly-sea-0a877260f.azurestaticapps.net/quiz/41/)
In this lesson, you will discover a specific way to build models with [ARIMA: *A*uto*R*egressive *I*ntegrated *M*oving *A*verage](https://wikipedia.org/wiki/Autoregressive_integrated_moving_average). ARIMA models are particularly suited to fit data that shows [non-stationarity](https://wikipedia.org/wiki/Stationary_process).
......@@ -352,8 +352,7 @@ A very nice plot, showing a model with good accuracy. Well done!
Dig into the ways to test the accuracy of a Time Series Model. We touch on MAPE in this lesson, but are there other methods you could use? Research them and annotate them. A helpful document can be found [here](https://otexts.com/fpp2/accuracy.html)
## [Post-lecture quiz](link-to-quiz-app)
## [Pre-lecture quiz](https://jolly-sea-0a877260f.azurestaticapps.net/quiz/42/)
## Review & Self Study
This lesson touches on only the basics of Time Series Forecasting with ARIMA. Take some time to deepen your knowledge by digging into [this repository](https://microsoft.github.io/forecasting/) and its various model types to learn other ways to build Time Series models.
......
......@@ -2079,48 +2079,52 @@
"title": "Intro to Time Series: Pre-Lecture Quiz",
"quiz": [
{
"questionText": "q1",
"questionText": "Time Series Forecasting is useful in",
"answerOptions": [
{
"answerText": "a",
"answerText": "determining future costs",
"isCorrect": "false"
},
{
"answerText": "b",
"isCorrect": "true"
"answerText": "predicting future pricing",
"isCorrect": "false"
},
{
"answerText": "c",
"isCorrect": "false"
"answerText": "both the above",
"isCorrect": "true"
}
]
},
{
"questionText": "q2",
"questionText": "A time series is a sequence taken at:",
"answerOptions": [
{
"answerText": "a",
"answerText": "successive equally spaced points in space",
"isCorrect": "false"
},
{
"answerText": "successive equally spaced points in time",
"isCorrect": "true"
},
{
"answerText": "b",
"answerText": "successive equally spaced points in space and time",
"isCorrect": "false"
}
]
},
{
"questionText": "q3",
"questionText": "Time series can be used in:",
"answerOptions": [
{
"answerText": "a",
"isCorrect": "false"
"answerText": "earthquake prediction",
"isCorrect": "true"
},
{
"answerText": "b",
"isCorrect": "true"
"answerText": "computer vision",
"isCorrect": "false"
},
{
"answerText": "c",
"answerText": "color analysis",
"isCorrect": "false"
}
]
......@@ -2132,48 +2136,52 @@
"title": "Intro to Time Series: Post-Lecture Quiz",
"quiz": [
{
"questionText": "q1",
"questionText": "Time series trends are",
"answerOptions": [
{
"answerText": "a",
"isCorrect": "false"
"answerText": "Measurable increases and decreases over time",
"isCorrect": "true"
},
{
"answerText": "b",
"isCorrect": "true"
"answerText": "Quantifying decreases over time",
"isCorrect": "false"
},
{
"answerText": "c",
"answerText": "Gaps between increases and decreases over time",
"isCorrect": "false"
}
]
},
{
"questionText": "q2",
"questionText": "Outliers are",
"answerOptions": [
{
"answerText": "a",
"answerText": "points close to standard data variance",
"isCorrect": "false"
},
{
"answerText": "points far away from standard data variance",
"isCorrect": "true"
},
{
"answerText": "b",
"answerText": "points within standard data variance",
"isCorrect": "false"
}
]
},
{
"questionText": "q3",
"questionText": "Time Series Forecasting is most useful for",
"answerOptions": [
{
"answerText": "a",
"isCorrect": "false"
"answerText": "Econometrics",
"isCorrect": "true"
},
{
"answerText": "b",
"isCorrect": "true"
"answerText": "History",
"isCorrect": "false"
},
{
"answerText": "c",
"answerText": "Libraries",
"isCorrect": "false"
}
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment