1. For the following series, find an appropriate Box-Cox transformation in order to stabilize the variance and make a graph of the transformed series.
usnetelec
usgdp
mcopper
enplanements
2. Apply the average method, seasonal naïve method and drift method to forecast the ausbeer, WWWusage and bricksq data. Graph the forecasts. (Set forecast horizon to 10.)
3. Use the Dow Jones index (data set dowjones) to do the following:
a.Produce a time plot of the series.
b.Produce forecasts using the drift method and plot them.
c.Show that the forecasts are identical to extending the line drawn between the first and last observations.
d.Try using some of the other benchmark functions to forecast the same data set. Which do you think is best? Why?
R Syntax
For simple forecasts:
autoplot(beer2) +
autolayer(meanf(beer2, h=11)$mean, series=”Mean”) +
autolayer(naive(beer2, h=11)$mean, series=”Naïve”) +
autolayer(snaive(beer2, h=11)$mean, series=”Seasonal naïve”)
For Box-Cox transformation:
lambda <- BoxCox.lambda(elec)
autoplot(BoxCox(elec,lambda
 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount! Use Discount Code “Newclient” for a 15% Discount!NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.

The post business-and-economic-forecasting-use-the-r-with-rstudio-1 appeared first on Essay Fount.


What Students Are Saying About Us

.......... Customer ID: 12*** | Rating: ⭐⭐⭐⭐⭐
"Honestly, I was afraid to send my paper to you, but you proved you are a trustworthy service. My essay was done in less than a day, and I received a brilliant piece. I didn’t even believe it was my essay at first 🙂 Great job, thank you!"

.......... Customer ID: 11***| Rating: ⭐⭐⭐⭐⭐
"This company is the best there is. They saved me so many times, I cannot even keep count. Now I recommend it to all my friends, and none of them have complained about it. The writers here are excellent."


"Order a custom Paper on Similar Assignment at essayfount.com! No Plagiarism! Enjoy 20% Discount!"