Professional Documents
Culture Documents
Linear Regression Analysis
Linear Regression Analysis
ANALYSIS
REGRESSION ANALYSIS
• It is a method of analyzing the variability of a response variable by using
information available on one or more regressor variables.
• It seeks to answer the question: What are the expected changes in the response
variable as a result of changes (observed or induced) in the regressor
variable(s)?
• A response variable (or dependent variable) is a variable whose values we wish
to characterize.
• A regressor variable (or independent variable, also known as predicting
variable) is a variable whose effects on the response variable we wish to study
REGRESSION ANALYSIS
• The most commonly used form of regression is linear regression, and the most
common type of linear regression is called ordinary least squares regression.
ASSUMPTIONS OF LINEAR REGRESSION
In theory, there are several important assumptions that must be satisfied if linear regression is
to be used. These are:
• Both the independent (X) and the dependent (Y) variables are measured at the interval or
ratio level.
• The relationship between the independent (X) and the dependent (Y) variables is linear.
• Errors in prediction of the value of Y are distributed in a way that approaches the normal
curve.
• Errors in prediction of the value of Y are all independent of one another.
• The distribution of the errors in prediction of the value of Y is constant regardless of the
value of X.
THE LEAST SQUARES LINEAR REGRESSION EQUATION
•
THE LEAST SQUARES LINEAR REGRESSION EQUATION
•
EXAMPLE
Data on selected families of students in PQR University and corresponding income;
Number of members in the family (X)
Monthly family income in thousand of pesos (Y)
Student X Y
1 3 64
2 8 150
3 5 101
4 2 36
5 2 42
6 4 75
7 6 124
EXAMPLE
1. What is the simple linear regression equation?
Student X Y
1 3 64
2 8 150
3 5 101
4 2 36
5 2 42
6 4 75
7 6 124
30 592
Solution:
Student X Y
1 3 64 192 9
2 8 150 1200 64
3 5 101 505 25
4 2 36 72 4
5 2 42 84 4
6 4 75 300 16
7 6 124 744 36
30 592 3097 158
•
•
ANSWER
•
EXAMPLE
A teacher would like to determine whether the students score in Algebra has an effect on their scores in Calculus.