STAT 5: Introduction to Multiple Testing Flashcards
What is a two sample t-test?
- when you compare two samples with each other
What is a one sample t-test?
- when you compare a group to a specific mean
- i.e. the mean of a population or a specific group
Give example codes for a two sample t-test and a one sample t-test

Give an example of a for a one-tailed two sample t-test

What is a paired t-test?
- sometimes called a dependent sample t-test
- applied when two samples are closed related to each other
- e.g. measuring the same sample or patient twice, before or after a certain treatment
How do you perform a paired t-test in R?

What could happen when data do not fit under the assumptions of a statistical test?
- the probability calculations underlying the test are likely to be incorrect
- this could increase the chance of false positive or false negative results
What are the three assumptions of the t-test?

What is the Family Wise Error Rate?
- the FWER is the probability of getting a false positive if the null hypothesis is true across a group of tests
- with the increase in the number of tests, the alpha is no longer the type 1 error rate
How do you calculate the FWER?

What is ANOVA?
- analysis of variance, or F-test
- compares the variance within samples with the variance between the samples
- shows you whether all the values that have been measured in our samples actually come from the same population or whether the observation of at least one group comes from a different population
What is SSW and how do I calculate it?
- sum of squared differences within the group

What is SSB and how do I calculate it?
- the sum of squared differences between the groups



How do we calculate the degrees of freedom between groups
K - 1
- K= number of groups/samples
How do you calculate the degrees of freedom within groups?
N - K
- N = total number of observations (sum of all n of each group)
- K = number of groups/samples
How do you calculate the variance between and within groups and the F statistic?
