ANOVA/ANCOVA using the GLM Procedure Flashcards

1
Q

Fixed factor(s)

A

Categorical IVs or treatment conditions that we can replicate; for example a dosage of a drug (e.g. low, medium or high).

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

Random factor(s)

A

A treatment condition that is unique in space and time

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

Covariate(s)

A

The continuous IVs in out study

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

Corrected Model Significance

A

The overall significance of our model, including all factors

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

Factor significance

A

The significance of that particular factor

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

Total SS

A

Variation around the origin (zero). Meaningless.

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

Corrected Total SS

A

Variation around the grand mean

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

Unique Sum of Squares (Type III)

A

The SS as if each effect was the last one fitted in the model. The unique SS for each predictor or factor. Does not depend on order of the IV fit.

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

Sequential Sums of Squares (Type I)

A

The SS when each factor is fitted in order to the model. Depends on order of IV fit.

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

SStotal

A

SSbetween/treat + SSwithin/error

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

SSbetween

A

Take a score, subtract the grand mean, square the result for every score and sum the result

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

SSwithin/error

A

Take each group mean, subtract the grand mean, square and then sum the results and multiply the sum by n.

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

SStotal

A

Take a score, subtract the mean of the group it belongs to, square the result and add up results

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

dftotal

A

N-1

Where N = total sample size

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

dfbetween/treat

A

K-1

Where K= number of groups

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

dfwithin/error

A

N-K

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

MSbetween

A

SSbetween/dfbetween

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

MSwithin/error

A

SSwithin/dfwithin

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

Number of possible pairwise comparisons formula

A

k(k-1)/2

20
Q

Planned contrasts

A

Specified in advance. Are orthogonal (sum of contrast coefficients equals zero); no part of model variance used more than once
NB there will always be one less orthogonal contrast than groups.
NB no group should occur in more than one contrast

21
Q

Post-hoc contrasts

A

Not normally specified in advance. May not be orthogonal (sum of contrast coefficients may not equal zero); some part of model variance may be used more than once (e.g. comparing A and B to B and C). All possible pairwise comparisons of group means

22
Q

Subcommand: posthoc

A

Simple contrast og group means.

23
Q

Subcommand: contrast

A

A selection of predefined contrast combinations.

24
Q

Subcommand: lmatrix

A

Allows you to hand code contrast specifications.

25
Q

Subcommand: emmeans

A

Compare marginal design means.

26
Q

Subcommand: profile

A

Plot of means.

27
Q

Rules for defining contrasts

A
  1. Choose sensible contrasts
  2. If A is compared to B, give A the positive weight and B the negative weight
  3. Within a contrast, the weights must add to zero
  4. Any group not logically involved in a contrast gets a weight of zero
  5. In contrasts of multiple group contrasts, that total weights for each ‘chunk’ should be equal
28
Q

Contrast sub command: deviation

A

each group versus overall mean

29
Q

Contrast sub command: Simple

A

Each group versus the reference group

30
Q

Contrast sub command: Difference

A

Each group versus mean of preceeding groups

31
Q

Contrast sub command: Helmert

A

Each group versus mean of preceeding groups

32
Q

Contrast sub command: Repeated

A

Difference between consecutive groups

33
Q

Contrast sub command: Polynomial

A

Linear, quadratic, cubic

34
Q

Posthoc adjustment

A

Bonferroni: Most conserative adjustment.

Least Significant Adjustment - no adjustment for multiple comparisons

35
Q

Emmeans sub command

A

Compares and displays marginal means which is the difference in the values of means across a factor (or factors).

36
Q

Effect size: partial eta squared or Omega squared

A

“generally a better representation of effect size in a population rather than a sample”.

37
Q

One way ANOVA

A

IV: One categorical IV.
DV: Continuous numeric.
Design: between subjects
Syntax: GLM taste BY coffee_type.

38
Q

Two way ANOVA

A
IVs: Two categorical IVs
DV: Continuous numeric
Design: between subjects
Syntax for additive: 
GLM taste BY coffee_type size. 
Syntax for interaction model: 
GLM taste BY coffee_type size
/ DESIGN = coffee_type coffee_type*size
/ LMATRIX = 'dark coffees versus milk coffees across sizes' coffee_type*size -1 0.5 0.5 +1 0.5 0.5
39
Q

ANCOVA
Why ANCOVA?
Why include co-variates?

A

IVs: One categorical IV, plus one or more continuous IVs.
DV: Continuous numeric.
Design: between subjects.

Why ANCOVA? Why include co-variates?

  1. Eliminates the influence of potentially confounding variables.
  2. Reduce SSresidual/error making our test more powerful.

If something is a factor we put it after BY, if something is a covariate it goes after WITH.

40
Q

One Way Repeated Measures ANOVA

A

IVs: One categorical IV.
DV: Continuous numeric.
Design: Within subjects

41
Q

Assumptions of Repeated Measures ANOVA:

A
  1. Independence within groups
  2. Sphericity/compound symmetry
  3. Normal distribution within groups
42
Q

Compound Symmetry

A
  1. Equal variance across conditions - is the standard deviations approximately the same across for our IVs?
  2. Equal correlation (or covariance) between all possible pairs of conditions - do our IVs correlate with each other fairly consisently?
43
Q

Sphericity

A

We use Mauchley’s test where we want a p>= 0.05. Informally, do we get similar standard deviations across participants for our DV?

44
Q

What happens when we fail Mauchly’s test of sphericity?

A
  1. Look at the Epsilon output of Mauchly’s test and examine the values for Greenhouse-Geisser, Huynh-Feldt and Lower Bound.
  2. If any measure is > 0.75 we can discard it and move onto the next, more conservative measure.
45
Q

Two Way Repeated Measures ANOVA

A
IVs: Two categorical IVs. 
DV: Continuous numeric. 
Design: Within subjects
Syntax: 
GLM cap_small cap_med cap_large mocha_small mocha_med mocha_large
/ WSFACTOR coffee 2 size 3
/ MMATRIX = "Cap vs..." 
/ WSDESIGN = coffee size coffee*size.
46
Q

Mixed Designs ANOVA

A

IVs: IVs that span between and within subjects.
DV: Continuous numeric.
Design: Between subjects and within subjects.
Syntax:
GLM cap exp mocha black size BY gender
/ WSFACTOR coffee 4 coffee_size 2.