QuestionQuestion

# Question 1:
# After plotting a timeseries, you notice there are several dramatic outliers in the data.
# What type of time series component do these outliers represent?

# Question 2:
# The dataset below contains monthly debit card usage in Iceland
# from January 2020 - August 2013. You are tasked with describing the
# time series data and evaluating which Moving Average Model can be best used to
# predict future values (MA-2, MA-5, MA-10).
# Load packages and save dataset as 'debit'
    install.packages("fpp2")
    library(fpp2)
    library(TTR)
    debit = debitcards

# A) plot this time series

# B) using a decomposing method/plot, describe the SEASONAL and TREND compositions of this dataset.
   
# C) Compile a moving average model for each of the three models (MA-2, MA-5, MA-10).
   
# D) Plot the models' values along with the real values from the dataset, in 1 graph.
   
# E) Calculate the MSE for each of the three models.
    # (Hint: Use the 'Environment' pane on the right to get a sense of sample size for
    # each model.)
      
# F) Based on your answer in E), which model would you recommend using to predict
#    future debit card usage in Iceland?

Solution PreviewSolution Preview

This material may consist of step-by-step explanations on how to solve a problem or examples of proper writing, including the use of citations, references, bibliographies, and formatting. This material is made available for the sole purpose of studying and learning - misuse is strictly forbidden.

# Question 1:
# After plotting a timeseries, you notice there are several dramatic outliers in the data.
# What type of time series component do these outliers represent?

# irregular component

# Question 2:
# The dataset below contains monthly debit card usage in Iceland
# from January 2020 - August 2013. You are tasked with describing the
# time series data and evaluating which Moving Average Model can be best used to
# predict future values (MA-2, MA-5, MA-10).
# Load packages and save dataset as 'debit'
    install.packages("fpp2")
    library(fpp2)
    library(TTR)
    debit = debitcards
# A) plot this time series
    autoplot(debit)
      
# B) using a decomposing method/plot, describe...
$35.00 for this solution

PayPal, G Pay, ApplePay, Amazon Pay, and all major credit cards accepted.

Find A Tutor

View available Computer Science - Other Tutors

Get College Homework Help.

Are you sure you don't want to upload any files?

Fast tutor response requires as much info as possible.

Decision:
Upload a file
Continue without uploading

SUBMIT YOUR HOMEWORK
We couldn't find that subject.
Please select the best match from the list below.

We'll send you an email right away. If it's not in your inbox, check your spam folder.

  • 1
  • 2
  • 3
Live Chats