I want to calculate the variance of my beta, I am typing in this command, however i am getting the error message 'subscript indices must either be real positive integers or logical', 'Attempted to access (0.0686532); index must be a positive integer or logical'
My command is
var(b)=inv(xcl'*xcl)sqrt(sigma_r)
Best Answer