Multiple and Logistic Regression Flashcards

1
Q

what is the equation for simple linear regression?

A

Y = mx+ c

OR

Y = B0 + B1X + E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is the equation for multiple linear regression?

A

Y = B0 + B1X + B2X + E

Y is dependent variable
X is the independent variable
B0 is the intercept
B1 is the slope of X1
B2 is the slope of X2
E is the error term

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

give three times when can we use multiple linear regression?

A
  • when we want to predict a continuous outcome variable (statistics exam score) from multiple predictor variables e.g. (IQ, watched lectures, hours of sleep)
  • when independent variables are causally related to dependent to variable
  • for hypothesis testing
  • to predict how much the independent predictors explain the variation in the dependant predictors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is R^2?

A

the variability in the outcome variables that is predicted by the independent predictors

an r^2 value of 100% means all of the variation in the Y variable is caused by the independent predictors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what are the 6 advantages of multiple linear regression

A
  • able to adjust for confounding variables
  • examine the effect of multiple independent predictors on an outcome
  • improves amount of variability you can explain in the dependent variable
  • perform multiple hypothesis tests
  • more accurate predictions of outcome variable
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is logistic regression used for?

A

used to predict a binary outcome variable (a “0” or a “1”)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what 2 tyeps of predictors can we use for logistic regression?

A
  • binary
  • continuous
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what does the output need to be in logistic regression and why?

A
  • needs to be between 0 and 1
  • this is because we model probabilities as the outcome
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

why can’t you use linear regression to predict passing an exam from hours of sleep?

A

linear regression output is negative to postivie infinity, but the relationship between probability and independent variables is not linear

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what is the inverse logisitic function equation?

A

e (B0 + B1x)
/
1 + e(B0 + B1x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what are log-odds/logits?

A

makes an inverse logit function show a linear relationship

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what is the equation for log odds

A

log(P/(1-P)) = B0 + B1X

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly