bayesian statistics Flashcards

Bayes theorem, posteriors, likelihoods, priors, Bayesian inferential tests, Bayes factor, evidence for H0, frequentists, credible intervals, comparison (25 cards)

1
Q

who was Thomas Bayes?

A

1702-1761

statistician, philosopher and minister

formalised that intuition into some equation

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

what was Bayes theorem?

A

our perceived probability that something is true depends on the data about it as well as our previous expectations

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

what aspects of science has Bayes theorem become hugely important for?

A

engineering (signal detection theory)

computing (spam filter)

statistics (Bayesian inference)

human decision-making (are we good Bayesians?)

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

what is Bayes formula?

A

p(hypo|data) =

p(D|H) x p(H)
/
p(D)

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

what is the posterior probability?

A

p(H|D)

probability that H is true

after seeing the evidence

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

what is the likelihood?

A

p(D|H) / p(D)

evidence coming from the data

the likelihood of these data coming from H

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

what is the prior?

A

p(H)

probability of the theory

before seeing the evidence

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

what does it mean when p(D|H) is big?

A

data more likely to occur when hypothesis true

want that to be big number to generate a large posterior probability

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

what does it mean when p(D) is big?

A

data is likely to look like this whether or not hypothesis is true

if big, data isn’t giving much evidence for/against hypothesis

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

what is a point of debate for Bayesian theory?

A

when something is surprising, we intuitively require better evidence to believe it

do you think we should base our stats tests to include our priors (aka beliefs)?

does that make use less ready to reject things where the evidence doesn’t agree?

or is it obvious, and human nature - are we just Bayesian creatures?

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

what is Null Hypothesis Significance Testing (NHST)?

A

calculate the likelihood of this data when null is H0

we reject H0 only if there’s a good reason to do so

failing to reject H0 doesn’t mean it was more likely than H1

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

what are Bayesian inferential tests?

A

calculate the probability of H1 and H0 given data (with or without informative priors)

calculate the ratio of these probabilities, the Bayes Factor (BF)

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

who created the Bayes Factor and when?

A

Harold Jeffreys

1961

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

how is BF usually donoted?

A

K

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

what is K?

A

Bayesian equivalent of p-value

K = p(H1) / p(H0)

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

when is K small?

A

if H0 more likely

17
Q

when K large?

A

if H1 more likely

18
Q

what is BF?

A

operate in both directions (can suggest evidence for H0 rather than stacking the odds in favour of H1)

19
Q

what are BF categories?

A

0.0 - 1/3 = evidence for H0

1/3 - 3 = not much evidence for anything

3 = evidence for theory

20
Q

what is H0 in NHST?

A

always designed to be null effect

no difference, no relationship

21
Q

what is H0 in Bayesian stats?

A

not necessarily the null hypothesis

can be other hypothesis (often referred to as M1/M2 rather than H0/H1)

often is null effect (are conditions the same) that we want to know about

mathematically Bayes factors can provide support for the null

22
Q

what do we need to say two things are the same?

A

what level of tolerance

Bayes tests can handle

23
Q

what are frequentists?

A

Bayesians refer to traditional stats or statisticians as “frequentists” because of logic of p value

p only tells you how “frequent” this data would be assuming H0 is true and you ran many studies

like to point out isn’t the same as telling us how likely original hypotheses are

24
Q

what are credible intervals?

A

Bayesian equivalent of confidence intervals

25
what are the key differences between traditional statistics and Bayesian statistics?
can also incorporate a prior knowledge explicitly in the test (but often used with a "flat" prior) balanced test of whether H0/H1 is more likely rather than assuming H0 unless confident about H1 can use any hypothesis as H0 (not necessarily the no-difference hypothesis) philosophically a better fit with what statistics aims to do