In a similar vein as the previous post that dealt with analysis of variance (ANOVA) let’s shift our focus on a another problem solving approach, that is, linear regression. In principle, this model gives special prominence on the ability to predict an outcome based on a given set of variables.

# R statistics

## Analysis of variance (ANOVA) using R

Analysis of variance (ANOVA) represents a common means to perform statistical tests as to whether there is a statistically significant difference among sample means. Though manual calculations are ok if you strive to understand the concept, however, larger examples quickly get tedious. Here, the long-standing open source R statistics package comes to our rescue. To show how R works for a simple ANOVA analysis the ensuing steps provide a quick intro as well a the source code for a fully working example.