11- bayesian networks and causality Flashcards

1
Q

Bayesian Network defintion

A
  • A graphical model that encodes probabilistic relationships among variables of interest
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How are Bayesian networks represented?

A

Direct acyclic graph (DAG)

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

Bayesian network example in medicine

A

Vars:
- F (whether patient has flu)
- T (fever whether they have it)
- C (Cough)

Probabilities:
- P(T) probability of having fever
- P(T|F) prob of having fever given flu
- P(T|¬F) prob of fever without flu
- P(C|F): of cough given flu
- P(C|¬F) of cough without flu

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

BAyesian student example

A

Vars:
- Difficulty D
- Ability A
- Grade G

Prob:
- P(D) test being difficult
- P(A) of student being prepared
- P(G|D,A) of getting a grade given the difficulty and ability

DAG:
D->G and A->G

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

What can we do with Bayesian networks

A
  • Joe Bob got a bad grade but good student. Exam hard
  • Jane got top marks from uni. talented

These are used to say
- difficult exam, wont choose
- talented, get hired

Are they valid/trustworthy conclusions.

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

With the student performance model, what do we assume?

A
  • Grade G depends on difficulty D and ability A
  • D and A are independent of each other i.e P(D|A) = P(D), P(A|D) = P(A)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Student example, what do we know?

A
  • Prior probabilites from previous years.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Student example, what are we trying to find?

A

Posterior probabilites
- P(D|G) how difficult is the exame based on grade.
- P(A|G) what is the student’s capability based on grade

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

Student example, how d we find the probabillity that the student has a high ability given a certain mark?

A

Bayes Theorem.

  • P(A|G)=P(G|A)P(A)/P(G)
  • Note that the probability increases as P(G) decreases and P(A) increases)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In Bayesian net A -> B -> C is equivalent to…

A

C -> B -> A

Not speculating on whether one thing is causing another to happen

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

Causal network

A

Like a bayesian network, but the edges represent “causation”

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

Confounders

A

Variable that indluences both independent variable (exposure) and the dependent variable (outcome.

Can create a spurious association between exposure and outcome, making it difficult to discern the true causal relationship

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

Confounders in exam results

A

Family support is a confounding factor as it effects both motivation and grade.

Same with Study Habits as it affects both class participation and grade

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

Colliders

A

Multiple variables go into one

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

Colliders problem in relation to the exam results problem (consider Sleep Quality and Study Habits)

A

grade is a collider with SQ and SH

  • Partition students by grades
  • It is possible that students with good grades have both high sleep qual and study habits, and in reverse.
  • It might appear that there is a correlation but there is no causal link between the two (SQ and SH)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Interventions

A

Actively manipulating a variable to observe effects on other varibles.

Notation: do operator do(X=x) X is set to a val x by ext. manipulation

Effect: break any incoming edges to X in causal graph and set X to x. Allows us to observe effect ofX on others