Comparing two paired groups 2 Flashcards

1
Q

What does ‘comparing two paired groups’ mean?

A

Comparing two means within a repeated measures design

Interested in the difference of scores before or after test

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

What test do you use for comparing two paired groups?

A

Paired samples t-test

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

How does a paired samples t-test work?

A

By running a one sample t-test of the difference scores (difference before and after)

  • Exactly the same as a one-sample t-test*
  • H0 = mean difference is 0*
  • H1 = mean difference is not 0*
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the R command for a paired samples t-test?

A

pairedSamplesTTest(formula = ~ x + y, z)

x(before)

y(after)

z(data)

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

paired samples t-tests are looking at the ______ in the means

A

difference

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

What are the assumptions all t-tests (except student t-tests) make?

A

Population distribution is normal

The data are independent of except in those respects that the test specifies

(e.g. paired samples t-test implies a very specific kind of relationship between data from the same person)

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

What is the normality assumption?

A

whether the data is ‘normal’ (normal distribution)

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

What can you use to check the normality assumption (whether the data is ‘normal’)

A

Quantile-quantile (QQ) plots

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

What are Quantile-quantile (QQ) plots?

A

These are scatterplots of the actual quantiles of the observed data against the theoretical quantiles of the normal distribution

If the data are truly normally distributed, you’d expect the quantiles to be identical, giving a nice straight line

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

Command for QQ plots in R?

A

qqnorm(x)

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

What do QQ plots look like if they are skewed?

A

Not a straight line

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

What is the Shapiro-Wilk test?

A

A way of quantifying departures from normality

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

What is the test statistic of the Shapiro-Wilk test?

What values of the test statistic imply deviations from normality?

A

W

Values of W less than 1 imply deviations from normality

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

What is the R command for a Shapiro-Wilk test?

A

shapiro.test(x)

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

If the p-value is greater than 0.05 in a Shapiro Wilk test, you ____ the null hypothesis

A

retain

(data is normal)

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

What type of tests do you do if the data is not normal?

A

Non-parametric tests

17
Q

What are the features of a non-parametric test?

A

They avoid making assumptions about the shape of the distribution (e.g. normal)

Usually not as powerful (higher type 2 error) than the corresponding parametric tests

But sometimes you have to use them

18
Q

What is the non-parametric version of a t-test called?

What is its test statistic?

A

Wilcoxon test

The test statistic is ‘W’ (like Shapiro-Wilk)

19
Q

What does the Wilcoxon ‘W’ calculate?

A

W counts the number of times a score from group A is larger than a score from group B.

20
Q

What problem might the Shapiro-Wilk test encounter is the sample size is greater than 50?

How might you check to see if the results are accurate?

A

It may be significant even if the data is normal (p < .05 indicating departure from normality)

Look at QQplot or histogram to see if it looks normal