310 search results for "anova"

Repeated measures ANOVA with R (tutorials)

April 13, 2010
By

Repeated measures ANOVA is a common task for the data analyst. There are (at least) two ways of performing “repeated measures ANOVA” using R but none is really trivial, and each way has it’s own complication/pitfalls (explanation/solution to which I was usually able to find through searching in the R-help mailing list). So for future reference, I am starting this page...

Read more »

Two-way Analysis of Variance (ANOVA)

February 15, 2010
By
Two-way Analysis of Variance (ANOVA)

The analysis of variance (ANOVA) model can be extended from making a comparison between multiple groups to take into account additional factors in an experiment. The simplest extension is from one-way to two-way ANOVA where a second factor is included in the model as well as a potential interaction between the two factors. As an example

Read more »

One-way ANOVA (cont.)

February 12, 2010
By
One-way ANOVA (cont.)

In a previous post we considered using R to fit one-way ANOVA models to data. In this post we consider a few additional ways that we can look at the analysis. In the analysis we made use of the linear model function lm and the analysis could be conducted using the aov function. The code used

Read more »

One-way Analysis of Variance (ANOVA)

February 3, 2010
By
One-way Analysis of Variance (ANOVA)

Analysis of Variance (ANOVA) is a commonly used statistical technique for investigating data by comparing the means of subsets of the data. The base case is the one-way ANOVA which is an extension of two-sample t test for independent groups covering situations where there are more than two groups being compared. In one-way ANOVA the data

Read more »

R Tutorial Series: ANOVA Tables

January 8, 2010
By
R Tutorial Series: ANOVA Tables

The commonly applied analysis of variance procedure, or ANOVA, is a breeze to conduct in R. This tutorial will explore how R can be used to perform ANOVA to analyze a single regression model and to compare multiple models.Tutorial FilesBefore we begin,...

Read more »

Two-way analysis of variance: two-way ANOVA in R

August 7, 2009
By

The one-way analysis of variance is a useful technique to verify if the means of more groups are equals. But this analysis may not be very useful for more complex problems. For example, it may be necessary to take into account two factors of variability to determine if the averages between the groups depend on the group classification...

Read more »

Two-way analysis of variance: two-way ANOVA in R

August 7, 2009
By

The one-way analysis of variance is a useful technique to verify if the means of more groups are equals. But this analysis may not be very useful for more complex problems. For example, it may be necessary to take into account two factors of variability to determine if the averages between the groups depend on the group classification...

Read more »

Analysis of variance: ANOVA, for multiple comparisons

July 30, 2009
By

Analysis of variance: ANOVA, for multiple comparisonsThe ANOVA model can be used to compare the mean of several groups with each other, using a parametric method (assuming that the groups follow a Gaussian distribution).Proceed with the following example:The manager of a supermarket chain wants to see if the consumption in kilowatts of 4 stores between them are equal. He...

Read more »

Analysis of variance: ANOVA, for multiple comparisons

July 30, 2009
By

Analysis of variance: ANOVA, for multiple comparisonsThe ANOVA model can be used to compare the mean of several groups with each other, using a parametric method (assuming that the groups follow a Gaussian distribution).Proceed with the following example:The manager of a supermarket chain wants to see if the consumption in kilowatts of 4 stores between them are equal. He...

Read more »

Repeated Measures ANOVA using R

March 9, 2009
By
Repeated Measures ANOVA using R

While so-called “between-subjects” ANOVA is absolutely straightforward in R, performing repeated measures (within-subjects) ANOVA is not so obvious. I have come across at least three different ways of performing repeated measures ANOVA in R. Which method you use depends on … Continue reading →

Read more »