Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

For the COVID19 data from the United States develop the best forecasting model and produce a forecast for the next 30 days. Note that the

For the COVID19 data from the United States develop the best forecasting model and produce a forecast for the next 30 days. Note that the data is recorded daily. please do the following with R STUDIO.

See Section 9.11 Exercises 10 for an example.

Hide

library(pacman) p_load(fpp3, tidyverse, COVID19)

Hide

covid_data <- covid19(c("United States"))
trying URL 'https://storage.covid19datahub.io/level/1.csv.gz' Content type 'application/octet-stream' length 3434009 bytes (3.3 MB) ================================================== downloaded 3.3 MB
We have invested a lot of time and effort in creating COVID-19 Data Hub, please cite the following when using it: To cite package 'COVID19' in publications use: Guidotti, E., Ardia, D., (2020), "COVID-19 Data Hub", Journal of Open Source Software 5(51):2376, doi: 10.21105/joss.02376. A BibTeX entry for LaTeX users is @Article{, title = {COVID-19 Data Hub}, year = {2020}, doi = {10.21105/joss.02376}, author = {Emanuele Guidotti and David Ardia}, journal = {Journal of Open Source Software}, volume = {5}, number = {51}, pages = {2376}, } To hide this message use 'verbose = FALSE'.

Hide

covid_data <- covid_data %>% as_tsibble(key = "id", index = "date")
  1. Produce an STL decomposition of the data and describe the trend and seasonality.

Answer:

Summarize your answer to the question here. All code and comments should be below and your written answer above.

Code and Comments:

Hide

covid_data %>% autoplot(confirmed)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

A First Course in Differential Equations with Modeling Applications

Authors: Dennis G. Zill

10th edition

978-1111827052

More Books

Students also viewed these Mathematics questions