Models + Linear Regression Flashcards

1
Q

what are independant variables?

A

the inputs, what we manipulate to see how they affect the dependant variables

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

what are dependant variables?

A

the outputs, what we measure when manipulating the independant variables

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

difference between continuous and discrete data?

A

discrete data can only take on certain values i.e. half a person? and rolling dice

continuous data can take on any value within a range i.e. height

discete data is counted
continuous data is measured

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

how is a predictive model used and why is it useful?

A

a predictive model can be used to predict how a change in the independant variables will affect the dependent ones

useful as they are prescriptive: they enable prediction of behavioural outcomes so the interface can be designed accordingly

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

what is the overfitting problem?

A
  • trying to make the model match all observations (super curvy line)
  • risks modelling noise
  • counters occam’s razor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

how are a and b calculated in a linear model?

A

Y = a + bX

b = XYbar - (Xbar x Ybar) / X^2bar - Xbar^2
a = Ybar - b*Xbar
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

describe a method of model validation

A

coefficient of determination (R^2)
the lower R2, the less variance is explained by the model
if the ratio is 1 then no variance is explained (good)
your ratio is how much variance is explained
R2 = 1 - SSerror/SStotal

SSerror is the sum of (y - y’)2 where y’ is the model’s estimate and y is the actual value
SStotal is the sum of (y - ybar)2

or

SSerror is how much you were off the model by and
SStotal is how much you were off the avg by

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

how to calculate SStotal?

A

SStotal is the sum of (y - ybar)2

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

how to calculate SSerror?

A

SSerror is the sum of (y - y’)2 where y’ is the model’s estimate and y is the actual value

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