Lecture 8 Flashcards

Analytical Statistical Assessment in R

1
Q

What is the goal of data analysis?

A

To understand underlying processes and find meaningful associations between variables.

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

What are some reasons for misleading associations in data analysis?

A

Not robust, Reverse causation, Common cause, Indirect effect, Common consequence.

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

What is the multiple testing problem?

A

Running many tests increases false positives.

Example: 100 million tests can lead to 5 million false positives at p ≤ 0.05.

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

When is the binomial test used?

A

When testing proportions for a binary outcome (e.g., coin tosses).

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

What is the null hypothesis in a coin toss experiment?

A

The coin is fair: H0:p=0.5.

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

How do you perform a binomial test in R?

A

binom.test(10, 12, p = 0.5, alternative = “two.sided”).

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

What is a contingency table used for?

A

To summarize frequencies of two categorical (binary) variables.

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

What is Fisher’s Exact Test?

A

A test for small sample sizes in contingency tables to determine association.

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

How do you run Fisher’s Exact Test in R?

A

cont_tab <- matrix(c(10, 20, 10, 70), nrow=2)
fisher.test(cont_tab, alternative = “greater”)

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