12. Coding Contrasts and F-Tests Flashcards

1
Q

What are the rules for manual contrast testing?

A

Must be a linear combination of population means
Associated coefficients (weights) = Must sum to zero

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

What are the 9 different rules for assigning weights?

A
  1. Weights -1 > x < 1
  2. The group in one chunk are given negative chunks and others are given positive chunks
  3. Sum of weights must = 0
  4. Group not involved in comparison, weight = 0
  5. For a given comparison, weights assigned to groups are equal to 1 divided by the number of groups in that chunk
  6. Restrict yourself to running k-1 comparisons
  7. Each contrast can only compare two chunks of variance (estimate between)
  8. Once a group is singled out, it can’t enter other contrasts
  9. Check if contrasts are orthogonal
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are orthogonal contrasts?

A

When it tests independent sources of variation

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

What are non-orthogonal contrasts?

A

Tests non-independent sources of variation

Being non-orthogonal creates statistical challenges with inferences

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

How do you check of a pair or set of contrasts is orthogonal?

A

Sum the products of the weights and if they are equal to 0 then they are orthogonal

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

How do we contrast code in R?

A

Use emmeans

Get estimated means of our groups and then visualise

Use contrast function to see results and use confints to find confidence intervals

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

How do you interpret the results of a contrast analysis?

A

Estimate gives you the difference between average of group means within a chunk

If positive estimate = Positive coded contrast has a higher man

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

What are the key features of experiment?

A

Manipulate IV - Changing predictor = Results in change in DV

Conditions are part of experimental and what is manipulated

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

What are factors in factorial design?

A

Resultant variables in data set that code experimental conditions

The data that represents he aspects of design

Factors have levels = Number of ways to vary or manipulate condition

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

What is the difference in linear model outcome and experiment outcome?

A

Linear Model Outcome = Model + Error

Experimental Outcome = Design + Error

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

What is one-way design?

A

Only one condition is manipulated

e.g. y = b0 + (b1E1 + b2E2) + Ei

Only includes treatment

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

How do you test main effects and contrast tests in one way design?

A

Main effect test - Overall F- Test
Contrast - Between groups

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

What are the hypothesis tested in factorial design?

A

Main effects and contrasts

Categorical and Categorical interactions

Simple Contrasts

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

What is a two-way design?

A

When multiple conditions are manipulated

E.g. Includes hospital, treatment and interaction

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

How do you test main effects in the two-way design?

A

Need different models to make model comparison

E.g. model comparisons using anova

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