(a) By looking at the summary output, write down the fitted model. (b) Write down the formula to compute the 95% confidence interval for 3₁. (c) Compute the 95% confidence interval for ₁.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question
(a) By looking at the summary output, write down the fitted model.
(b) Write down the formula to compute the 95% confidence interval for ₁.
(c) Compute the 95% confidence interval for 3₁.
Transcribed Image Text:(a) By looking at the summary output, write down the fitted model. (b) Write down the formula to compute the 95% confidence interval for ₁. (c) Compute the 95% confidence interval for 3₁.
A baker is interested to find the relationship between the width of the shelf space for her
brand of cookies (x, in feet) and monthly sales (y) of the product in a supermarket. Hence,
she fits a model relating monthly sales y to the amount of shelf space x her cookies receive
that month. That is, she is fitting the model in the following way
y=B+₂x+e
where ~ N(0,0¹).
x (shelf space) y (weekly sales)
weekly sales VS shelf space
3
2
6
575
5
3
450
8
630
4
435
2
498
6
534
3
530
2
457
7
2
3
5
7
Using R, we obtained the following output.
> mody <- 1m (y - x)
> summary (mody)
Call:
lm (formula y - x)
Residuals:
Min
10 Median
3Q
Max
-67.022 -31.346 -0.631 33.654 54.734
Coefficients:
(Intercept) 429.048
26.519 16.179 1.69e-08 ***
x
18.244
5.643 3.233 0.00898 **
Signif. codes: 0*** 0.001 **0.01 0.05 0.11
Residual standard error: 39.2 on 10 degrees of freedom
Multiple R-squared: 0.511,
Adjusted R-squared: 0.4621
F-statistic: 10.45 on 1 and 10 DF, p-value: 0.008979
> anova (mody)
Analysis of Variance Table
Response: y
X
1
Df Sum Sq Mean Sq F value Pr (>F)
16059 16058.9 10.451 0.008979 **
Residuals 10 15366 1536.6
Signif. codes: 0 '*** 0.001 '**' 0.01 0.05. 0.11
8
4
Estimate Std. Error t value Pr(>|t|)
.
Transcribed Image Text:A baker is interested to find the relationship between the width of the shelf space for her brand of cookies (x, in feet) and monthly sales (y) of the product in a supermarket. Hence, she fits a model relating monthly sales y to the amount of shelf space x her cookies receive that month. That is, she is fitting the model in the following way y=B+₂x+e where ~ N(0,0¹). x (shelf space) y (weekly sales) weekly sales VS shelf space 3 2 6 575 5 3 450 8 630 4 435 2 498 6 534 3 530 2 457 7 2 3 5 7 Using R, we obtained the following output. > mody <- 1m (y - x) > summary (mody) Call: lm (formula y - x) Residuals: Min 10 Median 3Q Max -67.022 -31.346 -0.631 33.654 54.734 Coefficients: (Intercept) 429.048 26.519 16.179 1.69e-08 *** x 18.244 5.643 3.233 0.00898 ** Signif. codes: 0*** 0.001 **0.01 0.05 0.11 Residual standard error: 39.2 on 10 degrees of freedom Multiple R-squared: 0.511, Adjusted R-squared: 0.4621 F-statistic: 10.45 on 1 and 10 DF, p-value: 0.008979 > anova (mody) Analysis of Variance Table Response: y X 1 Df Sum Sq Mean Sq F value Pr (>F) 16059 16058.9 10.451 0.008979 ** Residuals 10 15366 1536.6 Signif. codes: 0 '*** 0.001 '**' 0.01 0.05. 0.11 8 4 Estimate Std. Error t value Pr(>|t|) .
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 3 images

Blurred answer
Knowledge Booster
Development strategies
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education