Understanding Chance Flashcards

1
Q

The probability of something:

A

P(Event) = 1 − P(Complement event)

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

Conditional probability

A

the chance that a certain event (1) occurs, given another event (2) has occurred.
* P(Event 1|Event 2)

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

Multiplication Rule

A

The probability that two events occur is the chance of the 1st event multiplied by the chance of the 2nd event, given the 1st has occurred.
* P(Event1 and Event2) = P(Event1) × P(Event2 | Event1)

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

Addition Rule

A

The probability at least one of two events occurs is the chance of the 1st event plus the chance of the 2nd event minus the probability that both events occur.
* P(Event1 or Event2) = P(Event1) + P(Event2) − P(Event1 and Event2)

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

Mutually exclusive

A

Two events are mutually exclusive when the occurrence of one event prevents the occurence of the other.

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

Independence

A

Two events are independent if the chance of the 1st given the 2nd is the same as the 1st, i.e.
* P(Event 1 | Event 2) = P(Event 1)

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

Prosecutor’s fallacy

A

it is assumed that the probability of a random match is equal to the probability that the defendant is innocent.
* P(A⼁B) = P(B⼁A)

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

Drawing randomly with replacement ensures…

A

independence

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

Drawing randomly without replacement implies…

A

dependence

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

Probability of paths can be added because…

A

events are mutually exclusive (if you throw (1,5) you can’t have thrown (2,4) at the same time)

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

sample()

A

draws random samples from a collection of objects that you tell R
sample( # we want: # of possible, size = # , replace = T)

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

replicate

A

replicate( how many times, function() )

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

function()

A

list of commands that you use to define a particular function

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