Contrasts Flashcards
What is the equation for familywise error rate?
If the error rate per conparison = alpha pc
Number of comparisons =c
Alpha familywise level = 1-(1-alpha pc) c (this should be subscript)
A priori comparisons are what?
Are planned before looking at the data and are sometimes called planned contrasts
Can one conduct multiple comparisons between individual group means if the omnibus F is non-significant?
Yes
- the logic behind most of the multiple comparison procedures does not require overall significance first
- requiring overall sig. will change the alpha familywise making the multiple comparison tests conservative
- multiple comparisons often address the actual hypothesis more directly
- some have argued that the seems little reason for applying the overall F test when planned multiple comparisons are being carried out.
When carrying out planned multiple comparisons do you need to protect for type 1 error rate inflation?
Just because they are planned makes no difference to the problem of type 1 error rate inflation in multiple comparisons PROTECTION ESSENTIAL!
If planned comparisons are a subset of all possible comparisons (I.e. You only plan to look where you think there will be an effect) then type 1 error inflation will be less then for post hoc comparisons hence any correction will reduce power less, thus planned are better than post hoc.
What methods are there for a priori comparisons?
- multiple t-tests
- linear contrasts (orthogonal and non-orthogonal)
Bonferroni t-test (dunns test and its variations)
- Dunn-sidak test
- multistage bonferroni procedure
Holms test
Larzelere and mulaik’s test
What are the benefits of running multiple t-tests as comparisons?
Simplest method of running planned comparisons between pairs of means
Only useful if the number of comparisons are limited and planned in advance
When running multiple t-test comparisons if the homogeneity of variance is found what do you use to evaluate t?
Use MSerror from overall ANOVA
Evaluate t with DFerror degrees of freedom
When running multiple t-test comparisons if the heterogeneity of variance is found but you have equal group sizes what do you use to evaluate t?
Use sum of individual sample variances instead of MSerror
Evaluate t with DF=2(n-1)
When running multiple t-test comparisons if the heterogeneity of variance is found but you have unequal group sizes what do you use to evaluate t?
Use individual sample variances
Evaluate t with DF given by the welch-satterthwaite solution
Explain the difference between t-test comparisons and linear contrasts
T-tests: compare one mean with another mean
Linear contrasts: compare one mean or set of means combined, with another mean or set of means
If you have high medium and low dose of a treatment plus a placebo and you wanted to run the comparison of treatment vs placebo what numbers for the comparison could you use?
High 1/3
Medium 1/3
Low 1/3
Placebo = -1
What is the F test = to?
t squared
Explain the choice of coefficients used in a linear contrast
- to form the two sets of treatments which are the two sides of a contrast analysis
- assign as weights to one of the groups a fraction that corresponds with the number in the group say you have 3 treatment groups then assign them all 1/3 and if you have a placebo and a control on the other side assign them both 1/2
Then add a minus sign to one side e.g -1/2 and -1/2
What are orthogonal contrasts?
They are a set of contrasts that are mutually independent of one another
Sums of squares of a complete set of orthogonal contrasts sum together to sum of squares of the treatment (this additive property is not valid for non-orthogonal contrasts)
There are three criteria for orthogonal contrasts what are they?
- Sum of the sets of coefficients = 0
- Sum of the product of the coefficients (a*b) = 0
- Number of comparisons s=DFtreat
What are the simple rules for orthogonal contrasts?
- if a group is singled out in one comparison, then us should not reappear in another comparison
- one fewer contrasts then the number of groups (i.e. K-1 contrasts for K groups)
- each contrast must compare only two “chunks” of variance
- first comparison: compare all
Of the experimental groups with the control group or groups
Successive comparisons : within experimental or control groups
What numbers could you assign to a five group (E1 E2 E3 C1 C2) orthogonal contrast ?
Contrast 1
E1 E2 E3 = 2 2 2 ~ C1 C2 = -3 -3
Contrast 2
E1 E2 = 1 1 E3 = -2
Contrast 3
E1 = 1 E2= -1
Contrast 4
C1 = 1 and C2 = -1
How do you check the orthogonal its of a set of contrasts?
You have to sum the cross- products of the coefficients for every pair of contrasts if this equals 0, this shows the contrasts are uncorrelated
So you would have to draw a table and fill it in with all of your contrasts say you have 3 you would then have to work out contrast 1 &2, contrasts 1 and 3 and contrasts 2 and 3 if you have 4 groups
If contrast 1 = 3 -1 -1 -1
Contrast 2 = 0 2 -1 -1
To work out 1 and 2
30 + -12 + -1-1 + -1-1 = 0
And then you would keep doing this for the contrasts of 1 and 3 and 1 and 2
What’s is booles inequality?
The probability of occurrence of at least one of a set of events can never exceed the sum of their individual probabilities => bonferroni set bounds on this inequality
So for example
Three comparisons, each with probability of alpha =0.05; the probability of at least one type 1 error can never exceed (0.05+ 0.05+0.05)=0.15
If C = number of comparisons and
ALPHApc = the probability of a type 1 error per comparison
And adjusted ALPHApc = ALPHApc_adj
The alpha family wise rate should be equal to or less than what?
What test is very similar to bonferroni test?
Dunn-sidak test
Bonferroni test =
Alpha level / number of tests
E.g 0.05/4 = 0.0125
Dunn-sidak test = 0.0127
What is the multistage bonferroni: holm procedure?
For multiple hypothesis test and for controlling FW error rate
Calculate t for all contrasts of interest
Arrange the t values in increasing order
Check the first and lathers of t against the critical value in dunns table corresponding to c contrasts (= alpha/c)
If sig. Then next largest statistic has correction based on (c-1) comparisons ( = alpha/ (c-1))
Stop when non significant results is found