You are here

More of Analysis of Variance with R

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in book_prev() (line 775 of /var/www/drupal-7.37/modules/book/book.module).

The attached file illustrates the use of commands aov and glm in R to carry out ANOVA.

It should be noted that glm works with Generalized Linear Models, a quite complex framework which handles other distributions besides normal. This command uses the notion of deviance rather than the more standard F-score to evaluate the significance of the test.