Skip to content

Commit

Permalink
Fixed assignment template link
Browse files Browse the repository at this point in the history
  • Loading branch information
robjhyndman committed Jan 29, 2025
1 parent b4a03f8 commit 31d0665
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
8 changes: 5 additions & 3 deletions _freeze/assignments/A1/execute-results/html.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"hash": "7e0f55f00aa51ba7e4218a93ee1901c5",
"hash": "fc9056b1c630fca39de055b208e6f891",
"result": {
"engine": "knitr",
"markdown": "---\ntitle: Assignment 1\n---\n\nThis assignment will use the same data that you will use in the [retail project](Project.qmd) later in the semester. Each student will use a different time series, selected using their student ID number as follows.\n\n```r\nlibrary(fpp3)\nget_my_data <- function(student_id) {\n set.seed(student_id)\n all_data <- readr::read_rds(\"https://bit.ly/monashretaildata\")\n while(TRUE) {\n retail <- filter(all_data, `Series ID` == sample(`Series ID`, 1))\n if(!any(is.na(fill_gaps(retail)$Turnover))) return(retail)\n }\n}\n# Replace the argument with your student ID\nretail <- get_my_data(12345678)\n```\n\n 1. Plot your time series using the `autoplot()` command. What do you learn from the plot?\n 2. Plot your time series using the `gg_season()` command. What do you learn from the plot?\n 3. Plot your time series using the `gg_subseries()` command. What do you learn from the plot?\n 4. Find an appropriate Box-Cox transformation for your data and explain why you have chosen the particular transformation parameter $\\lambda$.\n 5. Produce a plot of an STL decomposition of the transformed data. What do you learn from the plot?\n\nFor all plots, please use appropriate axis labels and titles.\n\nYou need to submit one Quarto (`qmd`) file which implements all steps above. You may use <a href=\"https://af.numbat.space/assignments/Assignment_template.qmd\">this file</a> as a starting point.\n\nTo receive full marks, the `qmd` file must compile without errors.\n\n<br><br><hr><b>Due: 28 March 2025</b><br><a href=https://learning.monash.edu/mod/assign/view.php?id=3444030 class = 'badge badge-large badge-blue'><font size='+2'>&nbsp;&nbsp;<b>Submit</b>&nbsp;&nbsp;</font><br></a>\n",
"supporting": [],
"markdown": "---\ntitle: Assignment 1\n---\n\nThis assignment will use the same data that you will use in the [retail project](Project.qmd) later in the semester. Each student will use a different time series, selected using their student ID number as follows.\n\n```r\nlibrary(fpp3)\nget_my_data <- function(student_id) {\n set.seed(student_id)\n all_data <- readr::read_rds(\"https://bit.ly/monashretaildata\")\n while(TRUE) {\n retail <- filter(all_data, `Series ID` == sample(`Series ID`, 1))\n if(!any(is.na(fill_gaps(retail)$Turnover))) return(retail)\n }\n}\n# Replace the argument with your student ID\nretail <- get_my_data(12345678)\n```\n\n 1. Plot your time series using the `autoplot()` command. What do you learn from the plot?\n 2. Plot your time series using the `gg_season()` command. What do you learn from the plot?\n 3. Plot your time series using the `gg_subseries()` command. What do you learn from the plot?\n 4. Find an appropriate Box-Cox transformation for your data and explain why you have chosen the particular transformation parameter $\\lambda$.\n 5. Produce a plot of an STL decomposition of the transformed data. What do you learn from the plot?\n\nFor all plots, please use appropriate axis labels and titles.\n\nYou need to submit one Quarto (`qmd`) file which implements all steps above. You may use <a href=\"https://github.com/numbats/af/raw/main/assignments/Assignment_template.qmd\">this file</a> as a starting point.\n\nTo receive full marks, the `qmd` file must compile without errors.\n\n<br><br><hr><b>Due: 28 March 2025</b><br><a href=https://learning.monash.edu/mod/assign/view.php?id=3444030 class = 'badge badge-large badge-blue'><font size='+2'>&nbsp;&nbsp;<b>Submit</b>&nbsp;&nbsp;</font><br></a>\n",
"supporting": [
"A1_files"
],
"filters": [
"rmarkdown/pagebreak.lua"
],
Expand Down
8 changes: 5 additions & 3 deletions _freeze/assignments/A2/execute-results/html.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"hash": "e393193748450beef957840670f6d918",
"hash": "0f8f29fc7f46a768369403c0aa3759ba",
"result": {
"engine": "knitr",
"markdown": "---\ntitle: Assignment 2\n---\n\nThis assignment will use the same data that you will use in the [retail project](Project.qmd) later in the semester. Each student will use a different time series, selected using their student ID number as follows.\n\n```r\nlibrary(fpp3)\nget_my_data <- function(student_id) {\n set.seed(student_id)\n all_data <- readr::read_rds(\"https://bit.ly/monashretaildata\")\n while(TRUE) {\n retail <- filter(all_data, `Series ID` == sample(`Series ID`, 1))\n if(!any(is.na(fill_gaps(retail)$Turnover))) return(retail)\n }\n}\n# Replace the argument with your student ID\nretail <- get_my_data(12345678)\n```\n\n1. Using a test set of 2019--2022, fit an ETS model chosen automatically, and three benchmark methods to the training data. Which gives the best forecasts on the test set, based on RMSE?\n2. Check the residuals from the best model using an ACF plot and a Ljung-Box test. Do the residuals appear to be white noise?\n3. Now use time-series cross-validation with a minimum sample size of 15 years, a step size of 1 year, and a forecast horizon of 5 years. Calculate the RMSE of the results. Does it change the conclusion you reach based on the test set?\n4. Which of these two methods of evaluating accuracy is more reliable? Why?\n\nSubmit a Quarto (`qmd`) file which carries out the above analysis. You need to submit one file which implements all steps above. You may use <a href=\"https://af.numbat.space/assignments/Assignment_template.qmd\">this file</a> as a starting point.\n\nTo receive full marks, the `qmd` file must compile without errors.\n\n<br><br><hr><b>Due: 18 April 2025</b><br><a href=https://learning.monash.edu/mod/assign/view.php?id=3444031 class = 'badge badge-large badge-blue'><font size='+2'>&nbsp;&nbsp;<b>Submit</b>&nbsp;&nbsp;</font><br></a>\n",
"supporting": [],
"markdown": "---\ntitle: Assignment 2\n---\n\nThis assignment will use the same data that you will use in the [retail project](Project.qmd) later in the semester. Each student will use a different time series, selected using their student ID number as follows.\n\n```r\nlibrary(fpp3)\nget_my_data <- function(student_id) {\n set.seed(student_id)\n all_data <- readr::read_rds(\"https://bit.ly/monashretaildata\")\n while(TRUE) {\n retail <- filter(all_data, `Series ID` == sample(`Series ID`, 1))\n if(!any(is.na(fill_gaps(retail)$Turnover))) return(retail)\n }\n}\n# Replace the argument with your student ID\nretail <- get_my_data(12345678)\n```\n\n1. Using a test set of 2019--2022, fit an ETS model chosen automatically, and three benchmark methods to the training data. Which gives the best forecasts on the test set, based on RMSE?\n2. Check the residuals from the best model using an ACF plot and a Ljung-Box test. Do the residuals appear to be white noise?\n3. Now use time-series cross-validation with a minimum sample size of 15 years, a step size of 1 year, and a forecast horizon of 5 years. Calculate the RMSE of the results. Does it change the conclusion you reach based on the test set?\n4. Which of these two methods of evaluating accuracy is more reliable? Why?\n\nSubmit a Quarto (`qmd`) file which carries out the above analysis. You need to submit one file which implements all steps above. You may use <a href=\"https://github.com/numbats/af/raw/main/assignments/Assignment_template.qmd\">this file</a> as a starting point.\n\nTo receive full marks, the `qmd` file must compile without errors.\n\n<br><br><hr><b>Due: 18 April 2025</b><br><a href=https://learning.monash.edu/mod/assign/view.php?id=3444031 class = 'badge badge-large badge-blue'><font size='+2'>&nbsp;&nbsp;<b>Submit</b>&nbsp;&nbsp;</font><br></a>\n",
"supporting": [
"A2_files"
],
"filters": [
"rmarkdown/pagebreak.lua"
],
Expand Down
8 changes: 5 additions & 3 deletions _freeze/assignments/A3/execute-results/html.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"hash": "a4496207094184381d65fcea02082827",
"hash": "384b347a77fbf3979a342be45278343a",
"result": {
"engine": "knitr",
"markdown": "---\ntitle: Assignment 3\n---\n\nThis assignment will use the same data that you will use in the [retail project](Project.qmd) later in the semester. Each student will use a different time series, selected using their student ID number as follows.\n\n```r\nlibrary(fpp3)\nget_my_data <- function(student_id) {\n set.seed(student_id)\n all_data <- readr::read_rds(\"https://bit.ly/monashretaildata\")\n while(TRUE) {\n retail <- filter(all_data, `Series ID` == sample(`Series ID`, 1))\n if(!any(is.na(fill_gaps(retail)$Turnover))) return(retail)\n }\n}\n# Replace the argument with your student ID\nretail <- get_my_data(12345678)\n```\n\nUse a training set up to and including 2018.\n\n* What transformations (Box-Cox and/or differencing) would be required to make the data stationary? You should use a unit-root test as part of the discussion.\n* Use a plot of the ACF and PACF of the (possibly differenced) data to determine two plausible models for this data set.\n* Fit both models, along with an automatically chosen model, and produce forecasts for 2019--2022.\n* Which model is best based on AIC? Which model is best based on the test set RMSE? Which do you think is best to use for future forecasts? Why?\n* Check the residuals from your preferred model, using an ACF plot and a Ljung-Box test. Do the residuals appear to be white noise?\n\nSubmit a Quarto (`qmd`) file which carries out the above analysis. You need to submit one file which implements all steps above. You may use <a href=\"https://af.numbat.space/assignments/Assignment_template.qmd\">this file</a> as a starting point.\n\n<br><br><hr><b>Due: 16 May 2025</b><br><a href=https://learning.monash.edu/mod/assign/view.php?id=3444032 class = 'badge badge-large badge-blue'><font size='+2'>&nbsp;&nbsp;<b>Submit</b>&nbsp;&nbsp;</font><br></a>\n",
"supporting": [],
"markdown": "---\ntitle: Assignment 3\n---\n\nThis assignment will use the same data that you will use in the [retail project](Project.qmd) later in the semester. Each student will use a different time series, selected using their student ID number as follows.\n\n```r\nlibrary(fpp3)\nget_my_data <- function(student_id) {\n set.seed(student_id)\n all_data <- readr::read_rds(\"https://bit.ly/monashretaildata\")\n while(TRUE) {\n retail <- filter(all_data, `Series ID` == sample(`Series ID`, 1))\n if(!any(is.na(fill_gaps(retail)$Turnover))) return(retail)\n }\n}\n# Replace the argument with your student ID\nretail <- get_my_data(12345678)\n```\n\nUse a training set up to and including 2018.\n\n* What transformations (Box-Cox and/or differencing) would be required to make the data stationary? You should use a unit-root test as part of the discussion.\n* Use a plot of the ACF and PACF of the (possibly differenced) data to determine two plausible models for this data set.\n* Fit both models, along with an automatically chosen model, and produce forecasts for 2019--2022.\n* Which model is best based on AIC? Which model is best based on the test set RMSE? Which do you think is best to use for future forecasts? Why?\n* Check the residuals from your preferred model, using an ACF plot and a Ljung-Box test. Do the residuals appear to be white noise?\n\nSubmit a Quarto (`qmd`) file which carries out the above analysis. You need to submit one file which implements all steps above. You may use <a href=\"https://github.com/numbats/af/raw/main/assignments/Assignment_template.qmd\">this file</a> as a starting point.\n\n<br><br><hr><b>Due: 16 May 2025</b><br><a href=https://learning.monash.edu/mod/assign/view.php?id=3444032 class = 'badge badge-large badge-blue'><font size='+2'>&nbsp;&nbsp;<b>Submit</b>&nbsp;&nbsp;</font><br></a>\n",
"supporting": [
"A3_files"
],
"filters": [
"rmarkdown/pagebreak.lua"
],
Expand Down
2 changes: 1 addition & 1 deletion assignments/A1.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ retail <- get_my_data(12345678)

For all plots, please use appropriate axis labels and titles.

You need to submit one Quarto (`qmd`) file which implements all steps above. You may use <a href="https://af.numbat.space/assignments/Assignment_template.qmd">this file</a> as a starting point.
You need to submit one Quarto (`qmd`) file which implements all steps above. You may use <a href="https://github.com/numbats/af/raw/main/assignments/Assignment_template.qmd">this file</a> as a starting point.

To receive full marks, the `qmd` file must compile without errors.

Expand Down
2 changes: 1 addition & 1 deletion assignments/A2.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ retail <- get_my_data(12345678)
3. Now use time-series cross-validation with a minimum sample size of 15 years, a step size of 1 year, and a forecast horizon of 5 years. Calculate the RMSE of the results. Does it change the conclusion you reach based on the test set?
4. Which of these two methods of evaluating accuracy is more reliable? Why?

Submit a Quarto (`qmd`) file which carries out the above analysis. You need to submit one file which implements all steps above. You may use <a href="https://af.numbat.space/assignments/Assignment_template.qmd">this file</a> as a starting point.
Submit a Quarto (`qmd`) file which carries out the above analysis. You need to submit one file which implements all steps above. You may use <a href="https://github.com/numbats/af/raw/main/assignments/Assignment_template.qmd">this file</a> as a starting point.

To receive full marks, the `qmd` file must compile without errors.

Expand Down
2 changes: 1 addition & 1 deletion assignments/A3.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Use a training set up to and including 2018.
* Which model is best based on AIC? Which model is best based on the test set RMSE? Which do you think is best to use for future forecasts? Why?
* Check the residuals from your preferred model, using an ACF plot and a Ljung-Box test. Do the residuals appear to be white noise?

Submit a Quarto (`qmd`) file which carries out the above analysis. You need to submit one file which implements all steps above. You may use <a href="https://af.numbat.space/assignments/Assignment_template.qmd">this file</a> as a starting point.
Submit a Quarto (`qmd`) file which carries out the above analysis. You need to submit one file which implements all steps above. You may use <a href="https://github.com/numbats/af/raw/main/assignments/Assignment_template.qmd">this file</a> as a starting point.

```{r}
#| output: asis
Expand Down

0 comments on commit 31d0665

Please sign in to comment.