CS代考 ETW3420 Principles of Forecasting and Applications

ETW3420 Principles of Forecasting and Applications

Principles of Forecasting and Applications

Copyright By PowCoder代写 加微信 powcoder

Topic 2 Pre-tutorial Activity

In this pre-tutorial activity, you will:

(i) Practice basic functions such as help() and autoplot().

(ii) Determine frequency of data via the frequency() function.

Question 1

Use the help menu to explore what the series gold, woolyrnq and gas represent. These are

available in the forecast package.

help(gold)

help(woolyrnq)

a. Use autoplot to plot each of these in separate plots.

autoplot(gold)

autoplot(woolyrnq)

autoplot(gas)

b. What is the frequency of each commodity series? Hint: apply the frequency() function.

c. Use which.max() to spot the outlier in the gold series. Which observation was it?

which.max(gold)

## [1] 770

Question 1

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com