Group Seatwork 5 PDF

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

TECHNOLOGICAL INSTITUTE OF THE PHILIPPINES – MANILA

MANILA CAMPUS

COLLEGE OF ENGINEERING AND ARCHITECTURE


CIVIL ENGINEERING DEPARTMENT

GROUP SEATWORK # 5
REGRESSION AND CORRELATION

SUBMITTED BY:
GROUP SEATWORK 5 1
RUSSEL SAN JOSE (1910810)
CHRISTINE MAE VITERBO (1912347)
CE 023/CE21S9

SUBMITTED TO:
ENGR. JOHN CARLO R. SAMARITA

JANUARY 14, 2021

This study source was downloaded by 100000842973283 from CourseHero.com on 09-20-2022 22:15:51 GMT -05:00

https://www.coursehero.com/file/148939595/GROUP-SEATWORK-5pdf/
PROBLEM #1:
For the following set of data as shown below:

x 10 4 9 11 11 6 8 18 9 13
y 1 0 6 3 9 5 9 8 7 15

1. Determine the equation for the least-squares regression line (in the form of y = a + bx). Round
a and b to two decimal places in your final answer.
1
𝑆xy ∑(𝑋i𝑌i ) − (∑ 𝑋i)(∑ 𝑌i )
• 𝑏= = 𝑛
1
𝑆xx ∑(𝑋i2 )− (∑ 𝑋i)2
𝑛
1
(700) − (99)(63)
𝑏= 10
1
(1113) − (99)2
10
𝑎 = 𝑦̅ − 𝑏𝑥̅ = 6.3 − 0.5741158766(9.9) = 0.6162528217

𝑦 = 0.63 + 0.57𝑥

2. What is the correlation coefficient (R) for this regression line?


700−10(9.9)(6.3)
• 𝑟= = 0.50
(10−1)(3.842742)(4.398232)

3. Determine the possible value of y when x = 20. Use the equation of the least-squares regression
line.
• If x = 20
𝑦 = 0.62 + 0.57(20) = 12.02
PROBLEM #2:
The table below shows the average maintenance cost in dollars of a certain model of the car
compared to the age of the car in years.

Age (x) 1 3 5 6 8 9 10

Cost (y) 1,000 1,500 1,600 1,800 2,000 2,400 2,600

1. Determine the equation of the least-squares regression line given each set of data values above
(in the form of y = a + bx). Round a and b to two decimal places in your final answer.

𝑦 = 164.06𝑥 + 858.48

2. What is the correlation coefficient (R) for this regression line?


R^2=0.9586
√(R^2 )=√(0.9586)

This study source was downloaded by 100000842973283 from CourseHero.com on 09-20-2022 22:15:51 GMT -05:00

https://www.coursehero.com/file/148939595/GROUP-SEATWORK-5pdf/
R=0.979081
3. If the age of the car is tallied at 20 years, what is the likely value for its average maintenance
cost (in dollars) based on the least-squares regression line?
y=164.06 (20)+858.48
y=3261.2+858.48
y=4139.6

This study source was downloaded by 100000842973283 from CourseHero.com on 09-20-2022 22:15:51 GMT -05:00

https://www.coursehero.com/file/148939595/GROUP-SEATWORK-5pdf/
Powered by TCPDF (www.tcpdf.org)

You might also like