diff --git a/_freeze/assignments/A1/execute-results/html.json b/_freeze/assignments/A1/execute-results/html.json
index 2a058c7..9246af8 100644
--- a/_freeze/assignments/A1/execute-results/html.json
+++ b/_freeze/assignments/A1/execute-results/html.json
@@ -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 this file as a starting point.\n\nTo receive full marks, the `qmd` file must compile without errors.\n\n
Due: 28 March 2025
Submit
\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 this file as a starting point.\n\nTo receive full marks, the `qmd` file must compile without errors.\n\n
Due: 28 March 2025
Submit
\n",
+ "supporting": [
+ "A1_files"
+ ],
"filters": [
"rmarkdown/pagebreak.lua"
],
diff --git a/_freeze/assignments/A2/execute-results/html.json b/_freeze/assignments/A2/execute-results/html.json
index 0eefd43..39a60e8 100644
--- a/_freeze/assignments/A2/execute-results/html.json
+++ b/_freeze/assignments/A2/execute-results/html.json
@@ -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 this file as a starting point.\n\nTo receive full marks, the `qmd` file must compile without errors.\n\n
Due: 18 April 2025
Submit
\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 this file as a starting point.\n\nTo receive full marks, the `qmd` file must compile without errors.\n\n
Due: 18 April 2025
Submit
\n",
+ "supporting": [
+ "A2_files"
+ ],
"filters": [
"rmarkdown/pagebreak.lua"
],
diff --git a/_freeze/assignments/A3/execute-results/html.json b/_freeze/assignments/A3/execute-results/html.json
index 5759cb1..7407404 100644
--- a/_freeze/assignments/A3/execute-results/html.json
+++ b/_freeze/assignments/A3/execute-results/html.json
@@ -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 this file as a starting point.\n\n
Due: 16 May 2025
Submit
\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 this file as a starting point.\n\n
Due: 16 May 2025
Submit
\n",
+ "supporting": [
+ "A3_files"
+ ],
"filters": [
"rmarkdown/pagebreak.lua"
],
diff --git a/assignments/A1.qmd b/assignments/A1.qmd
index dde2537..6213208 100644
--- a/assignments/A1.qmd
+++ b/assignments/A1.qmd
@@ -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 this file as a starting point.
+You need to submit one Quarto (`qmd`) file which implements all steps above. You may use this file as a starting point.
To receive full marks, the `qmd` file must compile without errors.
diff --git a/assignments/A2.qmd b/assignments/A2.qmd
index d9dc37e..ad20181 100644
--- a/assignments/A2.qmd
+++ b/assignments/A2.qmd
@@ -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 this file 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 this file as a starting point.
To receive full marks, the `qmd` file must compile without errors.
diff --git a/assignments/A3.qmd b/assignments/A3.qmd
index edc8bf1..5cc9559 100644
--- a/assignments/A3.qmd
+++ b/assignments/A3.qmd
@@ -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 this file 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 this file as a starting point.
```{r}
#| output: asis