Re: [R] standard errors of regression coefficients

2007-10-03 Thread Jeffrey Robert Spies
stderr_int <- summary(lm(y ~ x))$coefficients[1,2] stderr_slope <- summary(lm(y ~ x))$coefficients[2,2] Jeff. On Oct 3, 2007, at 3:01 AM, Alexander Moreno wrote: > Hi, > > If I have two vectors x and y and I do lm(y~x) and now I want to > define > variables that are the standard errors of the

[R] standard errors of regression coefficients

2007-10-03 Thread Alexander Moreno
Hi, If I have two vectors x and y and I do lm(y~x) and now I want to define variables that are the standard errors of the slope and intercept, how do I do that? Thanks, Alex [[alternative HTML version deleted]] __ R-help@r-project.org mailing