Linear regression was used to describe the line that
indicates the relationship between two variables. The regression line is often
referred to as a line on the estimated / forecast. By studying the regression
line we can show relationships influence of variable x to variable y and
predicted. There are two ways / methods illustrate the regression line, namely
hands free and the number of the least squares method.
a. Methods hands free
Draw a regression line of the existing data in the scatter
diagram freely essentially every person who makes the line can be different
from one another so that the drawing with this method is subjective. Because of
its subjective, this method can not be used to forecast / predict.
b. Method of least squares sum
Linear regression line that will be described by the
following equation as a linear function.
Y = a + bx
Tidak ada komentar:
Posting Komentar