Distributions, assumptions and statistical tests

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/10

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

11 Terms

1
New cards

H

distribution of data deviates from normality

2
New cards

H0

distribution of data statistically indistinguishable from normality

3
New cards

Test whether data normally distributed

shapiro.test(dataframe[dataframe$anothercolumnname==”rowname"]$columnname)

4
New cards

Example: shapiro test for

shapiro.test(penguins[penguins$species==”Gentoo”,]$body_mass)

5
New cards

Reject null hypothesis

p-value < 0.05

6
New cards

Fail to rejcet null hypothesis

p-value > 0.05

7
New cards

Non-parametric test

wilcox.test()

8
New cards

Example: Wilcox test for body mass of famle and female penguins

wilcox.test(penguins[penguins$sex==”male”,]$body_mass ,penguins[penguins$sex==”female”,]$body_mass)

9
New cards

Modelling relationships between columns of data

mymodel<- lm(dataframe$columnname~dataframe$anothercolumnname)

10
New cards

Example of modelling: flipper length and body mass of penguins

mymodel<- lm(penguins$flipper_length~penguins$body_mass)

11
New cards

Adding a line into a plot with the estimated coefficients of the model

abline(mymodel)