1
It is possible to rescue only p-value from a simple linear regression in R?
I have the following code:
reg<-lm(abscissa~ordenada)
summary(reg)
the answer is:
Call:
lm(formula = abscissa ~ ordenada)
Residuals:
Min 1Q Median 3Q Max
-746.77 -308.91 -62.22 285.36 1236.04
Coefficients:
Estimate Std. Error t value Pr(>|t|)
(Intercept) 2163.1769 161.4879 13.395 < 2e-16 ***
ordenada 1.7729 0.2735 6.482 8.95e-09 ***
Signif. codes: 0 *** 0.001 ** 0.01 * 0.05 . 0.1 '' 1
Residual standard error: 452.9 on 74 degrees of freedom
Multiple R-squared: 0.3621, Adjusted R-squared: 0.3535
F-statistic: 42.01 on 1 and 74 DF, p-value: 8.951e-09
i need to call only p-value (8.951e-09)
I tried to use the $ operated but unsuccessfully.
Grateful
Is the p-value of statistics F or statistics T?
– Tomás Barcellos