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

  • 37Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: Regression Basics and Goals

What is regression analysis used for?

37 questions

  1. 1

    What is regression analysis used for?

    Model answer

    Regression analysis is used to model the relationship between a dependent variable and one or more independent variables.

    Explanation

    The video defines regression analysis as modeling the conditional distribution of the response variable given the independent variables.

  2. 2

    List four goals of regression analysis mentioned in the lecture.

    Model answer

    Prediction, causal inference, approximation, and uncovering or validating functional relationships.

    Explanation

    The professor explicitly lists these as goals: prediction, causal inference, simple approximation, and uncovering/validating functional relationships.

  3. 3

    Write the mathematical form of a multiple linear regression model for the i-th observation.

    Model answer

    yi=β1xi,1+β2xi,2+⋯+βpxi,p+εiy_i = \beta_1 x_{i,1} + \beta_2 x_{i,2} + \cdots + \beta_p x_{i,p} + \varepsilon_iyi​=β1​xi,1​+β2​xi,2​+⋯+βp​xi,p​+εi​

    Explanation

    The lecture defines the linear model as yi=xiTβ+εiy_i = x_i^T \beta + \varepsilon_iyi​=xiT​β+εi​, where εi\varepsilon_iεi​ is the residual.

  4. 4

    What do the residuals εi\varepsilon_iεi​ represent in a linear regression model?

    Model answer

    They represent uncertainty due to measurement error, modeling error, or underlying stochastic processes that cause variation.

    Explanation

    The professor states that residuals account for uncertainty in the data—whether from measurement error, modeling error, or stochastic processes.

  5. 5

    Give two examples of how linear regression can model nonlinear behavior.

    Model answer

    Polynomial approximation (Taylor series) and Fourier series for cyclical behavior.

    Explanation

    The lecture mentions polynomial approximation as a truncated Taylor series and Fourier series as basis functions to approximate functions.

  6. 6

    What are the three Gauss-Markov assumptions about the residuals?

    Model answer

    Zero mean, constant variance, and uncorrelated residuals.

    Explanation

    The professor explicitly states these three assumptions: zero mean, constant variance, and uncorrelated residuals.

  7. 7

    What additional assumption is made in normal linear regression models beyond Gauss-Markov?

    Model answer

    The residuals are assumed to be independent and identically distributed (IID) normal with mean 0 and variance σ2\sigma^2σ2.

    Explanation

    The lecture notes that in normal linear regression, residuals are IID Gaussian, which is stronger than Gauss-Markov assumptions.

  8. 8

    Describe the generalized Gauss-Markov assumptions regarding the covariance matrix of the residuals.

    Model answer

    The residuals have zero mean and a general covariance matrix σ2Σ\sigma^2 \Sigmaσ2Σ, allowing for unequal variances and correlations between observations.

    Explanation

    The professor explains that generalized Gauss-Markov maintains zero mean but has a general covariance matrix, not necessarily diagonal or constant variance.

  9. 9

    What are the five steps for fitting a regression model according to the lecture?

    Model answer
    1. Propose a model (specify response scale, independent variables, and residual distribution); 2) Define a criterion for judging estimators; 3) Characterize the best estimator and apply it; 4) Check assumptions; 5) If necessary, modify the model and repeat.

    Explanation

    The professor outlines these five steps in order: propose model, define criterion, characterize/apply estimator, check assumptions, modify if needed.

  10. 10

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

    Model answer

    Because price changes on a percentage scale (log changes) may be more predictable than absolute price levels, and errors may have constant variance on the log scale.

    Explanation

    The professor explains that log changes correspond to percentage changes, which may be better predicted and stabilized variance.

  11. 11

    Name four criteria for estimating regression parameters mentioned in the lecture.

    Model answer

    Least squares, maximum likelihood, robust methods, and Bayes methods (also mention of accommodating missing data).

    Explanation

    The lecturer lists least squares, maximum likelihood, robust methods, and Bayes methods as estimator criteria.

  12. 12

    What is the ordinary least squares (OLS) criterion?

    Model answer

    Minimize the sum of squared deviations between the actual response values and their linear predictions: Q(β)=∑i=1n(yi−y^i)2=(y−Xβ)T(y−Xβ)Q(\beta) = \sum_{i=1}^n (y_i - \hat{y}_i)^2 = (y - X\beta)^T(y - X\beta)Q(β)=∑i=1n​(yi​−y^​i​)2=(y−Xβ)T(y−Xβ).

    Explanation

    The lecture defines OLS as minimizing the sum of squared residuals.

  13. 13

    Derive the normal equations for OLS.

    Model answer

    Set the derivative of Q(β)Q(\beta)Q(β) to zero: ∂Q∂β=−2XT(y−Xβ)=0\frac{\partial Q}{\partial \beta} = -2X^T(y - X\beta) = 0∂β∂Q​=−2XT(y−Xβ)=0, yielding XTXβ=XTyX^T X \beta = X^T yXTXβ=XTy.

    Explanation

    The professor shows that differentiating Q leads to the normal equations XTXβ=XTyX^T X \beta = X^T yXTXβ=XTy.

  14. 14

    What is the OLS estimator for β\betaβ when XTXX^T XXTX is invertible?

    Model answer

    β^=(XTX)−1XTy\hat{\beta} = (X^T X)^{-1} X^T yβ^​=(XTX)−1XTy.

    Explanation

    From the normal equations, solving for β\betaβ gives this expression.

  15. 15

    What condition is necessary for XTXX^T XXTX to be invertible?

    Model answer

    The matrix XXX must have full column rank (no linear dependence among the columns of XXX).

    Explanation

    The professor states that full rank of XXX ensures XTXX^T XXTX is invertible.

  16. 16

    Define the hat matrix HHH and explain its role.

    Model answer

    H=X(XTX)−1XTH = X(X^T X)^{-1} X^TH=X(XTX)−1XT; it projects the response vector yyy onto the column space of XXX to give fitted values y^=Hy\hat{y} = Hyy^​=Hy.

    Explanation

    The lecture defines y^=Hy\hat{y} = Hyy^​=Hy and calls HHH the hat matrix, an orthogonal projection matrix.

  17. 17

    Express the residual vector ε^\hat{\varepsilon}ε^ in terms of HHH and yyy.

    Model answer

    ε^=y−y^=(I−H)y\hat{\varepsilon} = y - \hat{y} = (I - H)yε^=y−y^​=(I−H)y.

    Explanation

    The professor writes residuals as y−y^=(In−H)yy - \hat{y} = (I_n - H)yy−y^​=(In​−H)y.

  18. 18

    What does the normal equations imply about the relationship between residuals and the columns of XXX?

    Model answer

    XTε^=0X^T \hat{\varepsilon} = 0XTε^=0, so the residuals are orthogonal to each column of XXX.

    Explanation

    The normal equations give XTε^=0X^T \hat{\varepsilon}=0XTε^=0, meaning orthogonality.

  19. 19

    State the Gauss-Markov theorem.

    Model answer

    Under Gauss-Markov assumptions (zero mean, constant variance, uncorrelated errors), the OLS estimator is the best linear unbiased estimator (BLUE) of β\betaβ.

    Explanation

    The lecture presents the Gauss-Markov theorem as stating that OLS has minimum variance among all linear unbiased estimators.

  20. 20

    What does it mean for an estimator to be unbiased?

    Model answer

    The expected value of the estimator equals the true parameter value.

    Explanation

    The professor defines unbiased as the expectation of the statistic being the true parameter.

  21. 21

    In the proof of the Gauss-Markov theorem, why must the difference fff between a competitor estimator and the OLS estimator be orthogonal to the column space of XXX?

    Model answer

    Because both estimators are unbiased, so E[fTy]=0E[f^T y] = 0E[fTy]=0, which implies fTX=0f^T X = 0fTX=0 (orthogonality).

    Explanation

    The proof shows that unbiasedness forces orthogonality condition.

  22. 22

    What does BLUE stand for?

    Model answer

    Best Linear Unbiased Estimator.

    Explanation

    The professor mentions that in econometrics, BLUE property refers to OLS under Gauss-Markov.

  23. 23

    How can we transform a generalized least squares problem into an ordinary least squares problem?

    Model answer

    Multiply the model by Σ−1/2\Sigma^{-1/2}Σ−1/2: y∗=Σ−1/2yy^* = \Sigma^{-1/2} yy∗=Σ−1/2y, X∗=Σ−1/2XX^* = \Sigma^{-1/2} XX∗=Σ−1/2X, so that Cov(ε∗)=σ2I\text{Cov}(\varepsilon^*) = \sigma^2 ICov(ε∗)=σ2I.

    Explanation

    The lecture describes using Σ−1/2\Sigma^{-1/2}Σ−1/2 to transform data and achieve constant variance and uncorrelated errors.

  24. 24

    Write the generalized least squares (GLS) estimator for β\betaβ assuming Σ\SigmaΣ is known.

    Model answer

    β^GLS=(XTΣ−1X)−1XTΣ−1y\hat{\beta}_{GLS} = (X^T \Sigma^{-1} X)^{-1} X^T \Sigma^{-1} yβ^​GLS​=(XTΣ−1X)−1XTΣ−1y.

    Explanation

    Applying OLS to the transformed data yields this formula, as shown in the lecture.

  25. 25

    Under normal linear regression, what is the distribution of yyy given XXX, β\betaβ, and σ2\sigma^2σ2?

    Model answer

    y∼Nn(Xβ,σ2In)y \sim N_n(X\beta, \sigma^2 I_n)y∼Nn​(Xβ,σ2In​).

    Explanation

    The professor states that with normal residuals, yyy is multivariate normal with mean XβX\betaXβ and covariance σ2I\sigma^2 Iσ2I.

  26. 26

    Write the moment generating function of a multivariate normal random vector YYY with mean μ\muμ and covariance Σ\SigmaΣ.

    Model answer

    MY(t)=exp⁡(tTμ+12tTΣt)M_Y(t) = \exp(t^T \mu + \frac{1}{2} t^T \Sigma t)MY​(t)=exp(tTμ+21​tTΣt).

    Explanation

    The lecture derives this from the product of univariate normal MGFs.

  27. 27

    What is the distribution of the OLS estimator β^\hat{\beta}β^​ under normal linear regression?

    Model answer

    β^∼Np(β,σ2(XTX)−1)\hat{\beta} \sim N_p(\beta, \sigma^2 (X^T X)^{-1})β^​∼Np​(β,σ2(XTX)−1).

    Explanation

    Using MGFs, the professor shows β^\hat{\beta}β^​ is multivariate normal with the stated mean and covariance.

  28. 28

    What is the marginal distribution of a single coefficient β^j\hat{\beta}_jβ^​j​ under normal linear regression?

    Model answer

    β^j∼N(βj,σ2(XTX)jj−1)\hat{\beta}_j \sim N(\beta_j, \sigma^2 (X^T X)^{-1}_{jj})β^​j​∼N(βj​,σ2(XTX)jj−1​).

    Explanation

    The lecture mentions that marginal distributions come from setting only the j-th entry of τ\tauτ non-zero in the MGF.

  29. 29

    State the important theorem regarding the independence of β^\hat{\beta}β^​ and ε^\hat{\varepsilon}ε^ and the distribution of the sum of squared residuals.

    Model answer

    β^\hat{\beta}β^​ and ε^\hat{\varepsilon}ε^ are independent; ε^Tε^/σ2∼χn−p2\hat{\varepsilon}^T \hat{\varepsilon} / \sigma^2 \sim \chi^2_{n-p}ε^Tε^/σ2∼χn−p2​.

    Explanation

    The professor states this theorem, noting that the sum of squared residuals is a scaled chi-squared.

  30. 30

    What distribution does the ttt-statistic for βj\beta_jβj​ follow in normal linear regression?

    Model answer

    It follows a ttt distribution with n−pn-pn−p degrees of freedom.

    Explanation

    The professor gives that t=(β^j−βj)/se(β^j)t = (\hat{\beta}_j - \beta_j) / \text{se}(\hat{\beta}_j)t=(β^​j​−βj​)/se(β^​j​) has a tn−pt_{n-p}tn−p​ distribution.

  31. 31

    Describe the QR decomposition of an n×pn \times pn×p matrix XXX.

    Model answer

    X=QRX = QRX=QR, where QQQ is an n×pn \times pn×p orthonormal matrix and RRR is a p×pp \times pp×p upper triangular matrix.

    Explanation

    The lecture defines QR decomposition as X=QRX = QRX=QR with QQQ orthogonal columns and RRR upper triangular.

  32. 32

    How can the QR decomposition be computed?

    Model answer

    By the Gram-Schmidt orthonormalization process on the columns of XXX.

    Explanation

    The professor states that Gram-Schmidt yields the QR decomposition.

  33. 33

    Express the OLS estimator β^\hat{\beta}β^​ in terms of the QR decomposition.

    Model answer

    β^=R−1QTy\hat{\beta} = R^{-1} Q^T yβ^​=R−1QTy.

    Explanation

    The lecture substitutes X=QRX=QRX=QR into the OLS formula to get this simpler form.

  34. 34

    Express the hat matrix HHH in terms of the QR decomposition.

    Model answer

    H=QQTH = Q Q^TH=QQT.

    Explanation

    The professor shows that H=X(XTX)−1XT=QQTH = X(X^T X)^{-1}X^T = Q Q^TH=X(XTX)−1XT=QQT when X=QRX=QRX=QR.

  35. 35

    What is the maximum likelihood estimator of β\betaβ under normal linear regression?

    Model answer

    It is identical to the OLS estimator β^=(XTX)−1XTy\hat{\beta} = (X^T X)^{-1} X^T yβ^​=(XTX)−1XTy.

    Explanation

    The lecture notes that under normality, maximizing the likelihood yields the same as OLS.

  36. 36

    What is the likelihood function for normal linear regression?

    Model answer

    L(β,σ2)=(2πσ2)−n/2exp⁡(−12σ2(y−Xβ)T(y−Xβ))L(\beta, \sigma^2) = (2\pi\sigma^2)^{-n/2} \exp\left(-\frac{1}{2\sigma^2}(y - X\beta)^T(y - X\beta)\right)L(β,σ2)=(2πσ2)−n/2exp(−2σ21​(y−Xβ)T(y−Xβ)).

    Explanation

    The professor says the likelihood is the product of normal densities for independent YiY_iYi​.

  37. 37

    Name two extensions of the normal linear regression model mentioned in the lecture for handling non-normal residuals.

    Model answer

    Laplace distributions and contaminated normal distributions.

    Explanation

    The lecturer lists Laplace, Pareto, and contaminated normal distributions as alternatives.

1 of 37
Question 1 of 37

Ask anything

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

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent