Re: [R] Extracting coefficients' standard errors from linear model

2008-04-25 Thread Marc Schwartz
Or use: mod <- lm(var1 ~ var2 + var3 + var4) coef(summary(mod))[, 2] or coef(summary(lm.D9))[, "Std. Error"] if you prefer using column names. coef() extracts the model coefficients from the lm object and the additional content in a summary.lm object. There are accessor functions f

Re: [R] Extracting coefficients' standard errors from linear model

2008-04-25 Thread Henrique Dallazuanna
Try: summary(lm.D9)[["coefficients"]][,2] On Fri, Apr 25, 2008 at 10:55 AM, Uli Kleinwechter < [EMAIL PROTECTED]> wrote: > Dear all, > > Hope this question is not too trivial... > > In order to correct standard errors from an estimation of a fixed > effects regression model y need to extract th

Re: [R] Extracting coefficients' standard errors from linear model

2008-04-25 Thread David Winsemius
Uli Kleinwechter <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]: > Dear all, > > Hope this question is not too trivial... > > In order to correct standard errors from an estimation of a fixed > effects regression model y need to extract the vector of standard > errors of the coefficients

[R] Extracting coefficients' standard errors from linear model

2008-04-25 Thread Uli Kleinwechter
Dear all, Hope this question is not too trivial... In order to correct standard errors from an estimation of a fixed effects regression model y need to extract the vector of standard errors of the coefficients of a simple linear model estimated using lm(var1~var2+var3+var4) Unfortunately I ca