Skip to content

Commit

Permalink
Added more data description to project
Browse files Browse the repository at this point in the history
  • Loading branch information
robjhyndman committed Mar 21, 2024
1 parent 855d808 commit e7cd823
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assignments/Project.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ title: Retail Project

**Objective:** To forecast a real time series using ETS and ARIMA models.

**Data:** Each student will be use a different time series, selected using their student ID number as follows. This is the same series that you used in [Assignment 2](A2.qmd).
**Data:** The data are monthly measures of retail trade volume in Australia, [obtained from the ABS](https://www.abs.gov.au/methodologies/retail-trade-australia-methodology/jan-2024). Each student will be use a different time series, selected using their student ID number as follows. This is the same series that you used in [Assignment 2](A2.qmd).

```r
library(fpp3)
get_my_data <- function(student_id) {
set.seed(student_id)
all_data <- readr::read_rds("https://bit.ly/monashretaildata")
while(TRUE) {
retail <- filter(all_data, `Series ID` == sample(`Series ID`, 1))
retail <- filter(all_data, `Series ID` == sample(`Series ID`, 1))
if(!any(is.na(fill_gaps(retail)$Turnover))) return(retail)
}
}
Expand Down

0 comments on commit e7cd823

Please sign in to comment.