Lec NO 9

Download as pdf or txt
Download as pdf or txt
You are on page 1of 10

Lec.NO.

9
Correlation and Regression (part2)

Eng. Statistics PE312


Petroleum Engineering / Missan University
2024 -2025

1
Correlation and Regression
In studying relationships between two variables, collect the data and then construct a
scatter plot. The purpose of the scatter plot, as indicated previously, is to determine the
nature of the relationship. The possibilities include a positive linear relationship, a negative
linear relationship, a curvilinear relationship, or no discernible relationship. After the
scatter plot is drawn, the next steps are to compute the value of the correlation coefficient

the next step is to determine the equation of the regression line, which is the data’s line of
best fit.
The purpose of the regression line is to enable the researcher to see the trend and make
predictions on the basis of the data. Line of Best Fit Figure shows a scatter plot for the
data of two variables. It shows that several lines can be drawn on the graph near the points.
Given a scatter plot, you must be able to draw the line of best fit.
The Best fitting line??

Scattering plot with 3 lines fit to the data


Types of Regression Models

❑ Simple linear regression.


❑ Multiple regression.
❑ Polynomial regression.
❑ Logistic regression.
Simple Linear Regression Line In Algebra &
Statistics

In statistics, the equation of the regression line is written as y' = a + bx,


where:
a is the y intercept.
b is the slope of the line.
The Simple Linear Regression Formulas
Exercise: Find the equation of the regression line for the data below
and graph the line on the scatter plot. Use the equation of the regression
line to predict the depth at 16.1k.b pressure.

Pressure 1.3 2.7 5.5 8.5 11.5 15.0 18.5 25.5 32


(k.b)
Depth 5 10 20 30 40 50 60 80 100
(k.m)
Quiz: Find the equation of the regression line for the data below and
graph the line on the scatter plot. predict the depth at 1000 C°?

Temperature 200 350 550 700 850 980 1100 1300 1500
(C°)
Depth 5 10 20 30 40 50 60 80 100
(k.m)
The Summary
Homework:
Exercises 10 – 1 / page 572
Q1 and Q17

You might also like