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.

Attachment | Size |
---|---|

steaks.R | 1.49 KB |

A detailed solution to Excercise 3 in Chapter 2 | 61.16 KB |

- Log in to post comments