R Statistical Tests Flashcards
t.test()
compares two groups, continuous, assumes normally distributed, equal variance,
wilcox.test()
compares two groups, continuous, non-parametric, based off ranks
lm() or aov()
compare 2+ groups, continuous, normal distribution and equal variance, parametric
kruskal.test()
compare 2+ groups, continuous, nonparametric, based off ranks
chisq.test()
compares tabular data, discrete (integer), numbers are independent, 5 or more better
fisher.test()
compares tabular data, discrete (integer), numbers are independent, less than 5 better
lm()
variable correlation, regression, continuous, relationships are linear, parametric
nls()
variable correlation, non-linear, continuous, parametric
glm()
compare 2+ groups, regression, flexible, combining different types of data