Unit 2: SUPERVISED LEARNING: REGRESSION - Practice Quiz

INT234 — Predictive Analytics 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What does simple linear regression model?

Simple Linear Regression Easy
A. The relationship between several outcomes only
B. The relationship between two outcomes
C. The relationship between categories without predictors
D. The relationship between one predictor and one outcome

2 Which equation represents a simple linear regression model?

Simple Linear Regression Easy
A.
B.
C.
D.

3 How many predictor variables are used in multiple linear regression?

Multiple Linear Regression Easy
A. One predictor variable
B. No predictor variables
C. Two or more predictor variables
D. Only one categorical variable

4 Which is an example of multiple linear regression?

Multiple Linear Regression Easy
A. Predicting salary from age and experience
B. Grouping customers by buying habits
C. Predicting height from weight only
D. Sorting values from smallest to largest

5 What type of relationship can polynomial regression model?

Polynomial Regression Easy
A. A curved relationship
B. A relationship with no dependent variable
C. A constant relationship only
D. A categorical relationship only

6 Which term makes a regression model polynomial?

Polynomial Regression Easy
A.
B.
C.
D.

7 What type of outcome is commonly predicted by logistic regression?

Logistic Regression Easy
A. A sorted list
B. A missing value
C. A continuous measurement only
D. A binary outcome

8 What does logistic regression usually estimate before assigning a class?

Logistic Regression Easy
A. A probability
B. A sample mean only
C. A correlation table
D. A squared error only

9 What does ordinary least squares minimize?

Ordinary Least Squares Estimation Easy
A. The largest predictor value
B. The sum of predicted values
C. The number of predictors
D. The sum of squared residuals

10 What is a residual in regression?

Ordinary Least Squares Estimation Easy
A. The number of model variables
B. Predicted value plus actual value
C. Actual value divided by predicted value
D. Actual value minus predicted value

11 What does correlation measure?

Correlations Easy
A. The number of observations in a dataset
B. The strength and direction of a relationship
C. The average prediction error
D. The size of a regression coefficient

12 What does a correlation close to indicate?

Correlations Easy
A. A strong positive relationship
B. A perfect prediction error
C. A strong negative relationship
D. No linear relationship

13 What does Mean Absolute Error measure?

Mean Absolute Error (MAE) Easy
A. The proportion of explained variance
B. The average absolute prediction error
C. The direction of a correlation
D. The average squared predictor value

14 Which formula represents Mean Absolute Error?

Mean Absolute Error (MAE) Easy
A.
B.
C.
D.

15 How are errors treated in Mean Squared Error?

Mean Squared Error (MSE) Easy
A. They are ignored when negative
B. They are ranked before averaging
C. They are squared before averaging
D. They are converted into percentages

16 What happens to large errors in MSE?

Mean Squared Error (MSE) Easy
A. They become negative values
B. They receive no influence
C. They receive greater influence
D. They are replaced by the median

17 What does the R-squared score measure?

R-squared (R²) Score Easy
A. The average absolute prediction error
B. The number of predictors in a model
C. The proportion of outcome variation explained
D. The largest residual in a model

18 What does an R-squared value of usually indicate?

R-squared (R²) Score Easy
A. The largest possible error
B. No relationship in the data
C. A model with no predictors
D. A perfect fit to the data

19 How is RMSE related to MSE?

Root Mean Squared Error (RMSE) Easy
A. RMSE is the square of MSE
B. RMSE is unrelated to MSE
C. RMSE is the sum of MSE values
D. RMSE is the square root of MSE

20 Why is RMSE often easy to interpret?

Root Mean Squared Error (RMSE) Easy
A. It removes all prediction errors
B. It always equals zero
C. It measures only positive correlations
D. It uses the outcome's original units

21 A simple linear regression model is given by . What is the predicted value of when ?

Simple Linear Regression Medium
A.
B.
C.
D.

22 In a simple linear regression model, the slope is . What does this value indicate?

Simple Linear Regression Medium
A. decreases by for each unit increase in
B. remains constant as increases
C. decreases by for each unit increase in
D. increases by for each unit increase in

23 A model predicts house price using , where is the number of rooms and is the number of bathrooms. What is the prediction for a house with 5 rooms and 2 bathrooms?

Multiple Linear Regression Medium
A.
B.
C.
D.

