Random Variables Flashcards
Discrete Random variables
A random variable that can take on at most a countable number of possible values is said to be discrete
Expected Value
E[X] = ∑xip(xi) xp(x)
Var(X)
Var(X) = E[(X - µ)2]
Var(X) = E[X2] - (E[X])2
Bernoulli Random Variable
Random variable given by equation:
p(0) = P{X=0} = 1 - p
p(1) = P{X=1} = p
Poisson random variable
p(i) = e-λ * (λi)/i!
λ = np
E[X]
= ∑ xi.p(xi)
E[g(X)]
= ∑ g(xi).p(xi)
Corollary 4.1
If a and b are constants, then E[aX + b] = aE[X] + b
First moment of X
E[X] (the mean)
Nth moment of X
E[X^n], n ≥ 1
E[X^n]
∑ x^np(x)
E[X], where X is a binomial random variable with parameters n and p
E[x] = np
Var(X), where X is a binomial random variable with parameters n and p
Var(X) = np(1 - p)
Proposition 6.1
If X is a binomial random variable with parameters (n, p) where 0 < p < q, then as k goes from 0 to n, P{ X = k } first increases monotonically and then decreases monotonically, reaching its largest value when k is the largest integer less than or equal to (n + 1)p
Poisson distribution requirements
- Events are occurring independently - The probability that an event occurs in a given length of time does not change through time.
Variance for a poisson distribution
equals the mean/expected value = µ = λ
Geometric random variable
Suppose that independent trials, (each having a probability p, 0
<1, of being a success,) are performed until a success occurs. If we let X equal the number of trials, then: P{X = n} = p(1 - p)^(n-1), n = 1,2,…
Negative Binomial Random Variable
Suppose that independent trials are performed until a total of r successes is accumulated. If we let X equal the number of trials required, then: P{X = n} = (n-1)C(r-1) p^r(1 - p)^(n-r)
Requirements for the Negative Binomial Random Variable
- Independent trials - Each trial results one of 2 outcomes: success or failure - P(success) = p, this stays constant throughout - P(failure) = 1 - p - X represents the trial number of the rth success
Mean of a Negative Binomial Random Variable
µ = r/p
Variance of a negative binomial random variable
r(1 - p)/p^2