lecture 5 Flashcards
T-Test and Anova
Paired T-Test
compares two observations that are correlated with each other
example: heart rate before and after running a marathon
Note: take the difference between individuals observations which will from the a single distribution which will be used for the t-test.
what are Paired T-tests good for
-comparing before and after effects
- controlling and taking into account for differences among the individuals (at the same time and different times)
what are you trying to see when you use a paired t-test?
you are trying to see the mean of the difference is = to 0
Null for paired T-test is
when the mean of the difference among individuals= 0
ANOVA (analysis of variance)
compares two or more means
allows for us to see if there is any difference among samples/groups
what does ANOVA calculate
1.)the measurement of there mean among all groups. and then calculates the difference between the mean among all groups and all individual measurements
2.) calculates each the mean of the each group separately, and then calculates the difference between the mean of the group and individual measurements of that group. (do this for all groups separately)
Note: (summation of variance/distribution will give you a new score which is an F statistic.
F-statistic
among group variance/ within group variance
all of the distances to the overall mean/ the sum of all distances from every observation to its own groups mean
which variance in the f-statistic is typically bigger?
the Numerator because the lines are longer in the among group variance compared to the within group varience
What makes the F-stat value bigger
the bigger the difference between the among group and the within group will make the f-stat number higher.
(take a big number/ by a small number)
Note: opposite will make the f-stat smaller
if our stat null hypothesis is that there is no difference among means what do we expect our ratio value to be? (anova/Fstat)
if the among group variance value is= to within group variance value
then the ratio would have to =1
what are the 3 assumptions for parametric test
-sampling independence
- homogeneity of variance
- normally distributed variance
Sampling independence
Observations in each group are randomly and independently from the population (aka no bias)
every individual within a defined population has an equal chance of being selected to be in a sample every time an observation is made.
Normally distributed variance
observations are normally distributed around the groups/samples mean
Note: if the distribution is skewed then it inflates the within the group variance which will mess up f-statistic
is a multimodal distribution meet the normal distributed variance? can u change it to met this assumption?
no because the multimodality is treated like single group/sample when in actuality it is more than one group.
yes you can split the data to make them all unimodal.
Homogeneity of variance (homoscedasticity)
the different groups have similar dispersion
the variance between the different groups need to be similar too each other
(group variance need to have a similar wideness)