24 In a multiple linear regression model, the coefficient of advertising expenditure is , while holding all other predictors constant. Which interpretation is correct?

Multiple Linear Regression Medium
A. Advertising increases by units for each unit increase in sales
B. The correlation between advertising and sales is exactly
C. Sales increase by units for each unit increase in advertising
D. Sales increase by units regardless of other predictors

25 Which model represents a quadratic polynomial regression model with one predictor?

Polynomial Regression Medium
A.
B.
C.
D.

26 A polynomial regression model fits the training data extremely well but performs poorly on new data. What is the most likely issue?

Polynomial Regression Medium
A. Perfect generalization caused by a low-degree model
B. High variance caused by too few features
C. Overfitting caused by excessive model complexity
D. Underfitting caused by excessive bias

27 A logistic regression model produces a probability of for a positive class. Using a classification threshold of , what class is predicted?

Logistic Regression Medium
A. Both classes equally
B. No class can be assigned
C. The positive class
D. The negative class

28 Why is the sigmoid function used in logistic regression?

Logistic Regression Medium
A. It guarantees that the predictors are normally distributed
B. It forces every predictor to have a positive coefficient
C. It removes the need for a classification threshold
D. It converts predictions into values between and

29 What quantity does ordinary least squares estimation minimize when fitting a regression model?

Ordinary Least Squares Estimation Medium
A. The sum of absolute residuals
B. The average of predictor values
C. The sum of squared residuals
D. The correlation between predictors

30 For a fitted regression line that includes an intercept, what is generally true about the residuals in ordinary least squares estimation?

Ordinary Least Squares Estimation Medium
A. Their absolute values are all equal
B. Their squared values sum to one
C. Their sum is approximately zero
D. Their signs are all positive

31 A correlation coefficient of between two variables indicates which relationship?

Correlations Medium
A. A strong positive linear relationship
B. A weak negative linear relationship
C. No relationship of any type
D. A strong negative linear relationship

32 Two variables have a correlation of . Which conclusion is most appropriate?

Correlations Medium
A. They have a weak positive linear relationship
B. Their relationship is perfectly nonlinear
C. They have a strong positive relationship
D. One variable causes the other

33 A model has actual values and predictions . What is its mean absolute error?

Mean Absolute Error (MAE) Medium
A.
B.
C.
D.

34 Compared with MSE, what is a key characteristic of MAE?

Mean Absolute Error (MAE) Medium
A. MAE is less affected by unusually large errors
B. MAE can only be used for classification
C. MAE penalizes large errors more heavily
D. MAE always produces a value below one

35 A model makes errors of , , and . What is the mean squared error?

Mean Squared Error (MSE) Medium
A.
B.
C.
D.

36 Why can MSE be strongly influenced by a single large prediction error?

Mean Squared Error (MSE) Medium
A. Errors are converted into percentages
B. Errors are ranked by their signs
C. Errors are squared before being averaged
D. Errors are divided by the predictions

37 A regression model has . What is the usual interpretation?

R-squared (R²) Score Medium
A. The model makes errors on of observations
B. The correlation between all variables is exactly
C. The predictors explain about of response variance
D. The model's predictions are correct of the time

38 A model's increases from to after adding a predictor. What does this result show?

R-squared (R²) Score Medium
A. The model explains more training-set variance
B. The new predictor definitely causes the response
C. The new predictor is statistically significant
D. The model's MAE must have increased

39 A model has an MSE of . What is its RMSE?

Root Mean Squared Error (RMSE) Medium
A.
B.
C.
D.

40 Why is RMSE often easier to interpret than MSE for a regression problem?

Root Mean Squared Error (RMSE) Medium
A. RMSE uses the same units as the response
B. RMSE is always smaller than MAE
C. RMSE ignores all large errors
D. RMSE measures correlation directly

41 A simple linear regression is fitted as . The predictor is redefined as , and the model is refitted using the same observations. Which relationship must hold?

Simple Linear Regression Hard
A. The new slope is and the new intercept is
B. The new slope is and the new intercept is
C. The new slope is and the new intercept is
D. The new slope is and the new intercept is

42 For five observations, suppose , , , and . What is the fitted OLS line with an intercept?

Simple Linear Regression Hard
A.
B.
C.
D.

43 The true population model is , with . The population regression of on has slope . If is regressed only on with an intercept, what is the population slope on ?

Multiple Linear Regression Hard
A.
B.
C.
D.

