Questions tagged [anova]

ANOVA stands for ANalysis Of VAriance, a statistical model and set of procedures for comparing multiple group means. The independent variables in an ANOVA model are categorical, but an ANOVA table can be used to test continuous variables as well.

Filter by
Sorted by
Tagged with
54
votes
5answers
58k views

Best practice when analysing pre-post treatment-control designs

Imagine the following common design: 100 participants are randomly allocated to either a treatment or a control group the dependent variable is numeric and measured pre- and post- treatment Three ...
53
votes
1answer
40k views

How to interpret type I, type II, and type III ANOVA and MANOVA?

My primary question is how to interpret the output (coefficients, F, P) when conducting a Type I (sequential) ANOVA? My specific research problem is a bit more complex, so I will break my example ...
39
votes
1answer
39k views

Alternatives to one-way ANOVA for heteroskedastic data

I have data from 3 groups of algae biomass ($A$, $B$, $C$) which contain unequal sample sizes ($n_A=15$, $n_B=13$, $n_C=12$) and I would like compare if these groups are from the same population. One-...
59
votes
2answers
22k views

Do we need a global test before post hoc tests?

I often hear that post hoc tests after an ANOVA can only be used if the ANOVA itself was significant. However, post hoc tests adjust $p$-values to keep the global type I error rate at 5%, don't they?...
54
votes
3answers
231k views

ANOVA assumption normality/normal distribution of residuals

The Wikipedia page on ANOVA lists three assumptions, namely: Independence of cases – this is an assumption of the model that simplifies the statistical analysis. Normality – the distributions of the ...
53
votes
4answers
31k views

How are regression, the t-test, and the ANOVA all versions of the general linear model?

How are they all versions of the same basic statistical method?
24
votes
2answers
18k views

Why do lme and aov return different results for repeated measures ANOVA in R?

