subject
Mathematics, 18.12.2021 14:00 mariateamop

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: 2

Another question on Mathematics

question
Mathematics, 21.06.2019 19:10
Which graph represents the function g(x) = |x + 4| + 2?
Answers: 1
question
Mathematics, 21.06.2019 20:00
Bernice paid $162 in interest on a loan of $1800 borrowed at 6%. how long did it take her to pay the loan off?
Answers: 1
question
Mathematics, 21.06.2019 21:30
Atrain leaves little? rock, arkansas, and travels north at 90 kilometers per hour. another train leaves at the same time and travels south at 80 kilometers per hour. how long will it take before they are 680 kilometers? apart?
Answers: 1
question
Mathematics, 21.06.2019 23:30
For the feasibility region shown below find the maximum value of the function p=3x+2y
Answers: 3
You know the right answer?
1.Use the Q10 dataframe. Consider three standard multiple linear regression models predicting Sales...
Questions
question
English, 07.01.2021 20:30
question
Geography, 07.01.2021 20:30
question
History, 07.01.2021 20:30
question
Mathematics, 07.01.2021 20:30
question
Biology, 07.01.2021 20:30
Questions on the website: 13722363