Probability Flashcards

Week 2.5, 2.6 (31 cards)

1
Q

define event

A

subset of the sample space

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

the 3 kolmogorov’s axioms

A
  1. P(A) >= 0 for any event A
  2. P(sample space) = 1
  3. if A1, A2, … are mutually exclusive then P(A1 u A2 u …) = P(A1) + P(A2) + …
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

mutually exclusive rule

A

P(A u B) = P(A) + P(N)

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

inclusion-exclusion principle

A

P(A u B) = P(A) + P(B) - P(A u B)

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

independent rule

A

P(A n B) = P(A).P(B)

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

rules with independence

A
  • do not say A & B are independent if A n B = no set
  • do not use rule unless it is given or you have valid justification for assuming A and B are independent
  • if A and B are independent then A and ¬B are independent, then ¬A and ¬B are independent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

bayes rule

A

P(A|B) = P(A n B)/P(B)
= P(B|A)P(A)/P(b)

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

total probability

A

P(B) = P(B n A1) + P(B n A2) + P(B n A3)
= P(B|A1).P(A1) + P(B|A2).P(A2) + P(B|A3).P(A3)

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

define random variables

A
  • usually denoted as X, Y, Z
  • is a function from a sample space to R
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

probability distribution

A

a description of the probability of all outcomes in the sample space

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

2 methods to describe probability distributions

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

examples of discrete probability distributions

A
  • table
  • probability mass function (PMF)
  • cummulative distributive function (CMF)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

examples of continuous probability distributions

A
  • probability density function
  • CDF
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

describe probability mass function

A
  • expressed as a table or a graph
  • all function values add up to 1
  • fx(x) = P(X = x)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

cummulative distribution functions

A

Fx(x) = P(X <= x)

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

functions of a random variable

A

if X is a discrete random variable, and g:R->R is any function, then Y = g(X) is also discrete random variable. its value is completely determined by X

18
Q

linearity of expectation

A

if x is a discrete random variable, and Y = aX + b, then R(Y) = aE(X) + b for some a, b

19
Q

law of the unconsious statistician

A

E(Y) = sum(g(x)fx(x))

20
Q

variance

A
  • Var(x) or o^2x
  • Var(ax + b) = a^2Var[x]
21
Q

expected value with variance

A
  • E[(x - ux)^2] - ux = E(x)
  • Var(x) = E[x^2] - (E[x])^2
22
Q

standard deviation formula

A

ox = root(o^2x) = root(Var(x))

23
Q

uniform distribution

A
  • X ~ Uniform(x)
  • if X is a discrete random variable that takes a value in finite set of consecutive integers and x takes each value with equal probability
24
Q

PMF in uniform distribution

A

P(X = x) = 1/|A|

25
expected value in uniform distribution
n + 1/2
26
bernoulli distribution
- X ~ Bernoulli(p) - p if x = 1 - 1 - p if x = 0
27
expected value in bernoulli distribution
E(X) = p
28
variance in bernoulli distribution
Var(x) = p(1-p)
29
binomial distribution
- X ~ Binomial(n, p) - fx(x) = (n x)^x(1 - p)^(n - x) if x >= 0
30
expected value in binomial distribution
E(x) = np
31
variance in binomial distribution
np(1 - p)