You are on page 1of 5

Source URL: http://numericalmethods.eng.usf.

edu/
Saylor URL: http://www.saylor.org/courses/me205/

Attributed to: University of South Florida: Holistic Numerical Methods Institute Saylor.org
Page 1 of 5
Industrial Engineering Example of Linear Regression
Autar Kaw

Example 1
As machines are used over long periods of time, the output product can get off target.
Below is the average value of how much off target a product is getting manufactured as
a function of machine use.
Table 1 Off target value as a function of machine use.
Hours of Machine Use, t 30 33 34 35 39 44 45
Millimeters Off Target, h 1.10 1.21 1.25 1.23 1.30 1.40 1.42

Regress the data to t a a h
1 0
+ = . Find when the product will be 2 mm off target.

Solution
Table 2 shows the summations needed for the calculation of the constants of the
regression model.
Table 2 Tabulation of data for calculation of needed summations.
I t h
2
t

h t ×
− Hours Millimeters
2
Hours
Millimeter-Hour
1 30 1.10 900 33
2 33 1.21 1089 39.93
3 34 1.25 1156 42.50
4 35 1.23 1225 43.05
5 39 1.30 1521 50.70
6 44 1.40 1936 61.6

Source URL: http://numericalmethods.eng.usf.edu/
Saylor URL: http://www.saylor.org/courses/me205/

Attributed to: University of South Florida: Holistic Numerical Methods Institute Saylor.org
Page 2 of 5
7 45 1.42 2025 63.9

=
7
1 i

260 8.91 9852 334.68






7 = n

2
7
1
7
1
2
7
1
7
1
7
1
1








=
∑ ∑
∑ ∑ ∑
= =
= = =
i
i
i
i
i
i
i
i
i
i i
t t n
h t h t n
a

( ) ( )( )
( ) ( )
2
260 9852 7
91 . 8 260 68 . 334 7


=

0.019179 = mm-h

n
h
h
i
i
_

=
=
7
1


Source URL: http://numericalmethods.eng.usf.edu/
Saylor URL: http://www.saylor.org/courses/me205/

Attributed to: University of South Florida: Holistic Numerical Methods Institute Saylor.org
Page 3 of 5

7
91 8.
=

2729 . 1 = mm

n
t
t
i
i
_

=
=
7
1


7
260
=
143 . 37 = h

_ _
t a h a
1 0
− =

( )( ) 143 . 37 019179 . 0 2729 . 1 − =
56050 . 0 = mm-h











Source URL: http://numericalmethods.eng.usf.edu/
Saylor URL: http://www.saylor.org/courses/me205/

Attributed to: University of South Florida: Holistic Numerical Methods Institute Saylor.org
Page 4 of 5





t h 019179 . 0 56050 . 0 + =


Figure 1 Linear regression of hours of use vs. millimeters off target.

Solving for mm 2 = h , the regression model is t h 019179 . 0 56050 . 0 + =

t 019179 . 0 056050 2 + =

Source URL: http://numericalmethods.eng.usf.edu/
Saylor URL: http://www.saylor.org/courses/me205/

Attributed to: University of South Florida: Holistic Numerical Methods Institute Saylor.org
Page 5 of 5
019179 . 0
56050 . 0 2 −
= t
056 . 75 = t hours