0% found this document useful (0 votes)
25 views2 pages

Implementasi Eliminasi Gauss

This document discusses using Gauss elimination to solve linear regression problems with one or more independent variables. It presents the equations for linear regression with 1, 2, and 3 independent variables. It states that Gauss-Jordan elimination can be used to solve the systems of equations presented to find the regression coefficients.

Uploaded by

Sava Devara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views2 pages

Implementasi Eliminasi Gauss

This document discusses using Gauss elimination to solve linear regression problems with one or more independent variables. It presents the equations for linear regression with 1, 2, and 3 independent variables. It states that Gauss-Jordan elimination can be used to solve the systems of equations presented to find the regression coefficients.

Uploaded by

Sava Devara
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

07/06/2022

IMPLEMENTASI ELIMINASI
GAUSS

𝑌 = 𝐴 + 𝐵𝑋
𝑁 σ𝑁 𝑁 𝑁
𝑖=1 𝑋𝑖 𝑌𝑖 − σ𝑖=1 𝑋𝑖 . σ𝑖=1 𝑌𝑖
𝐵= 2
𝑁 σ𝑁 2 𝑁
𝑖=1 𝑋𝑖 − σ𝑖=1 𝑋𝑖

𝐴 = 𝑌ത − 𝐵 𝑋ത
• Y = Dependent variable
• X = Independent variable
• A = Constant (intercept)
• B = Regression coeficient
2

1
07/06/2022

𝑌 = 𝑏0 + 𝑏1 𝑋1 + 𝑏2 𝑋2
𝑁 𝑁 𝑁

𝑁𝑏0 + 𝑏1 ෍ 𝑋1𝑖 + 𝑏2 ෍ 𝑋2𝑖 = ෍ 𝑌𝑖


𝑖=1 𝑖=1 𝑖=1
𝑁 𝑁 𝑁 𝑁
2
𝑏0 ෍ 𝑋1𝑖 + 𝑏1 ෍ 𝑋1𝑖 + 𝑏2 ෍ 𝑋1𝑖 . 𝑋2𝑖 = ෍ 𝑋1𝑖 . 𝑌𝑖
𝑖=1 𝑖=1 𝑖=1 𝑖=1

𝑁 𝑁 𝑁 𝑁
2
𝑏0 ෍ 𝑋2𝑖 + 𝑏1 ෍ 𝑋1𝑖 . 𝑋2𝑖 + 𝑏2 ෍ 𝑋2𝑖 = ෍ 𝑋2𝑖 . 𝑌𝑖
𝑖=1 𝑖=1 𝑖=1 𝑖=1

Gauss-Jordan Ellimination can be used to solve


the above problem. 3

𝑌 = 𝑏0 + 𝑏1 𝑋1 + 𝑏2 𝑋2 + 𝑏3 𝑋3
𝑁 𝑁 𝑁 𝑁

𝑁𝑏0 + 𝑏1 ෍ 𝑋1𝑖 + 𝑏2 ෍ 𝑋2𝑖 + 𝑏3 ෍ 𝑋3𝑖 = ෍ 𝑌𝑖


𝑖=1 𝑖=1 𝑖=1 𝑖=1

𝑁 𝑁 𝑁 𝑁 𝑁
2
𝑏0 ෍ 𝑋1𝑖 + 𝑏1 ෍ 𝑋1𝑖 + 𝑏2 ෍ 𝑋1𝑖 . 𝑋2𝑖 + 𝑏3 ෍ 𝑋1𝑖 . 𝑋3𝑖 = ෍ 𝑋1𝑖 . 𝑌𝑖
𝑖=1 𝑖=1 𝑖=1 𝑖=1 𝑖=1

𝑁 𝑁 𝑁 𝑁 𝑁

𝑏0 ෍ 𝑋2𝑖 + 𝑏1 ෍ 𝑋1𝑖 . 𝑋2𝑖 + 𝑏2 ෍ 𝑋2𝑖 2 + 𝑏3 ෍ 𝑋2𝑖 . 𝑋3𝑖 = ෍ 𝑋2𝑖 . 𝑌𝑖


𝑖=1 𝑖=1 𝑖=1 𝑖=1 𝑖=1

𝑁 𝑁 𝑁 𝑁 𝑁
2
𝑏0 ෍ 𝑋3𝑖 + 𝑏1 ෍ 𝑋1𝑖 . 𝑋3𝑖 + 𝑏2 ෍ 𝑋2𝑖 . 𝑋3𝑖 + 𝑏3 ෍ 𝑋3𝑖 = ෍ 𝑋3𝑖 . 𝑌𝑖
𝑖=1 𝑖=1 𝑖=1 𝑖=1 𝑖=1
Gauss-Jordan Ellimination can be used to solve the above problem.
4

You might also like