Simple Linear Regression: John Vincent C. Asuncion
Simple Linear Regression: John Vincent C. Asuncion
Regression
John Vincent C. Asuncion
Simple Regression
Simple regression analysis is a statistical tool that
gives us the ability to estimate the mathematical
relationship between a dependent variable (usually
called y) and an independent variable (usually called
x).
The dependent variable is the variable for which we
want to make a prediction.
While various non-linear forms may be used, simple
linear regression models are the most common.
Introduction
• The primary goal of quantitative lot size Man-hours
analysis is to use current 30 73
information about a phenomenon 20 50
to predict its future behavior.
60 128
• Current information is usually in 80 170
the form of a set of data. 40 87
• In a simple case, when the data 50 108
form a set of pairs of numbers, 60 135
we may interpret them as 30 69
representing the observed values
70 148
of an independent (or predictor )
variable X and a dependent ( or 60 132
response) variable Y.
Introduction
The goal of the analyst
who studies the data is to Statistical relation be tween Lot size and Man-Hour
160
y f (x) 140
120
Man-Hour
80
40
predictor variable x. 20
0
0 10 20 30 40 50 60 70 80 90
Lot size
Regression Function
X Values Y Values
60 3.1
61 3.6
62 3.8
63 4
65 4.1
To find regression equation, we will first find
slope, intercept and use it to form
regression equation.
Step 1:
◦ Count the number of values. N = 5
Step 2:
Find XY, X2
63 4 63 * 4 = 252 63 * 63 = 3969
= ((5)*(1159.7)-(311)*(18.6))/
((5)*(19359)-(311)2)
= (5798.5 - 5784.6)/(96795 - 96721)
= 13.9/74
= 0.19
Step 5:
◦ Now, again substitute in the above intercept
formula given.
◦ Regression Equation(y) = a + bx
◦ = -8.098 + 0.19x.
◦ Suppose if we want to know the approximate y
value for the variable x = 64. Then we can
substitute the value in the above equation.
◦ Regression Equation(y) = a + bx
◦ = -8.098 + 0.19(64).
◦ = -8.098 + 12.16
◦ = 4.06
n y x xy x2