[R] Standard error of regression coefficient

Erik Iverson eriki at ccbr.umn.edu
Mon Jun 14 00:19:55 CEST 2010


Josh B wrote:
> Hi all,
> 
> This should be a very simple question for you, whereas it is proving devilish for me.
> 
> How do I output the STANDARD ERROR of the regression coefficient (i.e., the standard error of b) from a simple linear regression?
> 

The first 'See Also' in ?lm is for ?summary.lm, which will give you what you 
want.  So simply pass your lm object to summary.



More information about the R-help mailing list