44 A model is written as . Define and . Which coefficients produce the same linear predictor using and ?

Multiple Linear Regression Hard
A.
B.
C.
D.

45 A cubic regression uses the basis . It is refitted in exact arithmetic using and the basis . Assuming full column rank, which statement is correct?

Polynomial Regression Hard
A. Both fitted values and residual sums of squares generally differ
B. Both fitted values and reported coefficients must remain identical
C. The fitted values are identical, although the reported coefficients generally differ
D. The fitted values differ, although the reported coefficients remain identical

46 A quadratic model with columns is fitted to many observations, but every observed is either or . What follows for unregularized OLS?

Polynomial Regression Hard
A. Both the coefficients and fitted values at observed rows are nonunique
B. Both the coefficients and fitted values at observed rows are necessarily unique
C. The coefficients are nonunique, but fitted values at observed rows are unique
D. The coefficients are unique, but fitted values at observed rows are nonunique

47 A logistic model is . Holding fixed, by what factor do the odds change when increases by one unit?

Logistic Regression Hard
A.
B.
C.
D.

48 For , predictions are classified as positive only when . What is the corresponding decision rule for ?

Logistic Regression Hard
A.
B.
C.
D.

49 In an unregularized logistic regression, one predictor perfectly separates all positive observations from all negative observations. What typically happens to maximum-likelihood estimation?

Logistic Regression Hard
A. The likelihood reaches a unique maximum with all coefficients equal to zero
B. The likelihood becomes quadratic and yields the ordinary least squares estimate
C. The likelihood approaches its supremum as some coefficient magnitudes diverge
D. The likelihood remains constant for every possible coefficient vector

50 Assume a full-rank linear model with , but varies across observations. Which statement about OLS is correct?

Ordinary Least Squares Estimation Hard
A. OLS remains conditionally unbiased and is necessarily the most efficient linear estimator
B. OLS becomes conditionally biased and is necessarily the least efficient linear estimator
C. OLS remains conditionally unbiased, but conventional homoscedastic standard errors can be invalid
D. OLS becomes conditionally biased, but conventional homoscedastic standard errors remain valid

51 An OLS model includes an intercept and predictors . Which condition must the fitted residuals satisfy, apart from numerical error?

Ordinary Least Squares Estimation Hard
A. and for every fitted predictor
B. and for every fitted predictor
C. and for every fitted predictor
D. and for every fitted predictor

52 Suppose , , and . What is the partial correlation between and after controlling for ?

Correlations Hard
A. Approximately
B. Approximately
C. Approximately
D. Approximately

53 Variables are transformed as and . If the Pearson correlation between and is , what is the correlation between and ?

Correlations Hard
A.
B.
C.
D.

54 A constant prediction is chosen to minimize empirical MAE for targets . Which set contains all minimizing values of ?

Mean Absolute Error (MAE) Hard
A. Every in
B. Only
C. Every in
D. Only or

55 Model A has residuals , while Model B has residuals . Which comparison is correct?

Mean Absolute Error (MAE) Hard
A. Model A has MAE , while Model B has MAE
B. Model A has MAE , while Model B has MAE
C. Both have MAE , but Model A has the smaller RMSE
D. Both have MAE , but Model B has the smaller RMSE

56 Conditional on a predictor value, with probability and with probability . Which constant prediction minimizes conditional MSE, and what is the minimum MSE?

Mean Squared Error (MSE) Hard
A. Predict , giving minimum MSE
B. Predict , giving minimum MSE
C. Predict , giving minimum MSE
D. Predict , giving minimum MSE

57 A model has MSE on a test subset of observations and MSE on a disjoint subset of observations. What is its MSE on the combined observations?

Mean Squared Error (MSE) Hard
A.
B.
C.
D.

58 On a test set, the total sum of squares around the test-set mean is , while a regression model's residual sum of squares is . What is the test-set ?

R-squared (R²) Score Hard
A.
B.
C.
D.

59 A simple OLS regression with an intercept is fitted on the same sample used to compute a Pearson correlation of between and . What are the model's training and slope sign?

R-squared (R²) Score Hard
A. with a positive slope
B. with a negative slope
C. with a positive slope
D. with a negative slope

60 A model has RMSE on observations and RMSE on another disjoint set of observations. What is the RMSE over all observations?

Root Mean Squared Error (RMSE) Hard
A.
B.
C.
D.