Problem bank

Problem 288 of 333HardLinear AlgebraP288

Intercept plus a dummy for every sector

  1. Six stocks, two in each of three sectors, had these returns yesterday (in %):

    • Tech: 3 and 5
    • Energy: −1-1 and 1
    • Utilities: 2 and 2

    An analyst regresses the returns on an intercept and a dummy for each sector, r=β0+βTdT+βEdE+βUdU+εr = \beta_0 + \beta_T d_T + \beta_E d_E + \beta_U d_U + \varepsilon, so the design matrix XX is 6×46 \times 4.

    (a) Find the rank and the null space of XX. Describe every coefficient vector that minimizes the squared error.

    (b) Which of these does the data determine: β0\beta_0, βT−βE\beta_T - \beta_E, β0+βU\beta_0 + \beta_U, βT+βE+βU\beta_T + \beta_E + \beta_U? State a general rule in terms of the subspaces of XX.

    (c) Which subspace do the residuals lie in, and what is its dimension?