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.
662
questions
72
votes
2
answers
62k
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 ...
56
votes
1
answer
53k
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-...
74
votes
2
answers
28k
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?...
62
votes
3
answers
248k
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 ...
30
votes
2
answers
26k
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 ...
29
votes
4
answers
22k
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'...
18
votes
1
answer
26k
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 ...
64
votes
4
answers
42k
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?
27
votes
1
answer
39k
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 ...
26
votes
2
answers
23k
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 ...
35
votes
4
answers
17k
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 ...
4
votes
1
answer
736
views
Unequal variance in randomized experiments to compare treatment with control?
Consider a randomized experiment to compare (one or more) treatment(s) with a control. Since groups are defined by random assignment, we should expect equal variances for a null-experiment (that is, ...
79
votes
5
answers
59k
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 ...
29
votes
3
answers
47k
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 ...
29
votes
1
answer
57k
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 ...
29
votes
3
answers
73k
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)
...
23
votes
3
answers
71k
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 ...
51
votes
1
answer
426k
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 ...
35
votes
5
answers
168k
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 ...
7
votes
2
answers
1k
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 + ...
104
votes
5
answers
16k
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 ...
28
votes
4
answers
21k
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?
46
votes
5
answers
23k
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 ...
14
votes
2
answers
7k
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:
...
22
votes
1
answer
11k
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 ...
15
votes
3
answers
75k
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?
10
votes
1
answer
6k
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 ...
9
votes
2
answers
45k
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 ...
5
votes
1
answer
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^...
31
votes
4
answers
80k
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
...
34
votes
3
answers
53k
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 ...
29
votes
7
answers
49k
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 ...
27
votes
2
answers
5k
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.
...
24
votes
2
answers
38k
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 ...
19
votes
1
answer
13k
views
Logic behind the ANOVA F-test in simple linear regression
I'm trying to understand the logic behind the ANOVA F-test in Simple Linear Regression Analysis. The question I have is like follows. When the F value, i.e.
MSR/MSE...
13
votes
3
answers
66k
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 ...
10
votes
1
answer
2k
views
Are unequal groups a problem for one-way ANOVA?
I have data for three unequal groups: $N = 44$, $N = 354$ and $N = 347$. Is it possible to compare all three groups running a one-way ANOVA or is the first group too small?
6
votes
2
answers
7k
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, ...
45
votes
3
answers
554k
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 ...
43
votes
3
answers
38k
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 ...
25
votes
2
answers
46k
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
3
answers
50k
views
Alternative to One-way ANOVA unequal variance
I would like to compare the means across three groups of equal sizes (equal sample size is small, 21). The means of each group are normally distributed, but their variances are unequal (tested via ...
11
votes
2
answers
5k
views
Power of a Mann Whitney test compared to a t test
So a Mann Whitney U test is supposedly about 95% as powerful as a t-test when t-test assumptions of normality and homogeneous variance are satisfied. I also know that a Mann Whitney U test is more ...
5
votes
1
answer
3k
views
Partitioning sum of squares
I am working through the proof for partitioning sum of squares.
Could someone please explicitly explain how one goes from line 14 to 15 in the following PDF:
http://capone.mtsu.edu/dwalsh/4380/...
57
votes
2
answers
112k
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 ...
30
votes
3
answers
77k
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 ...
23
votes
4
answers
68k
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 ...
19
votes
3
answers
18k
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 ...
11
votes
1
answer
5k
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 ...
11
votes
1
answer
4k
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.
...