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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.