Discrete Random Variables Flashcards
What is a random variable?
A variable whose value is subject to variations due to chance. It can take a set of possible different values each with an associated probability.
Discrete vs continuous
Only a set number of obtainable values compared to continuous.
Properties of a valid probability distribution
All probabilities must be greater than or equal to 0
The sum of all probabilities must be equal to 1
Expectation of a random variable
Analogous to the mean
Sum of P(X=x) multiplied by x
Variance formula
E(X^2) - (E(X))^2
Expectation of X formula
1/2 n(n+1)
E(ax+b)=?
aE(X) + b
Variance of aX + b
Var(aX+b) = a^2 var(X)
If X and Y are two random variables, what is their expectation and variance?
- E(X+Y) = E(X) + E(Y)
- E(X-Y) = E(X) - E(Y)
- Var(X + or - Y) = Var(X) + Var(Y)
E(aX+bY)=?
aE(X) + bE(Y)
A random variable Y is said to be dependent on X if…
- the outcome of X affects the probability distribution of Y
Two random variables are independent if…
- the outcome of one variable does not affect the probability distribution of the other
If X and Y are independent events, go through the variance of X+Y
Var(X±Y) = var(X) + var(Y) ALWAYS PLUS
Var(aX±bY) = a^2var(X) + b^2var(Y)
E.g. var(2X) = 2^2var(X)
Var (X1+X2) = 2var(X) since X is distributed exactly the same