8.Linear regression-correlation
8.Linear regression-correlation
• Correlation
the strength of the relationship between variables
General equation:
The Least-Squares Criterion
The sum of the squared ver0cal devia0ons of the
observed data points (yi) from the least-squares line
is smaller than the sum of the squared ver0cal
devia0ons of the data points from any other line.
Measure of deviation
yi = values observed; : mean; : values from regression line
Total sum of square Regression sum of Error sum of
(SST) square (SSR) square (SSE)
Measure of varia/on
Obtaining the least square line:
From sample data, carried out by hands using equations:
Example:
A substance used in biological and medical research is shipped
by airfreight to users in cartons of 1000 ampules. The data
below, involving 10 shipments, were collected on the number of
times the carton was transferred from 1 aircraft to another over
the shipment route (X) and the number of ampules found to be
broken upon arrival (Y)
3. Calcula/ng a correla/on coefficient
THE CORRELATION COEFFICIENT
Test H0: β1 = 0
Y = 98.25 + 0.1098 X
α = 0.05
= 0.03297
= SSE =
> 2.1199
• Interpreting the Results
6. Some precautions
• The assumptions underlying regression and correlation analysis
should be reviewed carefully before the data are collected.