ANOVA Flashcards

1
Q

When do we use ANOVA?

A

ANOVA is technique used when all the explanatory variables are categorical.

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

When do we do one-way ANOVA?

A

When we have one categorical variable

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

When do we do a two-way ANOVA?

A

If there are two or more factors then we use two or three-way analysis of variance.

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

Which mean squares do we use for the F-test?

A

Within group and between group

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

What are the assumptions about the variances and the populations for two-way ANOVA?

A
  • The samples are independent
  • The variances of the populations are equal
  • The groups have the same sample size
  • The populations are normally or approximately normally distributed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How many null hypotheses (and how many F-tests) do we have in a two-way anova?

A

3

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

What is the outcome in a Logistic Regression?

A

Binary (yes/no or 0/1)

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

Which link function do we use for a logistic regression?

A

logit(p)=log(p)/log(1-p)

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

What is the outcome in a Poisson regression?

A

Non-negative integer

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

Which link function do we use for a poisson regression?

A

log

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

ANOVA

Analysis of variance uses the

A

the ratio of two sources of variability to test the null hypothesis
•Between group variability estimates both experimental error and treatment effects
•Within subjects variability estimates experimental error
•The assumptions that underly this technique directly follow on from the F-ratio.

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

when do we use Analysis of Variance (ANOVA)

A

is a technique used when all the explanatory variables are categorical.

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

what is the aim of ANOVA

A

to compare two or more means, by comparing the variances

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

what is a non-parametric method equivalent to one-way ANOVA.

A

the Kruskal-Wallis

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

what assumptions are made in one-way ANOVA

A

Each group or level has more than 30 elements. If this is violated, we need to be cautious
with the interpretation. As with linear models, we also assume that the residuals are normally distributed.

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

what are the null and alternative hypotheses in one-way ANOVA

A

H0 : all μ’s for each level are equal, i.e. μ1 = μ2 = . . . = μK
H1 : at least one μ differs
Where μ is the mean

17
Q

Df Sum Sq Mean Sq F value Pr(>F)
drug 2 28.22 14.111 11.91 0.000256 ***

Residuals 24 28.44 1.185

Signif. codes: 0 ’’ 0.001 ’’ 0.01 ’’ 0.05 ’.’ 0.1 ’ ’ 1

interpret this r output

A

p-value is smaller than 0.05, thus we can reject the null hypothesis

18
Q

name a plot for interpreting One-Way ANOVA

A

Box-and-whisker plots are particularly suitable for interpreting differences between data pertaining to different levels of the same factor

19
Q

why it is called two-way analysis of variance.

A

we have two independent variables.

20
Q

assumptions of two-way ANOVA

A
  1. The samples are independent
  2. The variances of the populations are equal
  3. The populations must have the same sample size
  4. The populations are normally or approximately normally distributed
21
Q

two-way ANOVA, we are performing three different F tests with the following null and alternative
hypotheses.

A

H0 :
1. There is no difference in the means of the first factor
2. There is no difference in the means of the second factor
3. There is no interaction between the two factors (they are independent)

H1 :
1. There is a difference in the means of the first factor
2. There is a difference in the means of the second factor
3. There is an interaction between the two factors (they are not independent

22
Q
A