Question: Time Series and Analysis with R studio 1. Use R to load in the data from cbe.dat. Answer the following questions using that data set.

Time Series and Analysis with R studioTime Series and Analysis with R studio 1. Use R to load

1. Use R to load in the data from cbe.dat. Answer the following questions using that data set. Plot the electricity data. From the plot, does the data appear to be stationary in the mean? Does it appear to be stationary in the variance? Explain your answer. Decompose the data series and calculate the mean, variance, and standard deviation for the seasonal and random components of the decomposition. Plot the correlogram of the electricity data. What does the shape of the correlogram indicate about the electricity data? Give the lag 1 autocorrelation. Plot the autocorrelation of the random part of the decomposition (hint: you will need to either remove the NA values from the time series or tell acf to ignore them). What does the correlogram tell us about the random data - is it a series of independent random variables? Explain your answer and what it tells us about the model we used for the electricity data. 2. bookwebfiles\global.dat contains monthly global mean temperature data from 1856 to 2005, represented as deviation from the mean global temperature during 1961-1990. Read in the time series and decompose it either additively or multiplicatively. Explain why you chose the decomposition that you did. Produce a plot of the error term only. Does the error appear to be stationary in the mean? Stationary in the variance? Explain why you gave the answers you did. Plot the correlogram of the error term. What are the statistically significant correlations? Does this appear to be random data? 3. For each of the following time series, state whether it is stationary in the mean, decompose it additively or multiplicatively, and plot the correlogram of the error term. Identify the statistically significant autocorrelations and explain why they make sense. a.ts x

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!