Skip to content
Prev 43120 / 398506 Next

lm function

On Thu, 22 Jan 2004, jenny smith wrote:

            
$coefficient is not the recommended way to get the coefficients.

use coef(your.model) for the coefficients and vcov(your.model) for their
variance matrix, so that sqrt(diag(vcov(your.model))) are the standard
errors.

	-thomas
Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle