Data Science Lecture 8

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/79

encourage image

There's no tags or description

Looks like no tags are added yet.

80 Terms

1
New cards

In simple linear regression, what is the relationship being modeled?

Between one dependent and one independent variable

2
New cards

What does the slope in a simple linear regression represent?

The average change in the dependent variable for a one-unit change in the independent variable

3
New cards

Which method is commonly used to estimate the coefficients in simple linear regression?

Least Squares

4
New cards

What assumption is made about the error terms in simple linear regression?

They are normally distributed with constant variance

5
New cards

Which metric measures the proportion of variation in the dependent variable explained by the independent variable?

R-squared

6
New cards

What is the range of the R-squared statistic in simple linear regression?

0 to 1

7
New cards

Which of the following indicates a perfect linear relationship?

R² = 1

8
New cards

If the slope coefficient is not significantly different from zero, what does that imply?

The independent variable has no linear relationship with the dependent variable

9
New cards

What does the residual in a regression model represent?

The error between the observed and predicted value

10
New cards

Which of the following assumptions is violated when there is heteroscedasticity?

Constant variance of residuals

11
New cards

Which diagnostic plot helps assess the linearity assumption?

Residuals vs Fitted plot

12
New cards

In simple linear regression, the total sum of squares (TSS) is equal to:

Regression sum of squares + Residual sum of squares

13
New cards

Which of the following is not an assumption of simple linear regression?

No multicollinearity

14
New cards

Which of the following tests whether the slope is significantly different from zero?

t-test

15
New cards

When the slope is negative, the relationship between X and Y is:

Inverse

16
New cards

What does the intercept () represent in a simple linear regression?

The predicted value of Y when X is 0

17
New cards

Which condition indicates a potential outlier in simple linear regression?

High leverage or large standardized residual

18
New cards

What does Mean Squared Error (MSE) measure in linear regression?

Average of squared residuals

19
New cards

Which metric is used to determine how well a regression model fits unseen data?

RMSE on validation/test data

20
New cards

What distinguishes multiple linear regression from simple linear regression?

It includes more than one independent variable

21
New cards

Which method is commonly used to estimate the parameters in multiple linear regression?

Least Squares

22
New cards

What does the R-squared value represent in multiple linear regression?

The proportion of variance in Y explained by all predictors

23
New cards

What is the range of the R-squared statistic?

0 to 1

24
New cards

Which of the following is a key assumption of multiple linear regression?

Errors have constant variance (homoscedasticity)

25
New cards

What does multicollinearity refer to in multiple regression?

Correlation among independent variables

26
New cards

Which statistic is used to detect multicollinearity?

Variance Inflation Factor (VIF)

27
New cards

Which of the following indicates serious multicollinearity?

VIF > 10

28
New cards

Which test is used to assess the overall significance of a multiple regression model?

F-test

29
New cards

What does the coefficient of an independent variable represent in multiple regression?

The effect of the variable controlling for others

30
New cards

What does a small p-value for a predictor indicate?

There is strong evidence against the null hypothesis

31
New cards

What does the error term in the regression model account for?

Unexplained variation in Y

32
New cards

Which of the following plots is used to diagnose homoscedasticity?

Residuals vs Fitted

33
New cards

Which of the following is a consequence of multicollinearity?

Inflated standard errors

34
New cards

Which selection method starts with no predictors and adds one at a time?

Forward selection

35
New cards

Which selection method removes the least significant predictor at each step?

Backward elimination

36
New cards

Which of the following is NOT an assumption of classical linear regression?

Normality of predictors

37
New cards

What assumption is violated if residuals show a funnel shape when plotted against fitted values?

Homoscedasticity

38
New cards

Which assumption is checked using a Q-Q plot of residuals?

Normality of residuals

39
New cards

Which of the following best indicates multicollinearity?

VIF > 10 for one or more predictors

40
New cards

Violation of the normality assumption primarily affects:

Confidence intervals and hypothesis tests

41
New cards

