Week 7 day 2 Flashcards

1
Q

When do we use independent samples t-test?

A

When we have data from two independent samples and we want to know whether they are from the same population or not.

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

What is the difference between a Student t-test and a Welch t-test?

A

The student t-test is dependent on homoscedasity between the two samples, i.e. they have the same variance/sd.

The Welch test can account for difference variance.

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

What influences the size of the t-statistic?

A
  1. How different the means are (obviously).
  2. The degrees of freedom/ sample size.
  3. The variance of the two sample. Increased variance decreases t.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Should you always say that you use a Welch independent samples t-test?

A

Yes.

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

What type of t-test do we use if the data of each sample is not independent?

A

A paired-samples t-test.

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

Are paired-samples t-tests always repeated-measures tests?

A

No.
A paired samples t-test would also be used if there were multiple responses from an individual/s in different contexts.
In other words, for every row there are two data points.

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

Is a repeated measures paired samples t-test essentially just a one sample t-test done on the mean difference in response at each time point?

A

Yes.

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

What is the null hypothesis for a paired-sample t-test?

A

That the difference is 0.

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

What are the assumptions required for doing t-tests?

A
  1. That the distribution of the each population is normal.
  2. The data are independent, unless you are doing a paired-samples t-test that allows for specific dependence.
  3. For Student tests, the assumption is that the two groups being tested have the same variance.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do we test for normality of data?

A

One way is to use a quantile-quantile plot. This graphs the theoretical quantiles against the observed quantiles. If there is a straight line then we can assume normality.

Another way is to look at a histogram.

Both these require a qualitative judgement.

For a quantitative check, you can do a Shapiro-Wilk test.

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

What are some of the reasons why checking for normality is not necessary?

A
  1. Most statistical tests are quite robust against violations of normality.
  2. Tests for normality will say any set of data is not normal if the sample size is large enough.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the Shapiro-Wilk test?

A

It is a test for normality of data.

In R shapiro.test() generates a W stat and a p-value. A W less than 1 indicates data not normal.

The null for a shapiro-wilk test is that the data IS normally distributed. Therefore, a p value < .05 is saying that the data is NOT normally distributed.

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

If you are testing for normality, do you need to test normality for the distribution of each sample/group?

A

Yes.

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

When checking the normality of data in a paired-samples t-test, do we need to test normality of the difference or the two data sets?

A

A paired-samples t-test is a one-sample t-test on the difference between groups. This means that we need to check the normality of the difference variable, and not the distribution of each group.

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

What are non-parametric tests?

A

These tests do not make assumptions about the shape of the distribution of the data, i.e. does not require that they are normally distributed.

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

What are some short-comings with non-parametric tests?

A

They are not as powerful. There is a higher type II error rate.

17
Q

What is the non-parametric test equivalent to a t-test?

A

The Wilcoxon.

18
Q

Can we use Cohen’s D as an effect size for a Wilcoxon test?

A

No. This is because Cohen’s D assumes normality of data.

19
Q

Why would it be very bad if you accidentally used a paired-samples t-test instead of an independent-samples t-test (if you had independent samples, that is)?

A

Paired-samples t-tests have much greater likelihood of generating significant results, that is, they have a higher type I error rate when used on independent samples, because the null is 0.

20
Q
A