W3(2) Flashcards

(34 cards)

1
Q

What is the goal in a paired sample t-test?

A

To see if there’s a significant difference in the same group at different times or under different conditions.

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

What is another example of using a paired t-test?

A

Comparing satisfaction with the company vs. satisfaction with the department — same participants, different variables.

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

What is an independent sample t-test used for?

A

To compare mean scores of two different groups of people on the same metric.

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

What’s the difference between paired and independent t-tests?

A

Paired: same people, 2 times; Independent: different groups of people.

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

What are the hypotheses for an independent t-test?

A

H0: Mean difference = 0, H1: Mean difference ≠ 0 (or greater than / less than)

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

What assumptions do we need for this test?

A

The variable should be normally distributed and we test for equal variances.

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

What test checks if variances are equal?

A

Levene’s Test.

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

What happens if Levene’s Test is significant?

A

Variances are unequal — use Welch t-test.

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

What if Levene’s Test is not significant?

A

Variances are equal — use 2 sample t-test.

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

Give an example scenario for an independent t-test.

A

Comparing if seeing a cynical humour ad affects attitudes toward Colgate vs. a group that didn’t see the ad.

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

What does the R function for Welch look like?

A

t.test(df$Attitude_Colgate ~ factor(df$group)) if unequal variances.

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

What does a significant p-value mean in an independent t-test?

A

That there is a statistically significant difference between the two groups.

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

What if the result is opposite to the hypothesis?

A

reject null, fail to reject alternative hypothesis

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

When do you use a one-sided t-test?

A

If you expect the difference to be in one direction (e.g., one group will have higher scores than the other).

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

What is the purpose of a one-way ANOVA?

A

To compare mean scores of more than 2 different groups of people or conditions on a particular metric.

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

What assumptions must be met for ANOVA?

A

Variables must be normally distributed.

17
Q

What is the hypothesis for one-way ANOVA?

A

H0: Means of all groups are equal, H1: At least one group mean is different

18
Q

How do we interpret variance in ANOVA?

A

If group means are close (low between-group variance), F is low. If group means are far apart (high between-group variance), F is higher.

19
Q

Give a practical example of using ANOVA.

A

A manager tests whether 3 training levels (beginner, intermediate, advanced) affect how fast employees solve a problem.

20
Q

What do we do after a significant ANOVA result?

A

Use Tukey HSD to see which groups actually differ.

21
Q

What does the Tukey HSD test do?

A

It compares all possible group pairs to tell us which specific group differences are significant.

22
Q

How do you interpret p-values in Tukey HSD output?

A

If p adj < 0.05, the groups are significantly different. If p adj > 0.05, they are not.

23
Q

What did the Tukey test show in the training example?

A

Beginners took significantly longer than advanced. Intermediate and advanced were not significantly different.

24
Q

What does correlation analysis measure?

A

The direction and strength of the linear relationship between two numerical paired values.

25
What is Pearson’s Sample Correlation Coefficient (r)?
A number from -1 to 1 that indicates how strong and in what direction two variables are related.
26
What does a positive or negative r mean?
Positive: as one goes up, so does the other. Negative: as one goes up, the other goes down.
27
What does a horizontal scatter plot indicate?
No correlation — r is close to 0.
28
Why does correlation ≠ causation?
Two things can move together without one causing the other (e.g., a third variable might be influencing both).
29
How do you test correlation significance in R?
Use the function cor.test(variable1, variable2) and look at the p-value.
30
What’s a spurious correlation?
A correlation that appears to exist due to an unmeasured third variable (e.g., age affecting both irritation and viewing time).
31
What is partial correlation?
It measures the association between 2 variables while controlling for 1 or more other variables.
32
How do you run a partial correlation test in R?
Use pcor.test(var1, var2, controlVar) from the ppcor package.
33
What does a partial correlation result tell us?
Whether the relationship between 2 variables remains significant after accounting for the third.
34
What happened in the ad irritation example?
When controlling for age, the correlation between viewing time and irritation disappeared — it was a spurious correlation.