Lecture 6 - Regression Analysis
Lecture 6 - Regression Analysis
Petroleum Engineering
UGI
Rubar Dizayee
Interpolation
• Interpolation is a method of constructing new data points within the
range of discrete set of known data points.
• In engineering and science one often has a number of data points,
that are obtained by sampling or experimentation, and try to
construct a function which closely fits those data points. This is called
Curve Fitting or Regression analysis.
• Interpolation is a specific case of curve fitting in which the function
must go exactly through the data points.
Interpolation
• Interpolation means to calculate a point or several points between
two given points. For a given sequence of points, this means to
estimate a curve that passes through every single point.
• Linear interpolation is the simplest interpolation method. Applying
linear interpolation to a sequence of points results in a polygonal line
where each straight line segment connects two consecutive points of
the sequence.
Interpolation
• An interpolation function always
goes through all the given data
points where as a regression
model does not.
Interpolation
• Typically used when you have sparse (a small amount of) data
• Not useful when you have large amounts of data
1 X Y
0.8
0 0
0.5 0.479
Y- axis
0.6
1 0.841
0.4
1.5 0.997
0.2 2 0.909
2.5 0.598
0
0 0.5 1 1.5 2 2.5 3
X- axis
Interpolation
Example An experiment is used to determine the viscosity of water as a
function of temperature. The following table is generated: