Introduction Regression Analysis: Muhammad Naveed Aman
Introduction Regression Analysis: Muhammad Naveed Aman
nonlinear relationship.
Introduction to Linear
Regression (Contd)
• Equation for straight line
• 𝑌=𝑎𝑋+𝑏
• The value of b is called the slope
constant and determines the direction
and degree to which the line is tilted.
• The value of a is called the Y-
intercept and determines the point
where the line crosses the Y-axis. 5
Introduction to Linear
Regression (Contd)
• Distance between the data points and the
line
• The total error between the data points and
the line is obtained by squaring each
distance and then summing the squared
values.
• The regression equation is designed to
produce the minimum sum of squared
errors.
Regression Line
• 𝒃=𝒓 𝑺↓𝒀 /𝑺↓𝑿
• 𝑨= 𝑴↓𝒀 −𝒃𝑴↓𝑿
• Standardized Variables
• 𝑏=𝑟
• 𝐴=0
R2 and Adj R2