[R] Definition of t-value

From: <algorithms_at_gmx.de>
Date: Sat 13 Jan 2007 - 18:20:10 GMT


I'd like to ask for the exact definition of the t-value, which R uses in its summaries of a linear model for judging the importance of an independent variable in explaining the dependent variable. I searched the documentation, some groups, and the web for quite a long time, but the best I could come up with is the following from


which reads:

Measure of the statistical significance of an independent variable b in explaining the dependent variable y. It is determined by dividing the estimated regression coefficient b by its standard error Sb. That is

t-Value = b/Sb

Thus, the t-statistic measures how many standard errors the coefficient is away from zero. Generally, any t-value greater than +2 or less than - 2 is acceptable. The higher the t-value, the greater the confidence we have in the coefficient as a predictor. Low t-values are indications of low reliability of the predictive power of that coefficient.

My problem is that I do not know how to compute the standard error Sb of some regression coefficient, when I have done nothing more than to use the lm command in this manner:

Out = lm(A~ data$B + data$C + data$D)

Does anyone know in detail, how R computes the t-value displayed in summaries?

Thank you very much,



R-help@stat.math.ethz.ch mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sun Jan 14 05:49:02 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 13 Jan 2007 - 20:30:38 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.