[R] somebody's stolen my probabilities
paradis at isem.univ-montp2.fr
Mon Sep 4 10:10:42 CEST 2000
At 14:30 04/09/00 +1100, you wrote:
>could someone please help me with this one? Can't find it in the doco.
>summary of my lm object gives "Pr(>|t|)" but coef doesn't. How do I get
>hold of these probabilities within an object? There doesn't seem to be an
>appropriate attribute within the object - I was hoping for something like
>I was hoping to grab the best t scores at run-time.
Is it what you need?
> mod <- lm(y ~ x)
> coef(mod) # does not give all the information on coeffs
Estimate Std. Error t value Pr(>|t|)
(Intercept) 2.5 0.7371569 3.391408 0.003471731
x 1.5 0.8296427 1.808007 0.088330784
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help