1. Home
  2. Explore
  3. Statistics
  4. Regression Analysis

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Regression Analysis

  • 28Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Regression Basics

What is the primary purpose of regression analysis in finance?

28 questions

  1. 1

    What is the primary purpose of regression analysis in finance?

    1. A

      To eliminate all sources of randomness in data

    2. B

      To compute the exact values of dependent variables

    3. C

      To create independent variables from dependent variables

    4. D

      To predict future outcomes and identify causal relationships

    Correct answer
    D

    To predict future outcomes and identify causal relationships

    Explanation

    Regression analysis is used for prediction, causal inference, approximation, and uncovering functional relationships among variables. In finance, prediction is a key application.

  2. 2

    In a linear regression model, what does the term ϵi\epsilon_iϵi​ represent?

    1. A

      The regression parameter for the iii-th variable

    2. B

      The residual error capturing uncertainty in the relationship

    3. C

      The fitted value of the response variable

    4. D

      The explanatory variable for the iii-th case

    Correct answer
    B

    The residual error capturing uncertainty in the relationship

    Explanation

    ϵi\epsilon_iϵi​ is the residual error term that accounts for measurement error, modeling error, or underlying stochastic processes in the linear relationship.

  3. 3

    Which of the following is NOT a goal of regression analysis?

    1. A

      Prediction of the dependent variable

    2. B

      Approximation of smooth functions via Taylor series

    3. C

      Causal inference to identify driving factors

    4. D

      Deterministic computation of exact values

    Correct answer
    D

    Deterministic computation of exact values

    Explanation

    Regression analysis deals with stochastic relationships and does not aim to compute exact deterministic values. Prediction, causal inference, and approximation are valid goals.

  4. 4

    Why might it be more appropriate to model stock prices on a logarithmic scale rather than a linear scale?

    1. A

      Logarithmic transformation eliminates all residuals

    2. B

      Log changes approximate percentage changes, which may be better predicted

    3. C

      Stock prices are negative, so log scale avoids negative values

    4. D

      Logarithmic scale always yields a linear relationship

    Correct answer
    B

    Log changes approximate percentage changes, which may be better predicted

    Explanation

    Price changes on a percentage scale are often more predictable than absolute changes. Log changes approximate percentage changes, making the log scale more appropriate.

  5. 5

    According to the Gauss-Markov assumptions, which of the following is true about the residuals?

    1. A

      They have zero mean, constant variance, and are uncorrelated

    2. B

      They have zero mean and a general covariance matrix

    3. C

      They are independent and identically distributed normal variables

    4. D

      They are uncorrelated with the dependent variable

    Correct answer
    A

    They have zero mean, constant variance, and are uncorrelated

    Explanation

    The Gauss-Markov assumptions are: zero mean, constant variance (homoscedasticity), and uncorrelated errors. Independence and normality are not required.

  6. 6

    In the normal linear regression model, the residuals are assumed to be:

    1. A

      Independent and identically distributed with any distribution

    2. B

      Uncorrelated but not necessarily identically distributed

    3. C

      Uncorrelated with each other and normally distributed with constant variance

    4. D

      Independent with a general covariance matrix

    Correct answer
    C

    Uncorrelated with each other and normally distributed with constant variance

    Explanation

    The normal linear regression model assumes the residuals are independent and identically distributed (IID) normal with mean 0 and variance σ2\sigma^2σ2.

  7. 7

    What is the role of influence diagnostics in regression analysis?

    1. A

      To test the normality of residuals

    2. B

      To compute the variance inflation factor

    3. C

      To select the best subset of independent variables

    4. D

      To identify cases that have a disproportionate impact on estimated parameters

    Correct answer
    D

    To identify cases that have a disproportionate impact on estimated parameters

    Explanation

    Influence diagnostics help identify cases that are highly influential on the estimated regression coefficients, even in large datasets.

  8. 8

    In ordinary least squares, what is the criterion for estimating the regression parameters β\betaβ?

    1. A

      Minimize the sum of absolute residuals: ∑i=1n∣yi−xiTβ∣\sum_{i=1}^n |y_i - \mathbf{x}_i^T \beta|∑i=1n​∣yi​−xiT​β∣

    2. B

      Minimize the sum of squared residuals: ∑i=1n(yi−xiTβ)2\sum_{i=1}^n (y_i - \mathbf{x}_i^T \beta)^2∑i=1n​(yi​−xiT​β)2

    3. C

      Maximize the likelihood function under normal errors

    4. D

      Maximize the R2R^2R2 value

    Correct answer
    B

    Minimize the sum of squared residuals: ∑i=1n(yi−xiTβ)2\sum_{i=1}^n (y_i - \mathbf{x}_i^T \beta)^2∑i=1n​(yi​−xiT​β)2

    Explanation

    Ordinary least squares minimizes the sum of squared deviations between observed and fitted values. This is the sum of squared residuals.

  9. 9

    What is the solution for the ordinary least squares estimator β^\hat{\beta}β^​ in matrix form, assuming X⊤X\mathbf{X}^\top \mathbf{X}X⊤X is invertible?

    1. A

      β^=X⊤(XX⊤)−1y\hat{\beta} = \mathbf{X}^\top (\mathbf{X} \mathbf{X}^\top)^{-1} \mathbf{y}β^​=X⊤(XX⊤)−1y

    2. B

      β^=X(X⊤X)−1X⊤y\hat{\beta} = \mathbf{X} (\mathbf{X}^\top \mathbf{X})^{-1} \mathbf{X}^\top \mathbf{y}β^​=X(X⊤X)−1X⊤y

    3. C

      β^=(X⊤X)−1Xy\hat{\beta} = (\mathbf{X}^\top \mathbf{X})^{-1} \mathbf{X} \mathbf{y}β^​=(X⊤X)−1Xy

    4. D

      β^=(X⊤X)−1X⊤y\hat{\beta} = (\mathbf{X}^\top \mathbf{X})^{-1} \mathbf{X}^\top \mathbf{y}β^​=(X⊤X)−1X⊤y

    Correct answer
    D

    β^=(X⊤X)−1X⊤y\hat{\beta} = (\mathbf{X}^\top \mathbf{X})^{-1} \mathbf{X}^\top \mathbf{y}β^​=(X⊤X)−1X⊤y

    Explanation

    From the normal equations X⊤y=X⊤Xβ^\mathbf{X}^\top \mathbf{y} = \mathbf{X}^\top \mathbf{X} \hat{\beta}X⊤y=X⊤Xβ^​, solving gives β^=(X⊤X)−1X⊤y\hat{\beta} = (\mathbf{X}^\top \mathbf{X})^{-1} \mathbf{X}^\top \mathbf{y}β^​=(X⊤X)−1X⊤y.

  10. 10

    What condition is necessary for X⊤X\mathbf{X}^\top \mathbf{X}X⊤X to have an inverse?

    1. A

      The number of cases nnn must be larger than the number of parameters ppp

    2. B

      The columns of X\mathbf{X}X must be linearly independent

    3. C

      The response variable y\mathbf{y}y must be normally distributed

    4. D

      The matrix X\mathbf{X}X must be square and invertible

    Correct answer
    B

    The columns of X\mathbf{X}X must be linearly independent

    Explanation

    For X⊤X\mathbf{X}^\top \mathbf{X}X⊤X to be invertible, X\mathbf{X}X must have full column rank, meaning its columns are linearly independent.

  11. 11

    The hat matrix H\mathbf{H}H in linear regression is defined as:

    1. A

      H=XX⊤\mathbf{H} = \mathbf{X} \mathbf{X}^\topH=XX⊤

    2. B

      H=I−X(X⊤X)−1X⊤\mathbf{H} = \mathbf{I} - \mathbf{X}(\mathbf{X}^\top \mathbf{X})^{-1} \mathbf{X}^\topH=I−X(X⊤X)−1X⊤

    3. C

      H=(X⊤X)−1X⊤\mathbf{H} = (\mathbf{X}^\top \mathbf{X})^{-1} \mathbf{X}^\topH=(X⊤X)−1X⊤

    4. D

      H=X(X⊤X)−1X⊤\mathbf{H} = \mathbf{X}(\mathbf{X}^\top \mathbf{X})^{-1} \mathbf{X}^\topH=X(X⊤X)−1X⊤

    Correct answer
    D

    H=X(X⊤X)−1X⊤\mathbf{H} = \mathbf{X}(\mathbf{X}^\top \mathbf{X})^{-1} \mathbf{X}^\topH=X(X⊤X)−1X⊤

    Explanation

    The hat matrix H=X(X⊤X)−1X⊤\mathbf{H} = \mathbf{X}(\mathbf{X}^\top \mathbf{X})^{-1} \mathbf{X}^\topH=X(X⊤X)−1X⊤ maps y\mathbf{y}y to fitted values y^=Hy\hat{\mathbf{y}} = \mathbf{H} \mathbf{y}y^​=Hy.

  12. 12

    What does the normal equations X⊤(y−Xβ^)=0\mathbf{X}^\top (\mathbf{y} - \mathbf{X} \hat{\beta}) = 0X⊤(y−Xβ^​)=0 imply about the residuals?

    1. A

      The residuals are uncorrelated with each other

    2. B

      The residuals are orthogonal to the columns of X\mathbf{X}X

    3. C

      The residuals are normally distributed

    4. D

      The residuals have zero mean

    Correct answer
    B

    The residuals are orthogonal to the columns of X\mathbf{X}X

    Explanation

    The normal equations imply X⊤ϵ^=0\mathbf{X}^\top \hat{\epsilon} = 0X⊤ϵ^=0, meaning the residual vector ϵ^\hat{\epsilon}ϵ^ is orthogonal to each column of X\mathbf{X}X.

  13. 13

    According to the Gauss-Markov theorem, under its assumptions, the OLS estimator is:

    1. A

      The minimum variance unbiased estimator among all estimators

    2. B

      The maximum likelihood estimator

    3. C

      The estimator with the smallest bias

    4. D

      The best linear unbiased estimator (BLUE) for any linear combination of β\betaβ

    Correct answer
    D

    The best linear unbiased estimator (BLUE) for any linear combination of β\betaβ

    Explanation

    The Gauss-Markov theorem states that the OLS estimator has the smallest variance among all linear unbiased estimators of θ=c⊤β\theta = \mathbf{c}^\top \betaθ=c⊤β.

  14. 14

    In the proof of the Gauss-Markov theorem, the covariance between the OLS estimator and the difference with another linear unbiased estimator is shown to be zero because:

    1. A

      The difference vector f\mathbf{f}f is orthogonal to the column space of X\mathbf{X}X

    2. B

      The difference is a constant

    3. C

      The two estimators are independent

    4. D

      The variance of the OLS estimator is constant

    Correct answer
    A

    The difference vector f\mathbf{f}f is orthogonal to the column space of X\mathbf{X}X

    Explanation

    The proof uses that for another linear unbiased estimator θ~\tilde{\theta}θ~, the difference θ~−θ^=f⊤y\tilde{\theta} - \hat{\theta} = \mathbf{f}^\top \mathbf{y}θ~−θ^=f⊤y with f\mathbf{f}f orthogonal to columns of X\mathbf{X}X, leading to zero covariance.

  15. 15

    What transformation is used in generalized least squares to achieve constant variance and uncorrelated errors?

    1. A

      Divide by the standard deviation of the residuals

    2. B

      Take the logarithm of the response variable

    3. C

      Multiply the model by Σ−1/2\Sigma^{-1/2}Σ−1/2, where Σ\SigmaΣ is the error covariance matrix

    4. D

      Subtract the mean from each observation

    Correct answer
    C

    Multiply the model by Σ−1/2\Sigma^{-1/2}Σ−1/2, where Σ\SigmaΣ is the error covariance matrix

    Explanation

    By setting y∗=Σ−1/2y\mathbf{y}^* = \Sigma^{-1/2} \mathbf{y}y∗=Σ−1/2y and X∗=Σ−1/2X\mathbf{X}^* = \Sigma^{-1/2} \mathbf{X}X∗=Σ−1/2X, the transformed errors have covariance σ2I\sigma^2 \mathbf{I}σ2I.

  16. 16

    Under normal linear regression assumptions, the least squares estimator β^\hat{\beta}β^​ follows which distribution?

    1. A

      Multivariate normal with mean β\betaβ and covariance σ2(X⊤X)−1\sigma^2 (\mathbf{X}^\top \mathbf{X})^{-1}σ2(X⊤X)−1

    2. B

      Chi-squared distribution with ppp degrees of freedom

    3. C

      Normal distribution with mean X⊤Xβ\mathbf{X}^\top \mathbf{X} \betaX⊤Xβ and variance σ2I\sigma^2 \mathbf{I}σ2I

    4. D

      Multivariate t-distribution with n−pn-pn−p degrees of freedom

    Correct answer
    A

    Multivariate normal with mean β\betaβ and covariance σ2(X⊤X)−1\sigma^2 (\mathbf{X}^\top \mathbf{X})^{-1}σ2(X⊤X)−1

    Explanation

    Using moment generating functions, β^∼N(β,σ2(X⊤X)−1)\hat{\beta} \sim N(\beta, \sigma^2 (\mathbf{X}^\top \mathbf{X})^{-1})β^​∼N(β,σ2(X⊤X)−1).

  17. 17

    Which of the following is true about the residuals ϵ^\hat{\epsilon}ϵ^ in a normal linear regression model?

    1. A

      They are correlated with β^\hat{\beta}β^​ and their sum of squares follows a χn2\chi^2_nχn2​ distribution

    2. B

      They have variance σ2H\sigma^2 \mathbf{H}σ2H

    3. C

      They are independent of β^\hat{\beta}β^​ and ϵ^⊤ϵ^/σ2∼χn−p2\hat{\epsilon}^\top \hat{\epsilon} / \sigma^2 \sim \chi^2_{n-p}ϵ^⊤ϵ^/σ2∼χn−p2​

    4. D

      They are normally distributed with mean Xβ\mathbf{X} \betaXβ

    Correct answer
    C

    They are independent of β^\hat{\beta}β^​ and ϵ^⊤ϵ^/σ2∼χn−p2\hat{\epsilon}^\top \hat{\epsilon} / \sigma^2 \sim \chi^2_{n-p}ϵ^⊤ϵ^/σ2∼χn−p2​

    Explanation

    It is a fundamental result that β^\hat{\beta}β^​ and ϵ^\hat{\epsilon}ϵ^ are independent, and the sum of squared residuals scaled by σ2\sigma^2σ2 follows a chi-squared distribution with n−pn-pn−p degrees of freedom.

  18. 18

    For testing a single coefficient βj\beta_jβj​, the test statistic t=β^j−βjSE(β^j)t = \frac{\hat{\beta}_j - \beta_j}{\text{SE}(\hat{\beta}_j)}t=SE(β^​j​)β^​j​−βj​​ follows a:

    1. A

      ttt distribution with n−pn-pn−p degrees of freedom

    2. B

      Chi-squared distribution with 1 degree of freedom

    3. C

      Standard normal distribution

    4. D

      FFF distribution with (1,n−p)(1, n-p)(1,n−p) degrees of freedom

    Correct answer
    A

    ttt distribution with n−pn-pn−p degrees of freedom

    Explanation

    The ratio of a normal variable to an independent chi-squared root gives a ttt distribution. Here β^j\hat{\beta}_jβ^​j​ is normal and the standard error uses the residual sum of squares, leading to tn−pt_{n-p}tn−p​.

  19. 19

    What is the main advantage of using the QR decomposition for solving the least squares problem?

    1. A

      It automatically selects the most important independent variables

    2. B

      It guarantees that the residuals are normally distributed

    3. C

      It reduces the number of observations needed

    4. D

      It provides a numerically stable method to compute β^\hat{\beta}β^​ without directly inverting X⊤X\mathbf{X}^\top \mathbf{X}X⊤X

    Correct answer
    D

    It provides a numerically stable method to compute β^\hat{\beta}β^​ without directly inverting X⊤X\mathbf{X}^\top \mathbf{X}X⊤X

    Explanation

    The QR decomposition X=QR\mathbf{X} = \mathbf{Q} \mathbf{R}X=QR allows computation of β^=R−1Q⊤y\hat{\beta} = \mathbf{R}^{-1} \mathbf{Q}^\top \mathbf{y}β^​=R−1Q⊤y, avoiding direct inversion of X⊤X\mathbf{X}^\top \mathbf{X}X⊤X and improving numerical stability.

  20. 20

    In the Gram-Schmidt process for QR decomposition, what is the purpose?

    1. A

      To compute the inverse of X\mathbf{X}X

    2. B

      To orthogonalize columns of X\mathbf{X}X to form Q\mathbf{Q}Q and an upper triangular R\mathbf{R}R

    3. C

      To standardize the independent variables

    4. D

      To find the eigenvalues of X⊤X\mathbf{X}^\top \mathbf{X}X⊤X

    Correct answer
    B

    To orthogonalize columns of X\mathbf{X}X to form Q\mathbf{Q}Q and an upper triangular R\mathbf{R}R

    Explanation

    Gram-Schmidt sequentially orthogonalizes columns of X\mathbf{X}X to produce an orthonormal matrix Q\mathbf{Q}Q and an upper triangular matrix R\mathbf{R}R such that X=QR\mathbf{X} = \mathbf{Q} \mathbf{R}X=QR.

  21. 21

    Under normal linear regression, the maximizer of the likelihood function for β\betaβ is:

    1. A

      The ridge regression estimator

    2. B

      The generalized least squares estimator

    3. C

      The median regression estimator

    4. D

      The ordinary least squares estimator

    Correct answer
    D

    The ordinary least squares estimator

    Explanation

    With normally distributed errors, the likelihood is proportional to exp⁡(−12σ2(y−Xβ)⊤(y−Xβ))\exp(-\frac{1}{2\sigma^2} (\mathbf{y} - \mathbf{X}\beta)^\top (\mathbf{y} - \mathbf{X}\beta))exp(−2σ21​(y−Xβ)⊤(y−Xβ)), so maximizing the likelihood is equivalent to minimizing the sum of squares, yielding the OLS estimator.

  22. 22

    What is a key difference between Gauss-Markov assumptions and the normal linear regression assumptions?

    1. A

      Normal linear regression assumes normality and independence of errors, while Gauss-Markov only assumes zero mean, constant variance, and uncorrelatedness

    2. B

      Gauss-Markov assumes errors are normally distributed, while normal linear regression does not

    3. C

      There is no difference; they are the same set of assumptions

    4. D

      Normal linear regression allows correlated errors, while Gauss-Markov does not

    Correct answer
    A

    Normal linear regression assumes normality and independence of errors, while Gauss-Markov only assumes zero mean, constant variance, and uncorrelatedness

    Explanation

    Gauss-Markov assumptions are weaker: they only require zero mean, homoscedasticity, and uncorrelated errors. Normal linear regression adds the assumption of normality and independence (which implies uncorrelatedness).

  23. 23

    Which estimator criterion is contamination-resistant and used to handle outliers?

    1. A

      Maximum likelihood

    2. B

      Ordinary least squares

    3. C

      Robust methods

    4. D

      Generalized least squares

    Correct answer
    C

    Robust methods

    Explanation

    Robust methods are designed to be resistant to outliers or contamination in the data, unlike least squares which can be heavily influenced by extreme observations.

  24. 24

    When fitting a regression model, what should be done after checking assumptions?

    1. A

      Delete any cases that do not fit the assumptions

    2. B

      Immediately use the model for prediction

    3. C

      If necessary, modify the model and/or assumptions and repeat the process

    4. D

      Report the results without further changes

    Correct answer
    C

    If necessary, modify the model and/or assumptions and repeat the process

    Explanation

    The iterative process of fitting involves checking assumptions and, if needed, modifying the model or assumptions. This ensures the model is tailored to the data.

  25. 25

    In generalized least squares, what is the form of the estimator for β\betaβ?

    1. A

      β^GLS=(X⊤ΣX)−1X⊤y\hat{\beta}_{GLS} = (\mathbf{X}^\top \Sigma \mathbf{X})^{-1} \mathbf{X}^\top \mathbf{y}β^​GLS​=(X⊤ΣX)−1X⊤y

    2. B

      β^GLS=(XΣ−1X⊤)−1Xy\hat{\beta}_{GLS} = (\mathbf{X} \Sigma^{-1} \mathbf{X}^\top)^{-1} \mathbf{X} \mathbf{y}β^​GLS​=(XΣ−1X⊤)−1Xy

    3. C

      β^GLS=(X⊤X)−1X⊤y\hat{\beta}_{GLS} = (\mathbf{X}^\top \mathbf{X})^{-1} \mathbf{X}^\top \mathbf{y}β^​GLS​=(X⊤X)−1X⊤y

    4. D

      β^GLS=(X⊤Σ−1X)−1X⊤Σ−1y\hat{\beta}_{GLS} = (\mathbf{X}^\top \Sigma^{-1} \mathbf{X})^{-1} \mathbf{X}^\top \Sigma^{-1} \mathbf{y}β^​GLS​=(X⊤Σ−1X)−1X⊤Σ−1y

    Correct answer
    D

    β^GLS=(X⊤Σ−1X)−1X⊤Σ−1y\hat{\beta}_{GLS} = (\mathbf{X}^\top \Sigma^{-1} \mathbf{X})^{-1} \mathbf{X}^\top \Sigma^{-1} \mathbf{y}β^​GLS​=(X⊤Σ−1X)−1X⊤Σ−1y

    Explanation

    The GLS estimator weights observations by the inverse of the covariance matrix: β^GLS=(X⊤Σ−1X)−1X⊤Σ−1y\hat{\beta}_{GLS} = (\mathbf{X}^\top \Sigma^{-1} \mathbf{X})^{-1} \mathbf{X}^\top \Sigma^{-1} \mathbf{y}β^​GLS​=(X⊤Σ−1X)−1X⊤Σ−1y.

  26. 26

    Which of the following is an example of a model that can be expressed as a linear regression?

    1. A

      A time series autoregressive model with lagged dependent variables

    2. B

      A neural network with one hidden layer

    3. C

      A logistic regression for binary outcomes

    4. D

      A model with multiplicative errors

    Correct answer
    A

    A time series autoregressive model with lagged dependent variables

    Explanation

    Autoregressive models can be written as linear regressions by including lagged values of the response variable as independent variables, making them a special case of linear regression.

  27. 27

    What does the hat matrix H\mathbf{H}H project onto?

    1. A

      The column space of X\mathbf{X}X

    2. B

      The row space of X\mathbf{X}X

    3. C

      The null space of X\mathbf{X}X

    4. D

      The space orthogonal to the column space of X\mathbf{X}X

    Correct answer
    A

    The column space of X\mathbf{X}X

    Explanation

    H\mathbf{H}H is an orthogonal projection matrix onto the column space of X\mathbf{X}X, i.e., the subspace spanned by the independent variables.

  28. 28

    In the context of regression, what does 'unbiased' mean?

    1. A

      The estimator has minimum variance

    2. B

      The estimator is linear in the response variable

    3. C

      The expectation of the estimator equals the true parameter value

    4. D

      The estimator is consistent as sample size increases

    Correct answer
    C

    The expectation of the estimator equals the true parameter value

    Explanation

    Unbiasedness means that on average, over many samples, the estimator correctly estimates the true parameter: E[θ^]=θE[\hat{\theta}] = \thetaE[θ^]=θ.

Question 1 of 28
Question 1 of 28

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent