Variance Co-variance Matrix (Eviews8)
Posted: Tue Jul 05, 2011 5:32 am
I have estimated an equation using OLS, and I can then view the variance-covariance matrix by clicking on the "View" button and then selecting the "variance-covariance" option.
However, when I try to use this in a programme I come across a problem. Specifically, when I run the line of code
matrix covar_mat = @cholesky(model.@coefcov)
I get the error message saying "Near singular matrix". This is confusing because I can see the variance-covariance matrix myself when I click on the object.
Is there a way to fix this?
However, when I try to use this in a programme I come across a problem. Specifically, when I run the line of code
matrix covar_mat = @cholesky(model.@coefcov)
I get the error message saying "Near singular matrix". This is confusing because I can see the variance-covariance matrix myself when I click on the object.
Is there a way to fix this?