[R] Exact p-values in lm() - rounding problem
Uwe Ligges
ligges at statistik.tu-dortmund.de
Tue Feb 12 15:07:41 CET 2013
On 12.02.2013 14:44, Torvon wrote:
>
>
> Thank you, Uwe.
>
> summary(m1) gives me p-value estimates of:
> (Intercept) 2e-16
> x1 6.9e-15
> x2 1.9e-07
> x3 2.7e-09
>
> While coef(summary(m1))[,4] gives me:
> (Intercept) 3.0e-23
> x1 5.7e-13
> x2 2.6e-07
> x3 1.7e-17
>
> While the first one confirms my suspicion (-23 instead of -16), the
> latter one vary drastically (especially x3 from -09 to -17). Why is that?
Can you show the complete code and output?
Uwe Ligges
> Thank you!
> T.
>
>
More information about the R-help
mailing list