Professional Documents
Culture Documents
ENGINEERING STATISTICS I
CURVE FITTING
(LINEAR REGRESSION)
University of Houston
Dept. of Industrial Engineering
Houston, TX 77204-4812
(713) 743-4195
AGENDA
Linear Regression
LINEAR REGRESSION
X (independent variable)
WHICH PREDICTION LINE
Y (dependent variable)
X (independent variable)
PREDICTION LINE
Y (dependent variable)
ei
a + b * xi
yi
n n 2
2
e y a bx
i 1
i
i 1
i i
DIFFERENTIATE
n n
y
i 1
i an b xi
i 1
n n n
2
x y
i 1
i i a xi b x
i 1 i 1
i
INTERCEPT AND SLOPE
Yi a bxi ei
EXAMPLE
Air velocity in cm/sec (x) Evaporation Coeff. (y)
20 0.18
60 0.37
100 0.35
140 0.78
180 0.56
220 0.75
260 1.18
300 1.36
340 1.17
380 1.65
NORMAL EQUATIONS
x
i 1
i 2000
n
y
i 1
i 8.35
n
x y
i 1
i i 2175.40
n
2
i 532,000
x
i 1
NORMAL EQUATIONS
Yi 0.069 0.00383xi
INFERENCES
R squared…
T value for coefficients…
R SQUARED
n
2
(y i yˆ i )
2 i 1
r 1 n
2
(
iy y )
i 1
INTERCEPT PARAMETER Alpha
2
(y i a bxi )
s i 1
e
n 2
n
s
2
XX
( xi x )
i 1
(a ) n S xx
t
s S
2
e xx
n( x )
SLOPE PARAMETER Beta
2
(y i a bxi )
s i 1
e
n 2
n
s
2
XX
( xi x )
i 1
(b )
t S
s e
xx
IN EXCEL
Data Analysis-Regression
Specify
Input x range
Input y range
Returns
R squared
Coefficients
T stat
P value