Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Other

SCA I - Assignment

Rating
-
Sold
-
Pages
2
Uploaded on
21-02-2023
Written in
2022/2023

Assignment

Institution
Course

Content preview

Assignment 2: Linear Regression


1. Suppose you want to analyze how the production volume affects energy
consumption in a plant. You record daily data for one work week and
observe the following.

Obs. Volume Consumption
1 5 34
2 8 66
3 4 45
4 7 67
5 6 63

You perform a simple linear regression and your estimate for the in-
tercept is 10 and your estimate for the slope is 7.5. (Note: Estimating
a statistical model on such a small data set typically makes no sense.
However, here it allows us to perform the calculations by hand and
makes the concepts palpable.)
(a) Draw a picture including the observations and the regression line
similar to Figure 3.1. Add residuals and variation. (Hint: You
can draw the regression line and the observations with Excel or
Python and then add residuals and variation by hand.)
(b) Calculate the residual sum of squares (RSS), the total sum of
squares (TSS), R2 , and the residual standard error (RSE). Briefly
interpret each measure.
(c) Suppose you would duplicate your data set such that your new
data set contains each observation twice.
i. What would happen to your coefficient estimates?
ii. What would happen to RSS, TSS,R2 , and RSE?
(Hint: No calculations needed.)
2. You perform a multiple linear regression to predict the profit associ-
ated with different products depending on a product’s quality (X1 ),
a dummy variable indicating if a product is on sale with no sale as
baseline (X2 = 1, if it is on sale and X2 = 0 otherwise ), and the
interaction between quality and sale (X3 = X1 · X2 ). The estimated
coefficients are βˆ0 = 10, βˆ1 = 5, βˆ2 = 3, and βˆ3 = −7.

1

Written for

Institution
Study
Course

Document information

Uploaded on
February 21, 2023
Number of pages
2
Written in
2022/2023
Type
OTHER
Person
Unknown

Subjects

$8.19
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
photophoto

Get to know the seller

Seller avatar
photophoto Universität zu Köln
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
2
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions