Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Daily electricity demand for Victoria, Australia, during 2014 is contained in elecdaily. The data for the first 20 days can be obtained as follows. daily20

Daily electricity demand for Victoria, Australia, during 2014 is contained in elecdaily. The data for the first 20 days can be obtained as follows.

daily20 <- head(elecdaily,20)

Plot the data and find the regression model for Demand with temperature as an explanatory variable. Why is there a positive relationship?

Produce a residual plot. Is the model adequate? Are there any outliers or influential observations?

Use the model to forecast the electricity demand that you would expect for the next day if the maximum temperature was 1515 and compare it with the forecast if the with maximum temperature was 3535. Do you believe these forecasts?

Give prediction intervals for your forecasts. The following R code will get you started:

autoplot(daily20, facets=TRUE) daily20 %>% as.data.frame() %>% ggplot(aes(x=Temperature, y=Demand)) + geom_point() + geom_smooth(method="lm", se=FALSE) fit <- tslm(Demand ~ Temperature, data=daily20) checkresiduals(fit) forecast(fit, newdata=data.frame(Temperature=c(15,35)))

Plot Demand vs Temperature for all of the available data in elecdaily. What does this say about your model?

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

Step: 3

blur-text-image

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

Option Volatility And Pricing Advanced Trading Strategies And Techniques

Authors: Sheldon Natenberg

2nd Edition

0071818774, 978-0071818773

More Books

Students also viewed these Finance questions

Question

4. Record one of your lessons to check yourself for clarity.

Answered: 1 week ago

Question

What are our strategic aims?pg 87

Answered: 1 week ago