This function is a inner function to compute the Newey-west adjusted covariance matrix.
1 |
f_mat |
a matrix. factor return matrix. The matrix must not include date column, each column in f_mat is a factor return series. |
tau |
integer number. The half-life parameter. |
lag |
integer number. The Newey-west parameter. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.