Topic 4 - Discrete Random Variables Flashcards
What is P(X = x) formally known as
- Probability distribution function or probability mass function
What does the probability distribution/mass function show
- The probabilities for all the possible outcomes
- Can be shown algebraically, graphically or in a table
What is E(x) for a discrete random variable
- sum of x * P(x)
What is the cumulative distribution function denoted as
- F(x0)
- P(X <= x0)
What is the variance for a discrete random variable
- E(X - mu)^2 = sum of (x - mu)^2 * P(x)
What is the standard deviation of a discrete random variable
- sqrt of sum of (x - mu)^2 * P(x)
What are E(a) and Var(a) equivalent to
- E(a) = a
- Var(a) = 0
What are E(bX) and Var(bX) equivalent to
- E(bX) = b * E(X)
- Var(bX) = b^2 * Var(X)
If Y = a + bX what are E(Y) and Var(Y) equivalent to
- E(a + bX) = b * E(X) + a
- Var(a + bX) = b^2 * Var(X)
What is a bernoulli distribution
- A bernoulli random variable X can be thought of as an indicator of success taking two values
- X = 1, succes, X = 0 if failure
When is a random variable said to have a bernoulli distribution
- if P(X = 1) = p and P(X = 0) = 1-p
What is E(X) and Var(X) for a bernoulli distribution
- E(X) = p
- Var(X) = p(1 - p)
What is the binomial distribution formula
- P(X = k) = n! / k!(n-k)! * p^k * (1-p)^n-k
How is the binomial distribution denoted
- Bin(n,p)
What does the binomial distribution look like to be considered a bernoulli distribution
- Bin(1,p)
What is E(X) and Var(X) of a binomial distribution
- E(X) = np
- Var(X) = np(1-p)
When would a poisson distribution be used
- Where we are counting the number of success in a particular space or interval of time
What are the 4 assumptions of a poisson distribution
- An event can occur any number of times in a given time period
- The probability of an event occuring is proportional to the length of the time period
- The rate of occurance is constant
- Events occur independently
What is the poisson distribution formula
- P(X = k) = e^-λ * λ^k / k!
What is lamda in a poisson distribution
- A constant that specifies the the average of occurances for a particular time/space
What is E(X) and Var(X) for a poisson distribution
- E(X) = λ
- Var(X) = λ
How is the poisson distribution denoted
- Po(λ)
What is the general rule for a poisson rule when changing time intervals
- if X ~ Po(λ) on 1 unit interval then Y ~ Po(kλ) on k unit intervals
When can the poisson distriubtion be used to approximate binomial probabilities
- When the number of trials n is large
- When the probability p is small
- When np is moderate (preferably np <= 7)