[R] Correlation Matrix
sayan dasgupta
kittudg at gmail.com
Fri Jun 11 06:56:23 CEST 2010
Hi ,
you can try using cov2cor(vcov(lm(calorie~height))) to get the correlation
matrix of estimated coefficients
boltonboy999 wrote:
>
> Hi everyone,
>
> This is pretty urgent so if anyone can help that would be great.
>
> I have a table of information. The categories are weight, height,
> calories and skinfold. There are 20 entries. I have had to carry out
> linear regressions of calories on height, weight and on height and weight.
> I have done this using the lm(calorie~height) function etc.
>
> This has given me the 't' values I needed to proove significance etc.
>
> Now I am trying to find the correlation matrix of estimated coefficients.
> Can anyone tell me how to do this?
>
> Thanks in advance
>
--
View this message in context: http://r.789695.n4.nabble.com/Correlation-Matrix-tp2250826p2251274.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list