MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
Bartleby Related Questions Icon

Related questions

Question

1, Estimate a linear regression, with Quantity as your dependent (y) variable. Your independent variables are Price, Xmas, Summer, and the Day of the Week variables.

2. Write out the estimated equation. 

3. For each value of price (0 through 100 in increments of 5), plug the price into the estimated regression equation to get a “predicted quantity.” What is the average of these predicted quantities? 

Quantity day Price Xmas Summer Monday Tuesday Wednesday Thursday Friday Saturday Sunday
121 1 62 0 0 1 0 0 0 0 0 0
168 2 44 0 0 0 1 0 0 0 0 0
132 3 52 0 0 0 0 1 0 0 0 0
230 4 16 0 0 0 0 0 1 0 0 0
232 5 28 0 0 0 0 0 0 1 0 0
368 6 7 0 0 0 0 0 0 0 1 0
225 7 63 0 0 0 0 0 0 0 0 1
115 8 63 0 0 1 0 0 0 0 0 0
143 9 50 0 0 0 1 0 0 0 0 0
79 10 74 0 0 0 0 1 0 0 0 0
85 11 61 0 0 0 0 0 1 0 0 0
210 12 47 0 0 0 0 0 0 1 0 0
265 13 41 0 0 0 0 0 0 0 1 0
348 14 20 0 0 0 0 0 0 0 0 1
117 15 61 0 0 1 0 0 0 0 0 0
124 16 49 0 0 0 1 0 0 0 0 0
45 17 89 0 0 0 0 1 0 0 0 0
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
MATLAB: An Introduction with Applications
Statistics
ISBN:9781119256830
Author:Amos Gilat
Publisher:John Wiley & Sons Inc
Text book image
Probability and Statistics for Engineering and th...
Statistics
ISBN:9781305251809
Author:Jay L. Devore
Publisher:Cengage Learning
Text book image
Statistics for The Behavioral Sciences (MindTap C...
Statistics
ISBN:9781305504912
Author:Frederick J Gravetter, Larry B. Wallnau
Publisher:Cengage Learning
Text book image
Elementary Statistics: Picturing the World (7th E...
Statistics
ISBN:9780134683416
Author:Ron Larson, Betsy Farber
Publisher:PEARSON
Text book image
The Basic Practice of Statistics
Statistics
ISBN:9781319042578
Author:David S. Moore, William I. Notz, Michael A. Fligner
Publisher:W. H. Freeman
Text book image
Introduction to the Practice of Statistics
Statistics
ISBN:9781319013387
Author:David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:W. H. Freeman