t-tests Flashcards

1
Q

Difference between descriptive and inferential statistics

A

Descriptive statistics presents findings (graphs)

inferential statistics make predictions (hypothesis testing, ANOVA, etc)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is Null Hypothesis Significance Testing (NHST)

A
  • Null hypothesis (H₀) is implied
    -no findings = no effect
  • Alternative hypothesis (H₁) is suggested, which implies an effect
    -based on research
    -either 1 or 2 tailed

Null hypothesis can ONLY be rejected if SIGNIFICANT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What do p-values do

A

Denote significance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What’s the meaning of p-value < 0.05?

A

Reject null hypothesis

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What’s up if p-value > 0.05?

A

Fail to reject null hypothesis

picky wording, effect might still exist. just not proven in this study

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What do t-tests do

A
  • Compare two (2) means

-sees if they’re significantly different from each other

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does this R code run

t.test(DV ~ IV, data = df, var.equal = FALSE)

Bold should be replaced to actual variable names

eg sleep, drink, mydata

A

R code to run a t-test (specifically independent)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does this R code run

1 mydata %>%
2 cohens_d(DV ~ IV, var.equal = FALSE)

Bold should be replaced to actual variable names

eg sleep, drink, mydata

A

R code to run cohen’s d (specifically for independent t test)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does this R code run

hist(df$DV[df$IV == “group name”])

Bold should be replaced to actual variable names

eg sleep, drink, mydata, water

A

R code to create a histogram

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Wtf is this

A

Code for Shapiro-Wilk test

Checks if shit is normally distributed or not

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

what is this

A

R code for repeated measures t test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what the schlawg is this

A

cohen’s d for repeated t test

specifically repeated

note the: paired = TRUE

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What the hell

A

how to run a one sample t-test

How well did you know this?
1
Not at all
2
3
4
5
Perfectly