I am trying to move from using the ez package to lme for repeated measures ANOVA (as I hope I will be able to use custom ...
17
votes
1answer
25k views

How to choose between ANOVA and ANCOVA in a designed experiment?

I am conducting an experiment which has the following: DV: Slice consumption (continuous or could be categorical) IV: Healthy message, unhealthy message, no message (control) (3 groups in which ...
22
votes
1answer
30k views

Why Levene test of equality of variances rather than F ratio?

SPSS uses the Levene test to evaluate homogeneity of variances in the independent group t-test procedure. Why is the Levene test better than a simple F ratio of the ratio of the variances of the ...
20
votes
4answers
11k views

Practically speaking, how do people handle ANOVA when the data doesn't quite meet assumptions?

This isn't a strictly stats question--I can read all the textbooks about ANOVA assumptions--I'm trying to figure out how actual working analysts handle data that doesn't quite meet the assumptions. I'...
25
votes
3answers
52k views

Post hoc test after ANOVA with repeated measures using R

I have performed a repeated measures ANOVA in R, as follows: aov_velocity = aov(Velocity ~ Material + Error(Subject/(Material)), data=scrd) summary(aov_velocity) ...
26
votes
3answers
42k views

Differences between MANOVA and Repeated Measures ANOVA?

What is the difference between a repeated measures ANOVA over some factor (say experimental condition) and a MANOVA? In particular one website I stumbled across suggested that MANOVA does not make the ...
42
votes
1answer
363k views

How to interpret and report eta squared / partial eta squared in statistically significant and non-significant analyses?

I have data that has eta squared values and partial eta squared values calculated as a measure of effect size for group mean differences. What is the difference between eta squared and partial eta ...
31
votes
3answers
12k views

Can ANOVA be significant when none of the pairwise t-tests is?

Is it possible for one-way (with $N>2$ groups, or "levels") ANOVA to report a significant difference when none of the $N(N-1)/2$ pairwise t-tests does? In this answer @whuber wrote: It is ...
23
votes
1answer
40k views

What is the non-parametric equivalent of a two-way ANOVA that can include interactions?

Hi I am trying to find the non-parametric equivalent of a two-way ANOVA (3x4 design) which is capable of including interactions. From my reading in Zar 1984 "Biostatistical analysis" this is possible ...
94
votes
5answers
14k views

Why is ANOVA taught / used as if it is a different research methodology compared to linear regression?

ANOVA is equivalent to linear regression with the use of suitable dummy variables. The conclusions remain the same irrespective of whether you use ANOVA or linear regression. In light of their ...
19
votes
2answers
50k views

How can I get a significant overall ANOVA but no significant pairwise differences with Tukey's procedure?

I performed with R an ANOVA and I got significant differences. However when checking which pairs were significantly different using the Tukey's procedure I did not get any of them. How can this be ...
18
votes
1answer
7k views

How is MANOVA related to LDA?

In several places I saw a claim that MANOVA is like ANOVA plus linear discriminant analysis (LDA), but it was always made in a hand-waving sort of way. I would like to know what exactly it is supposed ...
4
votes
1answer
2k views

What experimental design is this?

I collect blood from one human (donor), separate leukocytes and put $2\times10^6$ of them per each well of five: well 1: $2\times10^6$ Lk (leukocytes) well 2: $2\times10^6$ Lk well 3: $2\times10^...
11
votes
2answers
5k views

What is the lme4::lmer equivalent of a three-way repeated measures ANOVA?

My question is based on this response which showed which lme4::lmer model corresponds to a two-way repeated measures ANOVA: ...
2
votes
2answers
334 views

What's the difference between regression and analysis of variance?

Like, I don't get it. In regression, we say $$Y_i = a + bX_i + \epsilon$$ where $X_i$ is just a real number for each observation $i$, and in analysis of variance with two groups, we say $$Y_i = a + ...
23
votes
5answers
110k views

Can I trust ANOVA results for a non-normally distributed DV?

I have analyzed an experiment with a repeated measures ANOVA. The ANOVA is a 3x2x2x2x3 with 2 between-subject factors and 3 within (N = 189). Error rate is the dependent variable. The distribution of ...
23
votes
2answers
3k views

Does it make sense for a fixed effect to be nested within a random one, or how to code repeated measures in R (aov and lmer)?

I have been looking through this overview of lm/lmer R formulas by @conjugateprior and got confused by the following entry: Now assume A is random, but B is fixed and B is nested within A. ...
13
votes
3answers
57k views

Why do we use a one-tailed test F-test in analysis of variance (ANOVA)?

Can you give the reason for using a one tailed test in the analysis of variance test? Why do we use a one-tail test - the F-test - in ANOVA?
6
votes
2answers
3k views

Sums-of-Squares (total, between, within): how to compute them from a Distance Matrix?

I am having trouble understanding the concept of Sum of Squares in the context of distance matrices (Studer et al. 2010). The Sum of Squares I am familiar with is the classical $SS$ from ANOVA, ...
55
votes
4answers
35k views

Why is ANOVA equivalent to linear regression?

I read that ANOVA and linear regression are the same thing. How can that be, considering that the output of ANOVA is some $F$ value and some $p$-value based on which you conclude if the sample means ...
38
votes
4answers
15k views

Analysis with complex data, anything different?

Say for example you are doing a linear model, but the data $y$ is complex. $ y = x \beta + \epsilon $ My data set is complex, as in all the numbers in $y$ are of the form $(a + bi)$. Is there ...
19
votes
2answers
31k views

Repeated measures ANOVA with lme/lmer in R for two within-subject factors

I'm trying to use lme from the nlme package to replicate results from aov for repeated ...
42
votes
3answers
500k views

How to interpret F- and p-value in ANOVA?

I am new to statistics and I currently deal with ANOVA. I carry out an ANOVA test in R using aov(dependendVar ~ IndependendVar) I get – among others – an F-value ...
21
votes
4answers
46k views

Difference Between ANOVA and Kruskal-Wallis test

I am learning R and have been experimenting with analysis of variance. I have been running both kruskal.test(depVar ~ indepVar, data=df) and ...
7
votes
1answer
4k views

Justification for low/high or tertiary splits in ANOVA

I have two groups of participants and they all took the same measurements. When I perform a median split on one of the measurements to test my hypothesis about an interaction, the dependent ...
6
votes
2answers
14k views

In three-way ANOVA, how to interpret the three-way interaction?

I have a significant three-way interaction (with no significant two-way interactions and no significant main effects). To begin with I have followed this up with two two-way ANOVAs (one at each level ...
24
votes
3answers
49k views

Choice between Type-I, Type-II, or Type-III ANOVA [duplicate]

We have a dataset with three variables (dV: self-reported measure on scale 1-5, assumed to be metric; iV1: factor with 4 levels; iV2: factor with 8 levels). We are interested whether the dV differs in ...
22
votes
3answers
25k views

Regression vs. ANOVA discrepancy (aov vs lm in R)

I was always under the impression that regression is just a more general form of ANOVA and that the results would be identical. Recently, however, I have run both a regression and an ANOVA on the same ...
19
votes
2answers
28k views

How do you “control” for a factor/variable?

To my understanding, "Control" can have two meanings in statistics. Control group: In an experiment, no treatment is given to the member of the control group. Ex: Placebo vs Drug: You give drugs to ...
16
votes
3answers
15k views

A non-parametric repeated-measures multi-way Anova in R?

The following question is one of those holy grails for me for some time now, I hope someone might be able to offer a good advice. I wish to perform a non-parametric repeated measures multiway anova ...
27
votes
7answers
38k views

How does one do a Type-III SS ANOVA in R with contrast codes?

Please provide R code which allows one to conduct a between-subjects ANOVA with -3, -1, 1, 3 contrasts. I understand there is a debate regarding the appropriate Sum of Squares (SS) type for such an ...
14
votes
4answers
49k views

Using ANOVA on percentages?

I have a table with four groups (4 BMI groups) as the independent variable (factor). I have a dependent variable that is "percent mother smoking in pregnancy". Is it permissible to use ANOVA for ...
22
votes
3answers
13k views

Is there an equivalent to Kruskal Wallis one-way test for a two-way model?

If the model does not satisfy ANOVA assumptions (normality in particular), if one-way, Kruskal-Wallis non-parametric test is recommended. But, what if you have multiple factors?
11
votes
1answer
4k views

How to perform a 4 by 4 mixed ANOVA with between- and within-subjects contrasts using R?

Beginner user of R here struggling with a repeated measures ANOVA. I have a dataset that consists of one between subjects factor with 4 levels (coded in a single variable called 'groups'), and one ...
8
votes
3answers
36k views

Prove F test is equal to T test squared

I need to show that F test is equal to T test squared, when the T test is for 2 independent groups and assuming variances are equal. I know that $F=\frac{MSB}{MSW}=\frac{SSB/k-1}{SSW/N-K}$ and I know ...
46
votes
2answers
79k views

Using lmer for repeated-measures linear mixed-effect model

EDIT 2: I originally thought I needed to run a two-factor ANOVA with repeated measures on one factor, but I now think a linear mixed-effect model will work better for my data. I think I nearly know ...
28
votes
3answers
42k views

How to get an “overall” p-value and effect size for a categorical factor in a mixed model (lme4)?

I would like to get a p-value and an effect size of an independent categorical variable (with several levels) -- that is "overall" and not for each level separately, as is the normal output from ...
24
votes
4answers
30k views

ANOVA vs multiple linear regression? Why is ANOVA so commonly used in experimental studies?

ANOVA vs multiple linear regression? I understand that both of these methods seem to use the same statistical model. However under what circumstances should I use which method? What are the ...
36
votes
3answers
29k views

What is compound symmetry in plain english?

I recently realized that a mixed-model with only subject as a random factor and the other factors as fixed factors is equivalent to an ANOVA when setting the correlational structure of the mixed model ...
9
votes
1answer
2k views

Equivalence between a repeated measures anova model and a mixed model: lmer vs lme, and compound symmetry

I have some trouble obtaining equivalent results between an aov between-within repeated measures model and an lmer mixed model. ...
20
votes
2answers
14k views

The order of variables in ANOVA matters, doesn't it?

Am I correct to understand that the order in which variables are specified in a multifactorial ANOVA makes a difference but that the order does not matter when doing a multiple linear regression? So ...
4
votes
1answer
1k views

Using and interpreting type I SOS in three-way ANOVA

My research question is from education: To test whether groups (university, department, gender) differ based on their scores in a test, and whether there are any interaction effects, I'll do 3-way ...
8
votes
2answers
2k views

Repeated measures ANOVA vs. factorial ANOVA with subject factor: understanding “error strata” and Error() term in aov

Consider repeated measures ANOVA (RM-ANOVA) with one within-subject factor A and several measurements per subject for each level of ...
8
votes
2answers
30k views

Anova from R output interpretation

I have a question on how a statistician would normally interpret an anova output. Say I have anova output from R. ...

1
2 3 4 5
10