Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Could you please provide the R code Q3. We study the relation between weekly advertising expenditures and sales with the following data: Advertising costs($) 40

Could you please provide the R code

image text in transcribed
Q3. We study the relation between weekly advertising expenditures and sales with the following data: Advertising costs($) 40 20 25 20 30 50 40 20 50 40 25 50 Sales($) 385 100 395 365 475 440 490 420 560 525 480 510 (a) [2 pts] Write down the fitted linear regression line to predict weekly sales from advertising expenditures. (b) [1 pt] What is the R2of the fitted line? Answer: (c) [3 pts] Use your fitted model to forecast the weekly sales when advertising costs $35 and complete the table below. 97% Predicted value Confidence interval Prediction interval (d) [2 pts] Test Ho: So = 340 and 81 = 6 against H : otherwise at 0.01 level of significance. Please draw your conclusion with evidence. (e) [5 pts] Circle your answers. Assumption Constant Variances Pass / Fail Do normality tests at a 0.05 level Test p-value Normal distribution Shapiro-Wilk test Cramer-von Mises Anderson-Darling Pass / Fail (Your conclusion should be drawn by the results that most of the three tests agree)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Trigonometry

Authors: Cynthia Y Young

5th Edition

1119820928, 9781119820925

More Books

Students also viewed these Mathematics questions

Question

Assess three steps in the selection process.

Answered: 1 week ago

Question

Identify the steps in job analysis.

Answered: 1 week ago