Discussion 2

Author

AS

I. Part -1

0.0.1 1.1 What is fpp3 package about? How many data sets does it have? What all packages does it load?

The fpp3 package is a meta-package designed for tidy time series analysis and forecasting in R.It provides datasets and tools for visualization, decomposition, and forecasting using tidy data principles.
The package contains approximately 80 built-in datasets, including commonly used datasets such as tourism, aus_airpassengers, and global_economy.

When loaded, fpp3 automatically attaches several packages, including tsibble, feasts, fable, and fabletools, along with tidyverse dependencies.
#install.packages(fpp3) # required only once
library(fpp3)
Registered S3 method overwritten by 'tsibble':
  method               from 
  as_tibble.grouped_df dplyr
── Attaching packages ──────────────────────────────────────────── fpp3 1.0.2 ──
✔ tibble      3.3.0     ✔ tsibble     1.1.6
✔ dplyr       1.1.4     ✔ tsibbledata 0.4.1
✔ tidyr       1.3.1     ✔ feasts      0.4.2
✔ lubridate   1.9.4     ✔ fable       0.5.0
✔ ggplot2     4.0.1     
Warning: package 'ggplot2' was built under R version 4.5.2
Warning: package 'fable' was built under R version 4.5.2
── Conflicts ───────────────────────────────────────────────── fpp3_conflicts ──
✖ lubridate::date()    masks base::date()
✖ dplyr::filter()      masks stats::filter()
✖ tsibble::intersect() masks base::intersect()
✖ tsibble::interval()  masks lubridate::interval()
✖ dplyr::lag()         masks stats::lag()
✖ tsibble::setdiff()   masks base::setdiff()
✖ tsibble::union()     masks base::union()
?fpp3

0.0.2 1.2 What is a tsibble

A tsibble is a tidy data structure for time series data. Unlike base R ts objects, tsibbles explicitly define a time index and optional key variables, allowing multiple time series to be stored and analyzed together.

This structure ensures temporal ordering and integrates seamlessly with tidy workflows.

{r}
?tsibble

0.0.3 1.3 What is feasts package about?

The feasts package focuses on exploratory time series analysis. It provides tools for understanding trends, seasonality, and autocorrelation before building forecasting models.

Key functionality includes decomposition methods, feature extraction, and seasonal diagnostics.

{r}

?‘feasts-package’

0.0.4 1.4 What is fable package about?

The fable package is used for building and evaluating forecasting models on tidy time series data. It supports commonly used statistical forecasting methods and produces forecasts in a tidy and interpretable format.It integrates directly with tsibble objects and supports model comparison.

?fable
Help on topic 'fable' was found in the following packages:

  Package               Library
  fabletools            /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library
  fable                 /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/library


Using the first match ...
0.0.4.1