Regression
Regression
UNIT 3
Regression Analysis
3.1. Definition
Regression analysis is one of the most commonly used statisticaltechniques in social and
behavioral sciences as well as in physical sciences which involves identifying and evaluating the
relationship between a dependent variable and one or more independent variables, which are
also called predictor or explanatory variables. is particularly useful for assess and adjusting for
It
confounding. Model of the relationship is hypothesized and estimates of the parameter values
are used to develop an estimated regression equation. Various tests are then employed to
determine if the model is satisfactory. If the model is deemed satisfactory, the estimated
regression equation can be used to predict the value of the dependent variable given values for
the independent variables.
Linear regression explores relationships that can be readily deseribed by straight lines or
theirgeneralization to many dimensions. A surprisingly large number of problems can be solved
by linear regression, and even more by means of transformation of the original variables that
result in linear relationships among the transformed variables.
When there is a single continuous dependent variable and a single independent variable, the
analysis called a simple linear regression analysis. This analysis assumes that there a
is
is
linear association between the two variables. Multiple regression is to learn more about the
relationship between several independent or predictor variables and a dependent or criterion
variable.
Independent variables are characteristics that can be measured directly; these variables are
also called predictor or explanatory variables used to predict or to explain the behavior of the
dependent variable.
Does the model make intuitive sense? Is the model easy to understand and interpret?
Are all coefficients statisticallysignificant? (p-values less than 05)
Ane the sions associated with the coefficients a
Does aSset
values hat are
Cients
Xpected?
answer; the question of how much dependent variable changes with changes in each of the
independent's variables, and to forecast or predict the value of dependent variable based on the
values of the independent's variables.
13
The variance of the error term constant for all the values of the independent variable,
is
the assumntionAfhomscedusticity
i
The independent variable uncorrelated with the error term.
is
The error term normally distributed.
is
On an average difference between the observed value (yi) and the predicted value ('yi)
is
zero.
On an average the estimated values of errors and values of independent variables are not
related to each other.
The squared differences between the observed value and the predicted value are similar.
There some variation in independent variable. If there are more than one variable in
is
the equation, then two variables should not be perfectly correlated.
Intercept or Constant
Intercept isthe point which the regression intercepts y-axis.
at
• Intercept provides a measure about the mean of dependent variable when slopes) are
zero.
If slope(s) are not zero then intercept is equal to the mean of dependent variable minus
slope x mean of independent variable.
Slope
For a linear model, slope is not equal to elasticity. That is because; elasticity percent
is
change in dependent variable, as a result one percent change in independent variable
d
relationships between continuous (quantitative) variables. IIn a cause effect
s.
t
the independent variable the cause, and the dependent variable isthe effect. Least squares
is
linear regression is a method for predicting the value of a dependent variable y. based on the
The other variable, denoted (V), is regarded as the response, outeome, or dependent
variable.
y=Bo t B x1 t&
14
Where
x= =
of
regression line and the y axis. Sum of square independent variable.
y-
nZxy- ExEy Bo
B
n)x²- (2x)2
Table (3.1) calculating the linear regression of patient's age and blood pressure
Age BP
Required calculation
Xy=1410
5 67 158 10586 4489
175
8260
12075
2
348
4761
Z= 26157
50
Where
of
- x2y
B= n
n
xy
*-(21)
Example - linear Regression patient's age and their blood pressure
of
A study is conducted involving 10 patients to investigate the relationship and effects of patient's
age and their blood pressure.
Table (3.) calculating the linear regression of patient's age and blood pressure
Age BP
Ob:
Required caleulation
|x=491
4 44 138 6072 1936
15