Correlation & Regression Analysis
Correlation & Regression Analysis
Correlation & Regression Analysis
VJCET
another, but not in a deterministic fashion. A familiar example is given by
variables x = high school grade point average (GPA) and y= college GPA. The
value of y cannot be determined just from knowledge of x, and two different
individuals could have the same x value but have very different y values.
1
VJCET - S4 -PSM - MODULE 5
More generally, the variable whose value is fixed by the experimenter will
be denoted by x and will be called the independent, predictor, or explanatory
variable. For fixed x, the second variable will be random; we denote this random
variable and its observed value by Y and y, respectively, and refer to it as the
dependent or response variable.
Usually observations will be made for a number of settings of the independent
variable. Let x1 , x2 ,..., x n denote values of the independent variable for which
observations are made, and let Y i and y i, respectively, denote the random variable
and observed value associated with x i. The available bivariate data then
VJCET
consists of the n pairs (x1 , y1 ), (x2 , y2 ),..., (x n, yn). A picture of this data
called a scatterplot gives preliminary impressions about the nature of any
relationship. In such a plot, each (x i, yi) is represented as a point plotted on a
two-dimensional coordinate system.
2
VJCET - S4 -PSM - MODULE 5
VJCET
normal equations:
3
VJCET - S4 -PSM - MODULE 5
VJCET
Since
4
VJCET - S4 -PSM - MODULE 5
=75.212 - .2094x
Example2)
Fit the simple linear regression model to this data,
VJCET
5
VJCET - S4 -PSM - MODULE 5
Example 3
VJCET
6
VJCET - S4 -PSM - MODULE 5
Estimating
is
small the observed points will tend to fall very close to the true line.
VJCET
RESIDUALS
7
VJCET - S4 -PSM - MODULE 5
VJCET
8
VJCET - S4 -PSM - MODULE 5
VJCET
The Coefficient of Determination
or
9
VJCET - S4 -PSM - MODULE 5
VJCET
10
VJCET - S4 -PSM - MODULE 5
Correlation
The Sample correlation coefficient r
VJCET
Nature of correlation
11
VJCET - S4 -PSM - MODULE 5
VJCET
12
VJCET - S4 -PSM - MODULE 5
VJCET
Example
13
VJCET - S4 -PSM - MODULE 5
VJCET
14
VJCET - S4 -PSM - MODULE 5
VJCET
15
VJCET - S4 -PSM - MODULE 5
Example
VJCET
16
VJCET - S4 -PSM - MODULE 5
VJCET
Estimating Parameters
normal equations
17
VJCET - S4 -PSM - MODULE 5
Example
VJCET
18
VJCET - S4 -PSM - MODULE 5
VJCET
19