Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

How do you do this question? I gave the model in bold under the question. The da

ID: 3067240 • Letter: H

Question

How do you do this question? I gave the model in bold under the question. The dataset is included as well just in case

7. Use your model to predict the Net Sales of a new store that has the following characteristics: Square footage: 6,000 saft Inventory: $625,000 Advertising: $11,000 Number of Families in the area / Size of sales district: 17, 208 families. Number of Competitor Stores in the District: 1 Make sure to include a prediction interval in your response. In addition, include your R code and copy and pasted results along with your response to the question. (Hint: This is done similar to how we did it in polynomial regression (using data,frame) -18.85941 + 16.20sqft+0.17inventory+11.52advertising+13.58size-5.3numb comp stores

Explanation / Answer

Since you already have the model,

You just have to plug the given values in the model and find the value of net sales

I am doing this problem from the start, I will run a linear regression on this given dataset, then get the model, and then use predict function to predict the sales on this given data point. If you want to ask a different thing, please comment.

Running linear regression:

Predicting from the given value

Y = predict(mod, data.frame(x = c(6000, 625000, 11000, 17208,1))).

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote