title: “Hw 0”
author: “Matt”
date: “Insert date here”
output: html_document

Load packages and data

library(fpp3)
# install and load any package necessary

Questions

Exercise 1

library(tidyquant)
## Loading required package: PerformanceAnalytics
## Loading required package: xts
## Loading required package: zoo
## 
## Attaching package: 'zoo'
## The following object is masked from 'package:tsibble':
## 
##     index
## The following objects are masked from 'package:base':
## 
##     as.Date, as.Date.numeric
## 
## Attaching package: 'xts'
## The following objects are masked from 'package:dplyr':
## 
##     first, last
## 
## Attaching package: 'PerformanceAnalytics'
## The following object is masked from 'package:fpp3':
## 
##     prices
## The following object is masked from 'package:graphics':
## 
##     legend
## Loading required package: quantmod
## Loading required package: TTR
## Registered S3 method overwritten by 'quantmod':
##   method            from
##   as.zoo.data.frame zoo
## 
## Attaching package: 'tidyquant'
## The following object is masked from 'package:fable':
## 
##     VAR
ggplot(data=us_gasoline)+
  geom_line(aes(x=Week, y= Barrels))

#include  the output + code

Exercise 2

## # A tsibble: 1,355 x 2 [1W]
##        Week Barrels
##      <week>   <dbl>
##  1 1991 W06    6.62
##  2 1991 W07    6.43
##  3 1991 W08    6.58
##  4 1991 W09    7.22
##  5 1991 W10    6.88
##  6 1991 W11    6.95
##  7 1991 W12    7.33
##  8 1991 W13    6.78
##  9 1991 W14    7.50
## 10 1991 W15    6.92
## # … with 1,345 more rows

Exercise 3

Some math examples \[ \hat{S} = \frac{\sum_{t=1}^{T}(y_{t}-\bar{y})^3}{\hat{\sigma}^{3}}\]

My favorite math formula is \(\bar{x} = \frac{\sum_{t=1}^T x_t}{T}\)

\[\begin{align*} a & = b \\ X &\sim {\sf Norm}(10, 3) \\ 5 & \le 10 \end{align*}\]

For more math examples, please check this website

Exercise 4

Bold - Bold

Italic - Italic

blocked -blocked

Exercise 5

  • ahauhauhauahua

    • auhauhauhauhauah

    • auhauhauhauhauah

    • uauahauhauhauah

      - auhauhauahuahau
  1. uahuahauh
    1. aaauhauhauha

      1. auhauhauhaua

      2. aauhauhauah

      3. auhuahauhau

    2. uahuahaayga

Remove this text, and add your answer for Exercise 5 here.

Exercise 6

Remove this text, and add your answer for Exercise 6 here.