Which of the following indicates a violation of the linearity assumption?

Residuals vs Fitted plot has a curved shape

42
New cards

What is the main consequence of heteroscedasticity?

Invalid standard errors and inference

43
New cards

Which of the following is most likely to reduce the effect of multicollinearity?

Use Ridge regression

44
New cards

Which type of plot is most useful to diagnose violations of the homoscedasticity assumption?

Residuals vs Fitted values

45
New cards

What does a high VIF value indicate?

Multicollinearity

46
New cards

If residuals are not independent, what assumption is violated?

Independence of errors

47
New cards

Which transformation might correct non-linearity in predictors?

Logarithmic transformation

48
New cards

Which assumption violation is most likely when time-series data is used without controlling for time effects?

Autocorrelation

49
New cards

If residuals have increasing variance as fitted values increase, this indicates:

Heteroscedasticity

50
New cards

Which regression technique helps to handle multicollinearity?

Ridge regression

51
New cards

The consequence of multicollinearity in a regression model is:

Inflated standard errors and unstable coefficients

52
New cards

Which metric measures the square root of the average of squared residuals?

RMSE

53
New cards

What does the Mean Absolute Error (MAE) measure in a linear regression model?

Average of absolute residuals

54
New cards

Which performance metric penalizes large errors more heavily than small ones?

RMSE

55
New cards

Which criterion is used to compare linear regression models by balancing fit and complexity?

AIC (Akaike Information Criterion)

56
New cards

What is the main drawback of using R-squared as the only performance measure?

It never decreases with added predictors

57
New cards

Which of the following measures is scale-dependent and cannot be compared across datasets?

RMSE

58
New cards

What is the difference between AIC and BIC in model selection?

BIC imposes a higher penalty for model complexity

59
New cards

Which metric measures prediction accuracy as a percentage?

MAPE (Mean Absolute Percentage Error)

60
New cards

When using cross-validation for linear regression, which measure is typically used to assess prediction error?

Cross-validated RMSE

61
New cards

Which performance metric increases if the residuals become more variable?

RMSE

62
New cards

Which of the following indicates poor model generalization on unseen data?

Low training RMSE and high validation RMSE

63
New cards

Which measure is suitable for evaluating models with different numbers of predictors and sample sizes?

Adjusted R-squared

64
New cards

If two models have similar AIC values, which should be preferred?

The one with fewer predictors

65
New cards

Which measure combines both bias and variance in its calculation?

RMSE

66
New cards

Which tool is most commonly used to detect multicollinearity in multiple linear regression?

VIF (Variance Inflation Factor)

67
New cards

What does a VIF value greater than 10 usually suggest?

Strong multicollinearity

68
New cards

Which plot is best for checking homoscedasticity?

Residuals vs Fitted plot

69
New cards

A curved pattern in the Residuals vs Fitted plot indicates a violation of:

Linearity

70
New cards

The Durbin-Watson test is used to detect:

Autocorrelation

71
New cards

A Q-Q plot that deviates from a straight line indicates a violation of:

Normality of residuals

72
New cards

Which of the following suggests heteroscedasticity in a residuals vs fitted plot?

Funnel-shaped spread

73
New cards

Which of the following graphical tools can be used to identify observations with unusually large or small residuals in a linear regression model?

Boxplot of residuals

74
New cards

What assumption is violated if residuals are positively autocorrelated?

Independence of errors

75
New cards

If predictors are highly correlated, which consequence is most likely?

Inflated standard errors

76
New cards

A histogram of residuals is primarily used to assess which assumption?

Normality

77
New cards

The Box-Cox transformation is often applied when which assumption is violated?

Normality or constant variance

78
New cards

When is stepwise regression useful in the context of assumption checks?

To reduce multicollinearity by removing redundant predictors

79
New cards

Which is NOT a proper method to detect multicollinearity?

Residuals vs fitted plot

80
New cards

What assumption is likely violated if the residuals are not symmetrically distributed?

Normality