Comparison of continuous variables between two groups Flashcards

1
Q

What does it mean for a sample to be independent?

A

A sample is independent if the elements (e.g. people) are drawn/sampled such that the inclusion of one observation and outcome does not affect the inclusion of another or its outcome

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

What does paired data mean?

A

Matched/paired samples
May be repeated observation of the same person Measurements over time: paired data

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

What does no effect mean?

A

Often considered as no difference between the groups

Hence, a statistically significant result implies a difference

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

What are the first things to do when I have a data?

A

Simple summaries and checks:
Before beginning any rigorous analysis always check the data Spot issues in the data
Identify potential violations of assumptions
Check you have the data you think you have
Check if you have more data, which may affect your question

Pictures:
Plots are important for investigating data and presenting findings
Can also be useful for spotting data issues

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

What re the assumptions leading to a t-test?

A

Comparing means of two populations using two samples - one from each population

Assumptions:
-Known (z-test) or unknown (t-test) population variances?
-For unpaired samples, and if unknown population variances, are they equal (equal/unequal)?
-Normally distributed continuous outcomes
-Observations within each population are independent
-Are observations between populations independent (unpaired) or dependent (paired)?

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

What are two estimators of test statistic? And when should they be used?

A

-Satterthwaite’s approximation
-Welchs approximation

When to use either approximation? Further assumptions and technical details. Both are only valid for sufficiently large sample sizes (in total or per group?)

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

Which summary function naturally shows skewness and kurtosis?

A

describeBy

Have to load “psych”, using library function

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

What is a box plot good for?

A

Box plots are used to show distributions of numeric data values, especially when you want to compare them between multiple groups.

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

What do the Satterthwaite’s (Welch) variance look like?

A

Variance equal is false. Otherwise, R takes it as normal.

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

Paired data?

A

Must have equal number of observations in each sample Observations may be matched in a number of ways, depending on the question

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

How to specify paired t-test in R?

A

Paired = True

Page 28 session 5 slide

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

What axis should the after data be in a paired t-test?

A

Y-axis

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