Skip to content
Prev 176151 / 398503 Next

extract the p value of F statistics from the lm class

On 05/04/2009 4:18 AM, tedzzx wrote:
Sorry, I misread your question:  the p-value of that statistic isn't 
returned.  You just need to calculate it yourself, as

  f <- x$fstatistic
  pf(f[1], f[2], f[3], lower=FALSE)

Duncan Murdoch