modeling, SLR Flashcards

1
Q

regression line formula

A

y hat = a hat + b hat * x

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

What is MSE and how is it used?

A

MSE = mean squared
MSE(a, b) = 1/n E(sub i)(yi - yi hat(a, b))^2

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

slope and intercept formula from data 8?

A

slope = r * (SD of y/ SD of x)
intercept = avg of y - avg of x * slope

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

SLR Model

A

y hat = a + bx

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

What is a loss function?

A

A loss function characterizes the cost, error, or fit
resulting from a particular choice of model or model parameters

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

Squared Loss (L2)

A

L(y, yhat) = (y-yhat)^2

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

Absolute Loss(L1)

A

L(y, yhat) = | y - yhat |

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

What is empirical risk / average loss?

A

We care about how bad our model’s predictions are for our entire data set, not just for one point. A natural measure, then, is of the average loss (aka empirical risk) across all points.

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

How do we minimize the MSE?

A

MSE(a, b) = 1/nE(sub i)(yi - a - bxi)2

**To find the best values, we take derivatives with respect to the choice variables (a, b)

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