A.The relationship between categories without predictors
B.The relationship between two outcomes
C.The relationship between several outcomes only
D.The relationship between one predictor and one outcome
Correct Answer: The relationship between one predictor and one outcome
Explanation:
Simple linear regression uses one independent variable to predict one dependent variable.
Incorrect! Try again.
2Which equation represents a simple linear regression model?
Simple Linear Regression
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
A simple linear regression equation commonly has an intercept and one predictor term: .
Incorrect! Try again.
3How many predictor variables are used in multiple linear regression?
Multiple Linear Regression
Easy
A.Only one categorical variable
B.Two or more predictor variables
C.One predictor variable
D.No predictor variables
Correct Answer: Two or more predictor variables
Explanation:
Multiple linear regression uses two or more independent variables to predict an outcome.
Incorrect! Try again.
4Which is an example of multiple linear regression?
Multiple Linear Regression
Easy
A.Sorting values from smallest to largest
B.Grouping customers by buying habits
C.Predicting height from weight only
D.Predicting salary from age and experience
Correct Answer: Predicting salary from age and experience
Explanation:
Age and experience are two predictors used together to estimate salary.
Incorrect! Try again.
5What 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
Correct Answer: A curved relationship
Explanation:
Polynomial regression includes powers of a predictor, allowing the model to represent curves.
Incorrect! Try again.
6Which term makes a regression model polynomial?
Polynomial Regression
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
A term such as is a power of the predictor and is used in polynomial regression.
Incorrect! Try again.
7What type of outcome is commonly predicted by logistic regression?
Logistic Regression
Easy
A.A missing value
B.A continuous measurement only
C.A sorted list
D.A binary outcome
Correct Answer: A binary outcome
Explanation:
Logistic regression is commonly used for outcomes with two classes, such as yes or no.
Incorrect! Try again.
8What does logistic regression usually estimate before assigning a class?
Logistic Regression
Easy
A.A sample mean only
B.A probability
C.A squared error only
D.A correlation table
Correct Answer: A probability
Explanation:
Logistic regression estimates the probability that an observation belongs to a particular class.
Incorrect! Try again.
9What does ordinary least squares minimize?
Ordinary Least Squares Estimation
Easy
A.The number of predictors
B.The largest predictor value
C.The sum of predicted values
D.The sum of squared residuals
Correct Answer: The sum of squared residuals
Explanation:
Ordinary least squares chooses model coefficients that minimize the sum of squared differences between actual and predicted values.
Incorrect! Try again.
10What 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
Correct Answer: Actual value minus predicted value
Explanation:
A residual is commonly calculated as , where is actual and is predicted.
Incorrect! Try again.
11What does correlation measure?
Correlations
Easy
A.The number of observations in a dataset
B.The average prediction error
C.The strength and direction of a relationship
D.The size of a regression coefficient
Correct Answer: The strength and direction of a relationship
Explanation:
Correlation describes how strongly two variables move together and whether their association is positive or negative.
Incorrect! Try again.
12What does a correlation close to indicate?
Correlations
Easy
A.A strong positive relationship
B.No linear relationship
C.A strong negative relationship
D.A perfect prediction error
Correct Answer: A strong positive relationship
Explanation:
A correlation near indicates that two variables tend to increase together in a strong linear pattern.
Incorrect! Try again.
13What does Mean Absolute Error measure?
Mean Absolute Error (MAE)
Easy
A.The direction of a correlation
B.The proportion of explained variance
C.The average absolute prediction error
D.The average squared predictor value
Correct Answer: The average absolute prediction error
Explanation:
MAE averages the absolute differences between actual and predicted values.
Incorrect! Try again.
14Which formula represents Mean Absolute Error?
Mean Absolute Error (MAE)
Easy
A.
B.
C.
D.
Correct Answer:
Explanation:
MAE uses absolute residuals and then calculates their average.
Incorrect! Try again.
15How are errors treated in Mean Squared Error?
Mean Squared Error (MSE)
Easy
A.They are squared before averaging
B.They are converted into percentages
C.They are ranked before averaging
D.They are ignored when negative
Correct Answer: They are squared before averaging
Explanation:
MSE squares each residual and then computes the mean of those squared errors.
Incorrect! Try again.
16What happens to large errors in MSE?
Mean Squared Error (MSE)
Easy
A.They receive no influence
B.They receive greater influence
C.They are replaced by the median
D.They become negative values
Correct Answer: They receive greater influence
Explanation:
Squaring errors makes large errors contribute more to the overall MSE.
Incorrect! Try again.
17What does the R-squared score measure?
R-squared (R²) Score
Easy
A.The proportion of outcome variation explained
B.The largest residual in a model
C.The average absolute prediction error
D.The number of predictors in a model
Correct Answer: The proportion of outcome variation explained
Explanation:
R-squared indicates how much of the variation in the dependent variable is explained by the model.
Incorrect! Try again.
18What does an R-squared value of usually indicate?
R-squared (R²) Score
Easy
A.A model with no predictors
B.The largest possible error
C.A perfect fit to the data
D.No relationship in the data
Correct Answer: A perfect fit to the data
Explanation:
An R-squared value of means the model explains all observed variation in the outcome.
Incorrect! Try again.
19How is RMSE related to MSE?
Root Mean Squared Error (RMSE)
Easy
A.RMSE is the square root of MSE
B.RMSE is the sum of MSE values
C.RMSE is the square of MSE
D.RMSE is unrelated to MSE
Correct Answer: RMSE is the square root of MSE
Explanation:
RMSE is calculated as .
Incorrect! Try again.
20Why is RMSE often easy to interpret?
Root Mean Squared Error (RMSE)
Easy
A.It measures only positive correlations
B.It uses the outcome's original units
C.It always equals zero
D.It removes all prediction errors
Correct Answer: It uses the outcome's original units
Explanation:
Taking the square root of MSE returns the error measure to the same units as the predicted outcome.
Incorrect! Try again.
21A simple linear regression model is given by . What is the predicted value of when ?
Simple Linear Regression
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Substitute into the model: .
Incorrect! Try again.
22In a simple linear regression model, the slope is . What does this value indicate?
Simple Linear Regression
Medium
A. increases by for each unit increase in
B. decreases by for each unit increase in
C. decreases by for each unit increase in
D. remains constant as increases
Correct Answer: decreases by for each unit increase in
Explanation:
The slope represents the expected change in for a one-unit increase in . A negative slope indicates a decrease.
Incorrect! Try again.
23A 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.
Correct Answer:
Explanation:
Using the equation, .
Incorrect! Try again.
24In 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.The correlation between advertising and sales is exactly
B.Sales increase by units for each unit increase in advertising
C.Sales increase by units regardless of other predictors
D.Advertising increases by units for each unit increase in sales
Correct Answer: Sales increase by units for each unit increase in advertising
Explanation:
A regression coefficient describes the expected change in the response for a one-unit predictor increase, with other predictors held constant.
Incorrect! Try again.
25Which model represents a quadratic polynomial regression model with one predictor?
Polynomial Regression
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
A quadratic model includes the intercept, the linear term , and the squared term .
Incorrect! Try again.
26A 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.High variance caused by too few features
B.Underfitting caused by excessive bias
C.Perfect generalization caused by a low-degree model
D.Overfitting caused by excessive model complexity
Correct Answer: Overfitting caused by excessive model complexity
Explanation:
A highly complex polynomial can capture noise in the training data, producing low training error but poor test performance.
Incorrect! Try again.
27A logistic regression model produces a probability of for a positive class. Using a classification threshold of , what class is predicted?
Logistic Regression
Medium
A.No class can be assigned
B.Both classes equally
C.The positive class
D.The negative class
Correct Answer: The positive class
Explanation:
Because , the observation is assigned to the positive class.
Incorrect! Try again.
28Why is the sigmoid function used in logistic regression?
Logistic Regression
Medium
A.It converts predictions into values between and
B.It forces every predictor to have a positive coefficient
C.It guarantees that the predictors are normally distributed
D.It removes the need for a classification threshold
Correct Answer: It converts predictions into values between and
Explanation:
The sigmoid function maps any real-valued input to the interval , allowing the output to represent a probability.
Incorrect! Try again.
29What 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 correlation between predictors
C.The sum of squared residuals
D.The average of predictor values
Correct Answer: The sum of squared residuals
Explanation:
OLS selects coefficients that minimize .
Incorrect! Try again.
30For 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 sum is approximately zero
C.Their signs are all positive
D.Their squared values sum to one
Correct Answer: Their sum is approximately zero
Explanation:
When an intercept is included, the OLS normal equations imply that the residuals sum to zero, apart from numerical rounding.
Incorrect! Try again.
31A correlation coefficient of between two variables indicates which relationship?
Correlations
Medium
A.A weak negative linear relationship
B.A strong positive linear relationship
C.No relationship of any type
D.A strong negative linear relationship
Correct Answer: A strong negative linear relationship
Explanation:
A value close to indicates a strong negative linear association.
Incorrect! Try again.
32Two variables have a correlation of . Which conclusion is most appropriate?
Correlations
Medium
A.One variable causes the other
B.They have a weak positive linear relationship
C.Their relationship is perfectly nonlinear
D.They have a strong positive relationship
Correct Answer: They have a weak positive linear relationship
Explanation:
A correlation close to zero indicates little linear association; the positive sign indicates a weak positive direction.
Incorrect! Try again.
33A model has actual values and predictions . What is its mean absolute error?
Mean Absolute Error (MAE)
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
The absolute errors are , , and . Therefore, .
Incorrect! Try again.
34Compared 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 always produces a value below one
C.MAE can only be used for classification
D.MAE penalizes large errors more heavily
Correct Answer: MAE is less affected by unusually large errors
Explanation:
MAE uses absolute errors, so it does not square large deviations and is generally less sensitive to outliers than MSE.
Incorrect! Try again.
35A model makes errors of , , and . What is the mean squared error?
Mean Squared Error (MSE)
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
Square the errors and average them: .
Incorrect! Try again.
36Why can MSE be strongly influenced by a single large prediction error?
Mean Squared Error (MSE)
Medium
A.Errors are squared before being averaged
B.Errors are divided by the predictions
C.Errors are converted into percentages
D.Errors are ranked by their signs
Correct Answer: Errors are squared before being averaged
Explanation:
Squaring makes large errors grow disproportionately, giving them greater influence on the final MSE.
Incorrect! Try again.
37A regression model has . What is the usual interpretation?
R-squared (R²) Score
Medium
A.The predictors explain about of response variance
B.The model's predictions are correct of the time
C.The model makes errors on of observations
D.The correlation between all variables is exactly
Correct Answer: The predictors explain about of response variance
Explanation:
measures the proportion of variation in the response explained by the regression model relative to a baseline mean model.
Incorrect! Try again.
38A model's increases from to after adding a predictor. What does this result show?
R-squared (R²) Score
Medium
A.The new predictor definitely causes the response
B.The model's MAE must have increased
C.The model explains more training-set variance
D.The new predictor is statistically significant
Correct Answer: The model explains more training-set variance
Explanation:
Adding a predictor cannot decrease ordinary training , but the increase alone does not prove causality or statistical significance.
Incorrect! Try again.
39A model has an MSE of . What is its RMSE?
Root Mean Squared Error (RMSE)
Medium
A.
B.
C.
D.
Correct Answer:
Explanation:
RMSE is the square root of MSE: .
Incorrect! Try again.
40Why 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 measures correlation directly
D.RMSE ignores all large errors
Correct Answer: RMSE uses the same units as the response
Explanation:
Because RMSE takes the square root of the average squared error, it has the same measurement units as the predicted response.
Incorrect! Try again.
41A 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
Correct Answer: The new slope is and the new intercept is
Explanation:
Since , substitution gives . Centering changes the intercept but not the slope or fitted values.
Incorrect! Try again.
42For five observations, suppose , , , and . What is the fitted OLS line with an intercept?
Simple Linear Regression
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Here and . Thus , , , and .
Incorrect! Try again.
43The 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.
Correct Answer:
Explanation:
The omitted-variable formula gives . The correlation between and the omitted predictor transfers part of 's effect to the fitted slope.
Incorrect! Try again.
44A model is written as . Define and . Which coefficients produce the same linear predictor using and ?
Multiple Linear Regression
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Because and , substitution yields .
Incorrect! Try again.
45A 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 differ, although the reported coefficients remain identical
D.The fitted values are identical, although the reported coefficients generally differ
Correct Answer: The fitted values are identical, although the reported coefficients generally differ
Explanation:
The two bases span the same cubic-polynomial column space. OLS therefore gives the same projection and fitted values, but the coordinate coefficients change with the basis.
Incorrect! Try again.
46A quadratic model with columns is fitted to many observations, but every observed is either or . What follows for unregularized OLS?
Polynomial Regression
Hard
A.The coefficients are nonunique, but fitted values at observed rows are unique
B.Both the coefficients and fitted values at observed rows are nonunique
C.Both the coefficients and fitted values at observed rows are necessarily unique
D.The coefficients are unique, but fitted values at observed rows are nonunique
Correct Answer: The coefficients are nonunique, but fitted values at observed rows are unique
Explanation:
At the observed values, , so the design matrix is rank deficient. Coefficients are not uniquely identified, but the OLS projection onto the column space is unique.
Incorrect! Try again.
47A logistic model is . Holding fixed, by what factor do the odds change when increases by one unit?
Logistic Regression
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
At fixed , the change in log-odds per unit of is . At , this is zero, so the odds multiplier is .
Incorrect! Try again.
48For , predictions are classified as positive only when . What is the corresponding decision rule for ?
Logistic Regression
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
The threshold has log-odds . Solving gives .
Incorrect! Try again.
49In 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 approaches its supremum as some coefficient magnitudes diverge
B.The likelihood remains constant for every possible coefficient vector
C.The likelihood becomes quadratic and yields the ordinary least squares estimate
D.The likelihood reaches a unique maximum with all coefficients equal to zero
Correct Answer: The likelihood approaches its supremum as some coefficient magnitudes diverge
Explanation:
Under complete separation, increasing coefficient magnitudes can push fitted probabilities toward the observed classes indefinitely. A finite, unique maximum-likelihood estimate generally does not exist.
Incorrect! Try again.
50Assume a full-rank linear model with , but varies across observations. Which statement about OLS is correct?
Ordinary Least Squares Estimation
Hard
A.OLS becomes conditionally biased and is necessarily the least efficient linear estimator
B.OLS remains conditionally unbiased, but conventional homoscedastic standard errors can be invalid
C.OLS remains conditionally unbiased and is necessarily the most efficient linear estimator
D.OLS becomes conditionally biased, but conventional homoscedastic standard errors remain valid
Correct Answer: OLS remains conditionally unbiased, but conventional homoscedastic standard errors can be invalid
Explanation:
Zero conditional mean preserves OLS unbiasedness. Heteroscedasticity changes the coefficient covariance matrix, so homoscedastic standard errors are generally incorrect and OLS need not be efficient.
Incorrect! Try again.
51An 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
Correct Answer: and for every fitted predictor
Explanation:
The normal equations are . The intercept column implies residuals sum to zero, while each predictor column implies zero sample inner product with the residuals.
Incorrect! Try again.
52Suppose , , and . What is the partial correlation between and after controlling for ?
Correlations
Hard
A.Approximately
B.Approximately
C.Approximately
D.Approximately
Correct Answer: Approximately
Explanation:
Use . This gives .
Incorrect! Try again.
53Variables are transformed as and . If the Pearson correlation between and is , what is the correlation between and ?
Correlations
Hard
A.
B.
C.
D.
Correct Answer:
Explanation:
Translation does not affect correlation. Multiplication of one variable by a negative constant reverses the sign, while positive scaling leaves it unchanged.
Incorrect! Try again.
54A 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 or
C.Every in
D.Only
Correct Answer: Every in
Explanation:
Absolute error is minimized by a median. With an even sample, every value between the two middle order statistics, and , is a median and has the same minimum MAE.
Incorrect! Try again.
55Model 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 B has the smaller RMSE
D.Both have MAE , but Model A has the smaller RMSE
Correct Answer: Both have MAE , but Model B has the smaller RMSE
Explanation:
Both absolute-error sums equal , so both MAEs are . Their RMSEs are for A and for B, reflecting RMSE's greater penalty for the concentrated large error.
Incorrect! Try again.
56Conditional 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
Correct Answer: Predict , giving minimum MSE
Explanation:
Squared error is minimized by the conditional mean, . The resulting MSE is the conditional variance: .
Incorrect! Try again.
57A 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.
Correct Answer:
Explanation:
Combined MSE is weighted by subset sizes: . Directly averaging the two subset MSEs would ignore their unequal sizes.
Incorrect! Try again.
58On 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.
Correct Answer:
Explanation:
Using gives . The negative value means the model is worse than predicting the test-set mean under this definition.
Incorrect! Try again.
59A 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 negative slope
B. with a positive slope
C. with a positive slope
D. with a negative slope
Correct Answer: with a negative slope
Explanation:
For simple OLS with an intercept, training . The slope has the same sign as the correlation, so it is negative.
Incorrect! Try again.
60A 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.
Correct Answer:
Explanation:
Pool squared errors before taking the square root: .
Incorrect! Try again.
Did this save you a night before the exam?
LPU Notes is free, and it stays free. Ads cover part of the server bill.
The rest comes out of a student's own pocket: the domain, the storage,
and keeping the site up through the weeks everyone needs it at once.
The payment button didn't load. An ad blocker or a filtered network is the usual reason.
to try again.
Nothing here is ever locked, and nothing unlocks. Chip in only if it was worth it.
What it pays for →