Week 7 (regression Analysis) Flashcards
What is regression analysis?
Regression analysis describes the dependence of one variable on one or more variables
How does RA work?
It uses the independent variable to estimate the dependent variable
2 assumptions for bivariate regression analysis?
- relationship between variables is linear
- both variables must be interval or ratio scale
2 equations of line for BRA and meaning of each letter?
y = a + bx + e
y = dependent variable x = independent variable b = slope e = error term a = intercept
y^ = a + bx
y hat is line of best fit
What does the LofBF do?
It minimises the sum of squared values between the actual and predicted y values
What is error?
The vertical difference between an observation and the regression line
How to find intercept (a)?
a = ybar - bxbar
Equation for slope?
b = r(Sy/Sx)
Sy = sample s.d. of y Sx = sample s.d. of x
What is the purpose of a dummy variable?
A variable used to include qualitative and nominal data in a regression