xeex function

XeeX Matrix Computation

XeeX Matrix Computation

Given matrix ee' and matrix X, compute X(k)'ee'X(k) for each regressor X.

xeex(X, e, S)

Arguments

  • X: Regressor matrix.
  • e: Residuals.
  • S: Cluster sizes.

Returns

The matrix product X(k)'ee'X(k).

  • Maintainer: Joao Cruz
  • License: MIT + file LICENSE
  • Last published: 2025-02-08