Lecture 4 Correlation and regression
Lecture 4 Correlation and regression
variables.
Correlation analysis is used to measure strength of the
association (linear relationship or straight line
association ) between two variables
10
CORRELATION COEFFICIENT
The population correlation coefficient ρ (rho) measures
the strength of the association between the variables
11
Features of ρ and r
Unit free
Range between -1 and 1
The closer to -1, the stronger the negative linear relationship
Example: Depression & Self-
Self-esteem , Studying & test errors
13
EXAMPLE
o Systolic Blood Pressure against Age
14
Calculating the Correlation Coefficient
15
16
17
18
19
20
Interpretation of correlation
22
EXCERCISE-2:
The following data are records of birth weight in kg(x10) current
average income(x1000) and years of college education completed
by mothers for a simple random sample of 10 births occurring in a
single hospital in one month.
23
INTRODUCTION TO REGRESSION ANALYSIS
What is Regression Analysis?
Regression analysis is a tool/
tool/technique
technique in biostatistics for :-
the investigation and modeling of relationships between
variables, one known as dependent and the remain known as
independent..
independent
24
CLASSIFICATION OF VARIABLE IN REGRESSION
25
and the x-variable is, however, known as
Independent Variable
Risk factor
Explanatory Variable
Predictor
Input variable,
Note that
that:: we have always one dependent variable , but
for this dependent variable, we can have one or more
independent variables
26
Example: We may employ regression technique/analysis
(1). To study how heart rate affected by or depends up on :-
Emotional Stress level
27
Types of Regression Analysis
The relationship existing among regression variables could be:
(i). Linear or straight line relationship:
It is one in which the relationship between X and Y can best be
represented by a straight line.
line.
Example:
28
Linear regression analysis is, therefore, a statistical technique
used to examine the linear relationship that can exist between
two groups of variables,
variables, one dependent and the other independent.
It can be classified as:
(a).. Simple Linear Regression Analysis
(a)
It is a regression between two variables, one is dependent and the
other one is independent
independent.. The nondeterministic model used in this
regard is given by
yi 0 1 x1 i
Simple
regression
One dependent
Onedependent One
29
variable independent
variable
30
31
32
33
34
35
36
Example: Simple Linear Regression
A researcher wishes to examine the relationship
between the amount of the daily average diets taken by
a cohort of 24 sample children and the weight gained
by them in one month (both measured in kg). The
content of the food is the same for all of them.
38
REGRESSION RESULTS USING SPSS
39
Interpretation of the Intercept, b0
40
Interpretation of the Slope Coefficient, b1
41
Least Squares Regression Properties
42
Explained and Unexplained Variation
43
Explained and Unexplained
44
Explained and Unexplained
45
Coefficient of Determination, R2
46
The Standard Deviation of the Regression Slope
47
Inference about the Slope :t Test
48
Inferences about the Slope: t-Test
Example
49
Confidence Interval estimation
50