Hello,
I am able to extract the diagonal of the variance covariance matrix that results from the glm() procedure but when I try to take the square root of it I get the error "type mismatch". What's going on?
thanks, chris
matrix dvcovb=vecdiag(e(V))'
matrix list dvcovb
matrix list dvcovbt
dvcovbt[24,1]
r1
outcome:age 3.879e-06
outcome:sex .00252515
outcome:0b.Region 0
outcome:1.Region .00256302
<...more rows...>
. matrix srdvcovbt=sqrt(dvcovbt)
type mismatch
r(109);
I am able to extract the diagonal of the variance covariance matrix that results from the glm() procedure but when I try to take the square root of it I get the error "type mismatch". What's going on?
thanks, chris
matrix dvcovb=vecdiag(e(V))'
matrix list dvcovb
matrix list dvcovbt
dvcovbt[24,1]
r1
outcome:age 3.879e-06
outcome:sex .00252515
outcome:0b.Region 0
outcome:1.Region .00256302
<...more rows...>
. matrix srdvcovbt=sqrt(dvcovbt)
type mismatch
r(109);
Comment