WP 4 Statistics - The p value and Basic statistical tests Flashcards
to chose a test we must ask
how many samples (how many groups do we have)
how big is the sample
what type of data
is the data parametric
what is parametric data
normally distributed
equal variances
no extreme scores
main parameters…. mean and sd
equal sample size usually means
equal variance
methods of comparing 2 samples (one person can either be in group A or B , not both)
SCALE
parametric
non-parametric
independent t test (compares mean of each group)
mann whitney U test (compare median of each group)
methods of comparing 2 samples
ordinal
any sample size
mann whitney U test (compares median of each group)
methods of comparing 2 samples
nominal
large sample , most expected frequency > 5
small sample
- chi-squared test or fishers exact (2x2) (compares proportions in each category)
- reduce number of catergories (compares ‘’)
Methods for differences in one or paired sample :SCALE
parametric
non parametric
- pair t test (comparing means of differences in the sample)
- Wilcoxon (comparing ranks of differences)
Methods for differences in one or paired sample : ordinal
any
sign test (comparing larger /smaller /same)
Methods for differences in one or paired sample : nominal
any
McNemar’s test (comparing marginal probabilities)
t-distribution
when do we use
n < 60
comparing the mean values of a variable in different groups.
Paired tests
repeated measures on THE SAME PATIENT eg before and after
An example of a within group study
You are looking for the mean of the differences
more powerful than
Independent sample t-test
Two separate/independent groups (one group control and other…)
An example of a between groups study
You are looking for the difference between the means.
P-values
H0 means that
no difference between the means of the two samples (t-test)
but when run tests we will find a difference between the means
p-values
what caused the difference
random chance
real effect
p value defintion
probability that our results came about by random chance,
given that the null hypothesis is true.