Bayes theorem Flashcards

1
Q

Conditional probability, what is the formula? Pr(E|F)

A

Probability of E and F dividuded by the probability of F

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

What do we mean by partition

A

Something which satisfies the following requirments:

  1. Events are disjointed – no overlap
  2. If you combine all events together using the union – that gives us back the full sample space
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is partition used for

A

Partition is needed for the law of total probability

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

What is the law of total probability

A

Used if we have a series of events that form a partition (e1, e2, e3…eN) and an event F that happens across these events. Then we can use the law of total probability to decode the probability of F.

Useful when you dont kmow the Pr(F) but know the conditional probabilities of F given Ei

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

What does law of total probability help us achieve?

A

Helps us know the probability of an event, that happens among other events that form a partition.

Uses both conditional probability and partition to achieve this.

-Uses condiitional probability to find the Pr(F|Ei)
-Then uses partition to sum these up –> get the probability of Pr(F)

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

Explain how bayes theorem is built on conditional probability

A

We can determine the probability of B given A using conditional probability.

Bayes theorem allows us to determine the reversed probability, A given B.

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

Exaplain how basyes theorem uses the law of total probability

A

The denominator for bayes is the probability of the given event occuring as a whole. If the probability for that event is only known via conditional probabilities with other events that form a partition we can determine the probability of the unique event using the the law of total probability.

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

Formula for partition

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

Formula for bayes theorem

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

Do y ou need partition to use bayes theorem

A

yes

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

What is the likelihood function

A

-You have some data (random variables) that depend on a parameter.
- You assume this data follows some probability model—a mathematical rule that
describes how likely different outcomes are.
- You observe some actual data points (real values from this model).
- The likelihood function is just the joint probability (or density) of all these observations, but viewed as a function of the parameter.

Basically its the joint distribution of random variables

The likelihood function if f(X| theta) viewed as a function of theta

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

What is the joing pdf of random variables X and Y where both are random variables?

A

f(x, y) = fx(x)fy(y)

because theyre independent you can get the joint pdf by multiplying the each pdf together

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

Why is it important to have independent observations in a sample

A

Because the likelihood function, computing the joint pdf of all observations assumes observatiosn are independent. It gives us the best estimate for unknown parameter when we have independence.

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

What is a probability model

A

a parametric family of distributions

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

What is the first step of statistical inference

A

Specifying the probability model, Need to specify what distribution the data comes from

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

How does the joint probability change if your data is continuous or discrete

A

The joint probability model will either be continuous (PDF) or discrete (PMF)

17
Q

What is the diffference between the joint distribution of the below data and the likelihood function of it

18
Q

How do you compute the likelihood function of f(X|theta) ?

A

Depends on the probability model you assume for your data/observation and if your data is independent