Don’t — computer the Cholesky factor of M^\beta. If you have W=LL', it is fairly simple matrix algebra to work it out, but it may be better to start with the QR decomposition of the demeaned observations.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Non-allocating matrix inversion | 13 | 3593 | April 23, 2022 | |
LinearAlgebra.inv! not exported, in-place inversion | 5 | 276 | February 1, 2024 | |
Should `inv` be lazy? | 24 | 2028 | July 23, 2020 | |
Computing Inverse of a stack of matrices | 19 | 3634 | August 29, 2020 | |
Performance inv & solve in Julia & R | 15 | 1432 | August 11, 2020 |