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)