ANOVA test Flashcards

lecture 14

1
Q

When we want to compare more than 2 variables, looking at the differences between conditions between the variables.

A

ANOVA test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is ANOVA?

A

ANOVA is similar to a t-test, the job of an ANOVA is to determine whether the variation of sample means among groups is greater than expected by chance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why can we not use a t-test for more than two variables?

A

The more comparisons we make, the greater the possibility we’ll pick up a difference purely by chance and associate it with some biological effect when in reality, there is none.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the 3 primary assumptions of ANOVA?

A
  1. The responses for each factor level have a normal distribution
  2. Homogeneity of variance: These distributions have the same variance
  3. The data are independent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

One way ANOVA

A

One independent variable
One p value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

two way ANOVA

A

Two independent variables
Three p values
Factorial design

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Why can we not answer these questions with repeated t-tests?

A
  1. Large number of pairwise comparisons are difficult to comprehend
  2. As the number of tests increases, the Type I error increases
  3. Does not permit us to recognize the structure of the data, e.g.a natural ordering within the groups
  4. Does not permit us to improve our estimate of the variance in each group by using information from all groups.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

When do we use a one way ANOVA?

A
  • An ANOVA for comparing 3 or more groups defined by one independent variable is called a one-way ANOVA.
  • For example, the 3 groups defined by the variable “schizophrenia diagnosis” can be compared using a one-way ANOVA.
    *More complex models would allow comparisons across groups defined by more than one variable, e.g.a two-way ANOVA could be used to compare groups defined by “schizophrenia diagnosis” and “family history”.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

ANOVA in R

A

Degrees of freedowm (df)
F value
P value
The variable defining the groups must be identified as a factor (or a categorical variable). Otherwise it will be treated as a continuous variable.
The relevant functions are the ‘aov’ and ‘summary’ functions as illustrated below (Note some numbers may differ slightly from those on the preceding slides due to rounding).
It needs to be set as a factor or else the variable will just be treated as a character.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an F-test?

A

Basically the critical value equivalent of the ANOVA.
As with the other hypothesis tests we studied earlier, we need to calculate the test statistic and determine the rejection region
MS denotes the mean squared error.
The rejection region is determined using an F distribution with degrees of freedom equal to the degrees of freedom between groups and the degrees of freedom within groups.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly