Week 3- lecture notes (linear model) Flashcards

1
Q

Terminology for plotting on the x and y axis

A

y- DV
x- IV

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

slope formula

A

change in y/ change in x

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

What is an intercept

A

Predicted Y value for when x is 0

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

How do we calculate what the regression line is

A

DV=intercept + slope*predictor
-can use this to predict mean of y given a certain value of x (deterministic)

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

Residuals

A

-regression model doesn’t fit any of the data points perfectly and the amount that it is inaccurate is quantified by residuals
-vertical differences seen coming off the regression line

-add an error term to the regression formula (DV=intercept + weight * predictor + error)
-stidastic- shows that predictions are never going to be perfect

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

What is linear regression

A

statistical method that’s used to create a linear model

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

What are the 4 different types

A
  • simple linear regression- models using only one predictor
  • multiple linear regression- models using multiple predictors
  • logistic regression- models a categorical response variable
  • multivariate linear regression- models for multiple response variables
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what are the assumptions of the simple linear regression

A

-normally distributed (homodasteicity)
-non-constant variance and non-normal residuals don’t follow these assumptions

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

The null model: measuring model fit

A

-compare normal model with one that only considers the intercept
only calculates as intercept + error term NOT intercept + weight * predictor + error

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

how do we calculate residuals with word frequency model and null model

A
  • do this using sum of squared errors (SSE)
    -null model can be used to create a standardised comparison between the two
    -rsquared = 1-SSEmodel/ SSEnull
    -how much can be accounted for and how much is merely due to chance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what does R squared actually measure

A

-measure of effect size
range from 0-1, values closer to 1 indicate better model fits and stronger effects

-R(squared) uses the residuals of the null model to standardise the residuals of the main model. This provides an effect size and tells us what the proportion of variation in the dependent variable can be accounted for by the predictor in the main model

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

The relationship between fitted values, observed values and residuals can be summarized as follows: residuals = observed values - fitted values

A

True

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

Statements about R squared that are true

A

R-squared values range from 0 to 1
R-squared tells us what proportion of variance in the outcome variable can be accounted for by the predictor variables

R-squared is a measure of effect size

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