week 6 - wilcoxon rank-sum and wilcoxon sign rank-test Flashcards

1
Q

what are parametric tests

A
  • t-tests and ANOVA
  • Rely on the assumption that the data comes from a normally distribution population
  • What if the assumption of normality is violated?
  • You can conduct non-parametric tests
  • Non-parametric tests are more flexible:
  • Data does not need to come from a normally distributed population
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

how do non-parametric tests work

A
  • do not use the values of the dependent variable
  • data is ranked using the values of the DV
  • analysis then carried out on the ranks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what don’t we just always perform non-parametric tests

A
  • non parametric tests have less statistical power
  • more likely to result in type II error
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

how do we assess normality in designs with two independent groups

A
  • Q-Q plots
  • shapiro-wilk test
  • data in each group should follow a normal distribution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what are Q-Q plots

A
  • Plots values you would expect to get if the distribution was normal against your observed values.
  • Expected values are a straight diagonal line observed values are dots
  • If normally distributed, dots fall mostly on top of line
  • if not normally distributed points do not fall on line
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is the interpretation of the Shapiro-Wilk test

A
  • p ≤ .05 data is not assumed to come from a normally distributed population
  • parametric tests not appropriate
  • consider non-parametric tests
  • p > .05 data is assumed to come from a normally distributed population
  • parametrics tests may be appropriate - proceed with other assumptions checks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

which approach is better

A
  • shapiro-wilk less subjective but likely to give significant p-value frequently with large sample sizes
  • consider both outcomes together
  • if the group sample size is <50 rely on the shapiro wilk
  • if group sample size is >50 rely on Q-Q plot
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is the theory behind the Wilcoxon rank sum test

A
  • order the DV from small to large
  • rank the DV from small to large
  • add up ranks per group
  • correct for the number of people in groups
  • minus the mean rank from each groups sum of ranks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what if at least one group doesn’t meet the normality assumption

A
  • conduct non-parametric alt of unrelated samples t-test (Wilcoxon rank-sum test)
  • also used if there is a two independent groups with no repeated measures
  • Mann-whitney test
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what is the direction of the results

A
  • parametric - report mean
  • non-parametric - median is typically prefered
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what is the exact method

A
  • we know the null hypothesis is true
  • how often is the difference that appears as large as the difference in the true data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what is the monte carlo method

A
  • creates lots of databases that are the same as the sample
  • assigns groups randomly
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

what is the normal approximation with continuity correction

A
  • assumes that the sampling distribution of the W statistic is normal
  • produces a standard error
  • can be used to calculate z and than a p-value
  • applies a continuity correction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

which is the default method

A
  • Sample size < 50 in all group and no tied ranks = exact method
  • Sample size ≥ 50 in any group OR tied ranks = normal approximation with continuity correction
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

why is my W different when calculated manually

A
  • If you were to calculate W manually, W should be the smallest value (sum of ranks – mean rank)
  • In R, W is reported for the first factor level
  • Doesn’t affect significance, so not something you need to worry about
  • You can just report what R outputs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what are the assumptions of normality

A
  • the difference between timepoint 1 and timepoint 2 should be normally distributed
  • calculate a difference score for each participant and assess normality of this difference score
17
Q

what is the Wilcoxon signed-rank test

A
  • Alternative to the related samples t-test
  • Appropriate if you have a design with only two repeated measures (all participants contribute data at both timepoints)
18
Q

what is the theory behind the Wilcoxon signed-rank test

A
  • calculate the difference between the conditions
  • note the sign of the difference
  • calculate the ranks
  • add up the positive and negative ranks separately
19
Q

does the V differ depending on how I enter the variables in the code

A
  • V is always the sum of positive ranks but whether ranks are positive or negative will differ depending on the way you enter the variables into the function