Docsity

Regression Analysis: Linear & Non-linear, Simple & Multiple Regression, Goodness of Fit, Slides of Statistics

Toggle sidebar
bg1
1
Introduction to Regression
Types of Regression Analyses
Linear Regression
Goodness of Fit
Types of Regression Analyses
Simple linear regression
Y = mX + b (equation for a line)
m = slope
b = y intercept
In statistics we use
Y = a+ bX
b = slope
a = y intercept
Types of Regression Analyses
Non-linear: curve estimation
Linear
Y= a + bx
Exponential
Y = abx
Quadratic
Y = a + b1x + b2x2
Docsity.com
pf3
pf4
pf5

Partial preview of the text

Download Regression Analysis: Linear & Non-linear, Simple & Multiple Regression, Goodness of Fit and more Slides Statistics in PDF only on Docsity!

Introduction to Regression Types of Regression Analyses Linear Regression Goodness of Fit Types of Regression Analyses Simple linear regression Y = mX + b (equation for a line) m = slope b = y intercept In statistics we use Y = a + b X b = slope a = y intercept Types of Regression Analyses Non-linear: curve estimation Linear Y= a + bx Exponential Y = abx Quadratic Y = a + b 1 x + b 2 x^2

Non-linear: curve estimation Linear Exponential Quadratic Types of Regression Analyses Types of Regression Analyses Multiple Regression Estimate the relation between variables, taking into account several additional (third) variables. Example: estimate the gain in weight due to quitting smoking, taking into account: age, race, level of education, duration of follow-up, changes in physical activity, and reproductive history (Williamson et al., 1991 N.E.J.M.) Types of Regression Analyses Simple linear regression: Y = bX + a (equation for a line). Multiple regression: Y = b 1 X 1 + b 2 X 2 + b 3 X 3 +... Where: b 1 = influence smoking status (x 1 ) b 2 = influence of age (x 2 ) b 3 = race (x 3 ) etc. each b = beta weight for a variable

Simple linear regression: Example

Subj. X Y 1 7 15 2 4 7 3 6 9 4 3 8 5 5 11 Calculate the values for r r = 16/ 0*40 = 16/20 =. Subj. X Y (x-Mx) (y-My) (x-Mx)(y-My) 1 7 15 2 5 10 2 4 7 -1 -3 3 3 6 9 1 -1 - 4 3 8 -2 -2 4 5 5 11 0 1 0 Means 5 10 Sum 25 50 SP 16 Sum^2 135 540 SS 10 40 b = SP/SSx = 16/ = 1. a = My - bMx = 10 - 1.6(5) = 10 - 8 = 2 Thus, the equation for the line is Y = 2 + 1.6X

Plotting a regression line. Define Y (y “hat”) as the estimate of y from the regression equation and x. X Y 0 2+ 1.6x = 2 5 2 + 1.6x = 10 Goodness of Fit In regression we are saying that: variability in Y = Influence of X + error The influence of X is measured by the correlation, the the amount of variance accounted for by X is equal to r^2 That is: SSy = r^2 (SSy) + error Goodness of Fit The error is the difference between actual values of y and predicted y from the regression equation.

Goodness of Fit Define the standard error of estimate for a regression line as: = SSresidual/df In our example: Standard error of the estimate = 14.40/ = 2.