(a) Use aus_production and the select() to generate a tsibble object, named beer, containing the beer production and the time index only. (b) Use the filter() to update beer generated in (a) by removing observations before 1992. (c) Use the autoplot() to plot beer. (d) Use the gg_season() to plot the seasonal plot of beer with labels on the right hand side. (e) Use the gg_subseries() to plot the subseries plot of beer.
Added by Kate M.
Close
Step 1
```R library(fpp3) ``` Show more…
Show all steps
Your feedback will help us improve your experience
Tavis Lam and 80 other Intro Stats / AP Statistics educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Use the data in the table below to set up short-run X-bar and R charts using the DNOM approach. The nominal dimensions for each part are T(A) = 151.5, T(B) = 54.0, T(C) = 30.0, T(D) = 100.5, and T(E) = 124.5. Sample Part M1 154 151 148 152 154 148 56 52 55 53 52 54 28 28 30 100 102 98 102 100 122 122 123 127 126 M2 150 152 155 151 154 150 54 55 53 56 54 56 29 32 29 98 100 99 102 98 124 124 128 122 123 M3 155 149 152 149 152 151 56 52 55 56 52 54 29 30 32 102 102 100 102 102 125 128 125 123 123
Sri K.
10.39. U.S. beer production. The accompanying table shows U.S. beer production for the years 1980–2007. Suppose you are interested in forecasting U.S. beer production in 2010. (a) Construct a time series plot for the data. Do you detect a long-term trend? (b) Hypothesize a model for yt that incorporates the trend. (c) Fit the model to the data using the method of least squares. (d) Plot the least squares model from part a and extend the curve to forecast y31, the U.S. beer production (in millions of barrels) in 2010. How reliable do you think this forecast is? (e) Calculate and plot the residuals for the model obtained in part a. Is there visual evidence of residual autocorrelation? 1980 188 1981 194 1982 194 1983 195 1984 193 1985 193 1986 195 1987 195 1988 198 1989 200 1990 204 1991 203 1992 202 1993 203 1994 202 1995 199 1996 201 1997 199 1998 198 1999 198 2000 199 2001 199 2002 200 2003 195 2004 198 2005 197 2006 198 2007 199 (f) How could you test to determine whether residual autocorrelation exists? If you have access to a computer package, carry out the test. Use α = .05. (g) Hypothesize a time series model that will account for the residual autocorrelation. Fit the model to the data and interpret the results. (h) Compute a 95% prediction interval for y31, the U.S. beer production in 2010. Why is this forecast preferred to that in part b?
Kari H.
Show in r studio explain step by step
Tavis L.
Recommended Textbooks
Elementary Statistics a Step by Step Approach
The Practice of Statistics for AP
Introductory Statistics
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD