Probability Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what’s the complement rule?

A

P(A) = 1 - P(not A)

P(not A) = 1 - P(A)

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

what’s the probability of both A and B occurring?

A

trick question!

If A and B are not independent:
P(A and B) = P(A|B)P(B) = P(B|A)P(A)

and if they are independent:
P(A and B) = P(A)P(B)

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

what’s the probability of A or B occurring?

A

P(A or B) = P(A) + P(B) - P(A and B)

note that P(A and B) depends on whether A and B are independent

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

what’s the probability of A or B or both occurring?

A

if A and B are not independent:
P(A or B or (A and B)) = P(A) + P(B) + P(A|B)P(A) = P(A) + P(B) + P(B|A)P(B)

If A and B are independent:
P(A or B or (A and B)) = P(A) + P(B) + P(A)P(B)

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

If A and B are mutually exclusive, then…

A

P(A and B) = 0

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

If we have n elements, how many ways can we arrange them?

A

n!

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

how many ways can we choose k elements from a set of n?

A

n! / (n-k)!

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

the p-value is the probability of obtaining the data at least as extreme as observed if the null hypothesis is ______

A

true

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

what’s the null hypothesis in linear regression?

A

that the feature has no relationship with the target (that its coefficient is 0)

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

expand P(A|B)

A

P(A|B) = P(A and B)/P(B)

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

generally, or means ___ in probability

A

addition

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

generally, and means ___ in probability

A

multiplication

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