subject
Mathematics, 13.12.2019 22:31 evazquez

1.use the q10 dataframe. consider three standard multiple linear regression models predicting sales from both predictors and no interaction (i. e., ignoring the time series nature of the data):
one with a linear trend, one with a quadratic trend, and one with a cubic trend. in the model with lowest of the three aics, ( just write the code for rstudio)

2.reconsider your model and data from q10. now impose an autoregressive model on the residuals. in other words, consider three additional models predicting sales from quarter and month (no interactions but with whichever kind of trend was appropriate in q10) with an autoregressive model for the residuals of lag 1, lag 2, and lag 3.note: quarter is a categorical variable, independent of the trend, so do not use poly() on it.
in the model with lowest of the four aics, report the standard error of the difference in average sales between first quarter and third quarter. note: this requires installation and loading of the library nlme. so you'll have to do install. packages('nlme') then library(nlme) (just write the code for rstudio)
dataframe 10 is in the regclass of rstudio 's packages

ansver
Answers: 1

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 14:30, mlandon922
Ahomeowner plans to hang wallpaper on one wall of a bedroom that is 10 feet long if a stripe of wallpaper is 20 inches wide and stripes or hung vertically how many stripes on wall paper with the homeowner required
Answers: 1
image
Mathematics, 21.06.2019 17:30, DASASDAEDWEDA
How do you find principle and simple interest
Answers: 1
image
Mathematics, 21.06.2019 18:30, budjasdatazaki467
Let f(x) = 3 − x . find the average rate of change of f(x) from x = a to x = a + h and simplify your answer so that no single factor of h is left in the denominator.
Answers: 1
image
Mathematics, 21.06.2019 19:00, lex112592
Samantha is growing a garden in her back yard. she spend $90 setting up the garden bed and buying the proper garden supplies. in addition, each seed she plants cost $0.25. a. write the function f(x) that represents samantha's total cost on her garden. b. explain what x represents. c. explain what f(x) represents. d. if samantha plants 55 seeds, how much did she spend in total?
Answers: 2
You know the right answer?
1.use the q10 dataframe. consider three standard multiple linear regression models predicting sales...

Questions in other subjects:

Konu
Business, 24.11.2019 04:31