MLR Flashcards

1
Q

How is the best regression model fit found?

A

The best fit model is the one that minimises the total square differences between the X data points and the model.

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

What is simple linear regression?

A

A statistical technique that develops an equation that relates a dependent variable to one independent variable.

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

What does SLR do?

A

1) Enables prediction of dependent variable
2) Estimates the line of best fit
3) Evaluates a linear relationship between the explanatory variable and the response variable.

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

An important tip for interpreting SLR model?

A

The coefficient of X shows an increase/ decrease ON AVERAGE not certainly. The Y-intercept shows the AVERAGE is not accurate.

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

What is the lower and upper 95%?

A

This is the 95% confidence interval around the estimated values. Shows the amount of variability in the models.

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

How to find the T-value in Excel?

A

T.INV.2T(CI/2, number of values - number of variables -1)

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

What does the estimated slope do?

A

Provide information about the relationship between the response variable and the explanatory variable. It also shows the estimated average increase in Y for a one-unit increase in X.

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

What does the intercept show?

A

The value of the predicted response when the explanatory variable value is zero.

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

What does the t-test in the SLR model show?

A

These show whether the coefficient values are significantly different from 0. E.g. if floor space significantly explains the variability in house prices.

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

How to carry out a t-test?

A

Step 1: H0: beta=0 H1: beta =/ 0
Step 2: Assume H0 is true.
Step 3: Calculate the test statistic
t= (coefficient estimate-0)/ SE(coefficient estimate)
Step 4: Interpret results.

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

What does the p-value show?

A

The p-value shows the sum of the two cut-off areas of the distribution in a two-tailed test. It shows the probability of getting the t-stat or more extreme given the null hypothesis is true.

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

What is the connection between the confidence interval and 2 tailed t-tests?

A

If the t-test shows that the coefficient is significantly different from 0 p<aplha then the confidence interval doesn’t contain 0. If the opposite occurs the CI does contain 0/

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

What does the t-test test for?

A

Whether the coefficients are significantly different from 0.

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

What does the SS of regression show?

A

This shows the sum of the squares of the differences between the predicted values and the mean of the data points. Shows the total variation of the response variable.

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

How to find SS Total?

A

SS regression + SS residual

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

How to find the R-squared value?

A

SS regression/ SS total.

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

What does R squared show?

A

It shows how much of the variation is explained by the model. It evaluates the dispersion of the data points around the fitted regression line. Also called the coefficient of determination.

16
Q

Why is the R-squared value not always good?

A

1) Doesn’t show outliers.
2) Doesn’t show increasing variance.
3) Doesn’t show model is curved.

17
Q

What is heteroscedasticity?

A

The variance differs over the data set.

18
Q

When can you carry out a SLR model?

A

1) When the residuals have constant variance.
2) The model must be linear.
3) Residuals must be uncorrelated.
4) The errors are normally distributed with a mean of 0.

19
Q

What does the standard error show?

A

This is the average distance that the observed data points fall from the regression line. I.e. it tells you how wrong the model is on average using the units of the response variable.

20
Q

How to calculate the standard error?

A

Mean squared residual value square rooted.

21
Q

How to calculate multiple R?

A

The square root of the R squared value.

22
Q

What is the multiple R?

A

This is the correlation coefficient. Shows how strong the linear relationship is between the response y data and explanatory x data.

23
Q

What does F show?

A

1)
It tests whether the model ‘taken as a whole’ is explaining a significant portion of the variability in the response variable
2)
It tests the null hypothesis that a model with no explanatory variables fits the data as well as your fitted regression model.

24
Q

What is step 1 of the f-test?

A

H0: a model with no explanatory variables fits the data as well as this model.
H1: your model fits the data better than the intercept-only model.

25
Q

How to find the f-test statistic value?

A

MS regression/ MS residual

26
Q

How to calculate the residuals?

A

Observed value for response - predicted value from the model.

27
Q

How to check that the regression assumptions hold?

A

Using the residuals

28
Q

What is a MLR model?

A

It includes more than one explanatory variable with the same assumptions as the SLR model.

29
Q

How do we account for models with more than two categories in the explanatory variable?

A

By using dummy variables (binary variables). Always use one less than the number of categories.

30
Q

What is the reference category?

A

All the dummy variables are equal to 0. When interpreting the fitted model, comparisons are made with respect to the reference category.

31
Q

Interpreting dummy variables

A

If significant variability in the response variable is explained by at least one of the dummy variables we must keep the rest even if they don’t.

32
Q

What is a binary variable?

A

A variable that can only take two values.

33
Q

How would you interpret D1 from the following equation?
Sale Price = 17640.7 + 107.5 Floor Space - 46898.1 D1 -58001.8 D2

A

The sale price decreases on average by $46898 if it’s a two-family conversion compared with the reference category assuming floor space stays set.

34
Q

What is multicollinearity?

A

Where one explanatory variable in an MLR model can be predicted from one or more other explanatory variables in the model. E.g. aX1+bX2+cX3= X4

35
Q

Which of the following is a possible effect of having multicollinearity in your model?

A

Impacts calculations regarding individual explanatory variables. This in turn means cannot rely on the interpretation of the coefficient values as an explanation for relationships between Y and X.
It can also affect the validity of p-values.

36
Q

When does multicollinearity occur?

A

Occurs when two or more explanatory variables in a regression model are moderately or highly correlated with each other.

37
Q

Ways to spot multicollinearity

A

1) Think about definitions of the variables and whether they overlap.
2) Draw scatter plots and calculate correlations between each pair of explanatory variables.
3) Check whether the fitted coefficient values make sense.
4) Check for a contradiction between the overall ANOVA f-test and individual coefficient t-tests.
5) Play around with the model and see if the coefficients change drastically.
6) Removal of a variable from the model leads to an increased R-squared.

38
Q

How to fix multicollinearity?

A

1)Try not to include highly correlated explanatory variables.
2) Create a new variable which is a combination of the highly correlated variables.

39
Q
A