Considering following linear model \begin{equation} y_t = X_t f_t + \varepsilon_t, \qquad t=1,\cdots, T \end{equation} where $y_t\in\Re^{300\times 1}$ and $X_t\in\Re^{300\times 60}$ are two given sequences for $t=1,\cdots, T$. Error term $\varepsilon_t\sim \mathcal{N}(0,Q)$ and $Q$ is a $300\times 300$ unknown diagnal matrix.
I was wondering, is it possible to efficiently estimate the weights $W = Q^{-1}$ or the noise covariance of residuals? so that I could minimise the variance of the $\hat{f}_t$ by solving following weighted linear least squares: \begin{equation} \min_{f_t}\|y_t - X_t f_t\|^2_W \end{equation}