L5 part 2 - CT about Bayesian statistical inference Flashcards

1
Q

What is the Baysian analysis about?

A

Updating our beliefs that are in accordance with rules of probability
Applying the conditional formula and use it to combine prior beliefs with new evidence about the world
Picture 1
Bayesian inference is reallocation of credibility across possibilities. (this becomes clear over the next few flashcards)

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

What is possibility and credibility?

A

Possibilities - the range of potential outcomes (or hypotheses)
Credibility - the degree of belief assigned to these possibilities
E.g. (picture 2) in cluedo there are 3 possible murderers (possibilities) and the credibility is how likely each of these possibilities are to be the murderer (the height of the card)

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

How does the credibility change with new data being gathered?

A

In Bayesian analysis, we’re reallocating the credibility (degree of belief) based on new evidence that we obtained (found the murder weapon with Rosa’s fingerprints - so Rosa is now more likely to be the murderer than the others)
picture 3

The allocation of the degree of belief changes over the course of gathering data

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

How do we get from prior beliefs to posterior beliefs?

A

We apply the Bayes theorem
Picture 4

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

What is the formula of the Bayes theorem? And what does each part mean?

A

D = data; θ = parameter/hypothesis
P(θ|D) = (P(D|θ) * P(θ))/P(D)
P(θ) - Prior beliefs
P(D|θ) - The likelihood
P(D) = Marginal likelihood
P(θ|D) = Posterier beliefs

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

Which type of probability do we talk about in Bayesian stats?

From now on, I’m not gonna be writing in Bayesian stats, it always refer to it unless stated otherwise

A

Subjective probabilities - the degree to which we believe something to be true

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

What is the prior? How does it compare to frequentist statistics?

A

P(θ)
Our belief in a hypothesis (or parameter) before considering the data
In frequentist statistics this is what is missing and because the prior is a subjective probability, we now have the base rate of the hypothesis so now we can invert the conditional probabilities

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

What is the prior distribution?

A

The prior probability is a distribution of possibilities so prior distribution represnts plausability (credibility) of values

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

What are the two types of prior distribution?

A
  1. Informative - narrows down our beliefs
    ↪ the peak indicates the value that we deem to be the most likely one and the tails represent values with low probability
  2. Uninformative - believe all possible outcomes with equal probability (you basically have no idea or don’t want to risk betting on one specific value)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the likelihood?

A

P(D|θ)
It’s the probability that the observed data could be produced given the hypothesis or model being considered
E.g. let’s say we find a bloody bow tie. How likely am I to find a bloody bow tie given the different possibilities of murderers? Professor pimple wears a bow tie everyday and the other two don’t. If Professor Pimple was the murderer, it would be more likely for us to find a bloody bow tie than if any of the others were the murderer. So the possibility of Professor being the murderer gains more credibility
Picture 5

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

What is the likelihood function?

A

It gives the distribution of the likelihood over the full range of possible parameter values

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

What is the posterior probability?

A

P(θ|D) - probability of our hypothesis given the data
It’s our belief in a hypothesis (or parameter) after we have considered the data
E.g. We started our with our prior belief that all of the possibilities (suspects) are equally likely to be the murderer. We collected data (bloody bow tie) and we looked at how predictive are these different models (hypotheses/suspects) of finding that data. We use this evidence to update our prior beliefs and get our posterior beliefs (displayed in a posterior distribution of the credibility of each possibility)
picture 7

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

How does our posterior distribution change depending on our prior?

A
  • if prior is uninformative - posterior heavily influenced by the data (data has a lot of scope to shape our posterior)
  • If the prior is strongly informative then the data will influence the posterior less (the data are working agains our prior or will reinforce the prior even more if the data are consistent with our prior)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What relationship do posterior and prior * likelihood have?

A

P(θ|D) is proportional to P(D|θ) * P(θ)
So my degree of belief that professor Pimple is the killer, given that we found a bloody bowtie, is proportional to the probability of finding a bloody bowtie given that Pimple is the killer and my a priori degree of belief that Pimple is the killer

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

What is the marginal likelihood?

A

P(D)
It’s the probability of the observed data, i.e. evidence, irrespective of what the hypothesis is Picture 6

  • So we take into consideration any hypothesis there could be
  • We look at the ration of how much more predictive of the data is the assumption of the specific hypothesis (θ) over any other assumptions that we could make? picture 9
  • This gives is the bayes factor
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the Bayes factor?

A
  • It reflects a likelihood ratio: so how much more probable is the data given one paramater compared to the other?
  • This enables us to quantify evidence for or against a hypothesis
  • Useful when testing hypotheses
  • Picture 10