Professional Documents
Culture Documents
and Correlation
By: Prof. M S
Kirkire
Curve fitting
A relationship between two or more
variables
Express the relationship in mathematical
form by determining an equation
connecting the variables
Example:
scatter diagram.
The data can be approximated through a
y = a + bx
Non linear relationship
Parabolic or quadratic
y = a + bx + cx2
No relationship
Regression
Main purpose of curve fitting is to estimate
Consider, a possible definition asfor the given value of x say x1, there will
be a difference between y1 and the
corresponding value as determined from
the curve C.
This difference is denoted by d1, which is
referred as residual or a deviation error.
y = a + bx
The constants a & b are determined by
solving the simultaneous equationsy = an + bx
xy = ax + b
x2
10
x2
x2+ cx3
x2y = ax2 + b 3+ c 4
x
x
xy = ax + b
11
Multiple regression
If there is a linear relationship between a
xz = ax + b 2+ cxy
yz = ay + bxy+ c 2
12
yest = a + bx
13
14
15
Rank Correlation
16
18