MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
expand_more
expand_more
format_list_bulleted
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
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution
Trending nowThis is a popular solution!
Step by stepSolved in 5 steps
Knowledge Booster
Similar questions
- What is the dollar amount of change in sales for each new year according to the regression (slope) model? Do not use commas or $ in your answer.arrow_forwardArrow Wines can sell 240 cases of a white table wine at a price of $135 per case. It also found that increasing the price to $150 a case results in a 20% reduction in sales. Assuming the relationship between demand and price is linear, find the equation for the demand for wine. What does the slope tell us about the demand for wine? What does the y-intercept tell us about the demand for wine? Be sure to define your variables.arrow_forward13. LANDSCAPE George hired some people to work on his yard one day per week for a month. At the end of the month George received a bill. On the bill he was charged $230 for 12 hours worth of work, including a monthly service fee of $50. a. Assuming that the relationship between the amount of the bill and the number of hours worked is linear, write an equation for this relationship. b. What is the slope of the line? What are the units associated with the slope of the line? What does the slope tell you about the problem situation? C. What is the vertical intercept of the line? What does the vertical intercept tell you about the problem situation?arrow_forward
- b. What does the symbol y represent? O A. The symbol y represents the predicted value of price. O B. The symbol y represents the amount that price increases with a 1-point increase in rating. O C. The symbol y represents the expected price when the hotel's rating is 0. O D. The symbol y represents the average price of hotels in the area.arrow_forwardUse the cost model screenshot attached to answer the question. Thanks for the help. Use the weekly cost model to estimate the total weekly cost when the weekly demand is 147. Round to the nearest dollar. $arrow_forwardThe table contains price-supply data and price-demand data for corn. Find a linear regression model for the price-supply data where x is supply (in billions of bushels) and y is price (in dollars). Do the same for the price-demand data. Find the equilibrium price for corn. Price ($/bu) Supply (billion bu) Price ($/bu) Demand (billion bu) 2.14 6.41 2.06 9.96 2.25 7.38 2.15 9.42 2.34 7.51 2.26 8.33 2.41 7.78 2.32 8.08 2.46 8.13 2.36 7.86 2.57 8.35 2.48 6.96 ... Question content area right Part 1 Find a linear regression model for the price-supply data where x is supply (in billions ofbushels) and y is price (in dollars). y=enter your response here (Type an equation using x as the variable. Round to two decimal places as needed.)arrow_forward
- Part II: Joe and his Dream Porsche Joe is 16 years old and has decided that he wants a brand-spankin' new Porsche Boxter Convertible, but his mom says there's no way that he could ever afford it! So, Joe has decided to show his mom that he will be able to purchase his dream car at the age of 35 if he plans his finances just right. He's asked you to help him plan. A. How much will his car cost in 19 years? The following table shows the approximate MSRP (manufacturers suggested retail price) of a Porsche Boxter Convertible from 2004 to 2008. Create a scatter plot of the data and determine the line of best fit, finding an appropriate slope and initial value assuming it started in 2004.. Year MSRP 2004 $57 510 2005 $59 130 2006 $60 750 2007 $61 965 2008 $63 600 B. Financing Joe's new Porsche Joe knows that he will have to put 10% down on his car. To save up for this down payment, he plans on investing a set amount monthly, starting now, into Teen's Choice Financial's Interest Plus Savings…arrow_forwardHow much should a healthy Shetland pony weigh? Let x be the age of the pony (in months), and let y be the average weight of the pony (in kilograms). x 3 6 12 20 26 y 60 95 140 160 189 (a) Make a scatter diagram of the data and visualize the line you think best fits the data. Flash Player version 10 or higher is required for this question. You can get Flash Player free from Adobe's website. (b) Would you say the correlation is low, moderate, or strong? low moderate strong Would you say the correlation is positive or negative? positive negative (c) Use a calculator to verify that x = 67, x2 = 1265, y = 644, y2 = 93,546, and xy = 10,544. Compute r. (Round your answer to three decimal places.) As x increases from 3 to 26 months, does the value of r imply that y should tend to increase or decrease? Explain your answer. Given our value of r, y should…arrow_forwardThe following table shows retail sales in drug stores in billions of dollars in the U.S. for years since 1995. Year Retail Sales 85.851 3 108.426 141.781 169.256 12 202.297 15 222.266 Let S(t) be the retails sales in billions of dollars in t years since 1995. A linear model for the data is S(t) = 9.44t + 84.182. 220 210- 200 190 180 170- 160 150 140 130 120 110 100 90 12 804arrow_forward
arrow_back_ios
arrow_forward_ios
Recommended textbooks for you
- MATLAB: An Introduction with ApplicationsStatisticsISBN:9781119256830Author:Amos GilatPublisher:John Wiley & Sons IncProbability and Statistics for Engineering and th...StatisticsISBN:9781305251809Author:Jay L. DevorePublisher:Cengage LearningStatistics for The Behavioral Sciences (MindTap C...StatisticsISBN:9781305504912Author:Frederick J Gravetter, Larry B. WallnauPublisher:Cengage Learning
- Elementary Statistics: Picturing the World (7th E...StatisticsISBN:9780134683416Author:Ron Larson, Betsy FarberPublisher:PEARSONThe Basic Practice of StatisticsStatisticsISBN:9781319042578Author:David S. Moore, William I. Notz, Michael A. FlignerPublisher:W. H. FreemanIntroduction to the Practice of StatisticsStatisticsISBN:9781319013387Author:David S. Moore, George P. McCabe, Bruce A. CraigPublisher:W. H. Freeman
MATLAB: An Introduction with Applications
Statistics
ISBN:9781119256830
Author:Amos Gilat
Publisher:John Wiley & Sons Inc
Probability and Statistics for Engineering and th...
Statistics
ISBN:9781305251809
Author:Jay L. Devore
Publisher:Cengage Learning
Statistics for The Behavioral Sciences (MindTap C...
Statistics
ISBN:9781305504912
Author:Frederick J Gravetter, Larry B. Wallnau
Publisher:Cengage Learning
Elementary Statistics: Picturing the World (7th E...
Statistics
ISBN:9780134683416
Author:Ron Larson, Betsy Farber
Publisher:PEARSON
The Basic Practice of Statistics
Statistics
ISBN:9781319042578
Author:David S. Moore, William I. Notz, Michael A. Fligner
Publisher:W. H. Freeman
Introduction to the Practice of Statistics
Statistics
ISBN:9781319013387
Author:David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:W. H. Freeman