Re: [R] formula used by R to compute the t-values in a linear regression

2011-08-01 Thread Samuel Le
Original Message- > [mailto:r-help-boun...@r-project.org] On Behalf Of Samuel Le > Subject: [R] formula used by R to compute the t-values in a > linear regression > I was wondering if someone knows the formula used by the > function lm to compute the t-values. Typing summary.l

Re: [R] formula used by R to compute the t-values in a linear regression

2011-08-01 Thread Samuel Le
Le Cc: r-h...@stat.math.ethz.ch Subject: Re: [R] formula used by R to compute the t-values in a linear regression On Aug 1, 2011, at 15:27 , Samuel Le wrote: > Hello, > > > > I was wondering if someone knows the formula used by the function lm to > compute the t-values. > > >

Re: [R] formula used by R to compute the t-values in a linear regression

2011-08-01 Thread S Ellison
> -Original Message- > [mailto:r-help-boun...@r-project.org] On Behalf Of Samuel Le > Subject: [R] formula used by R to compute the t-values in a > linear regression > I was wondering if someone knows the formula used by the > function lm to compute the t-values.

Re: [R] formula used by R to compute the t-values in a linear regression

2011-08-01 Thread peter dalgaard
On Aug 1, 2011, at 15:27 , Samuel Le wrote: > Hello, > > > > I was wondering if someone knows the formula used by the function lm to > compute the t-values. > > > > I am trying to implement a linear regression myself. Assuming that I have K > variables, and N observations, the formula I a

Re: [R] formula used by R to compute the t-values in a linear regression

2011-08-01 Thread David Winsemius
On Aug 1, 2011, at 9:27 AM, Samuel Le wrote: Hello, I was wondering if someone knows the formula used by the function lm to compute the t-values. I am trying to implement a linear regression myself. Assuming that I have K variables, and N observations, the formula I am using is: For t

[R] formula used by R to compute the t-values in a linear regression

2011-08-01 Thread Samuel Le
Hello, I was wondering if someone knows the formula used by the function lm to compute the t-values. I am trying to implement a linear regression myself. Assuming that I have K variables, and N observations, the formula I am using is: For the k-th variable, t-value= b_k/sigma_k With b_k