Statistics 1 - Discrete random variables Flashcards
What is a random variable?
A variable whose value depends on a random event.
What is a discrete variable?
A variable that can only take certain numerical values.
How can the expected value of a discrete random variable be discerned?
Take a set of observations from a discrete random variable. Then find the mean of those observations. As the number of observations increases, the mean of the observations will get closer to the expected value of the discrete random variable. As such the expected value is sometimes referred to as the mean and denoted as ΞΌ.
How can the expected value of a discrete random variable, X, be calculated?
E(π)=Ξ£xP(π=π₯) Where E(π) is the expected value and π₯P(π=π₯) is the value of π₯ multiplied by the probability of the variable π taking the value π₯.
How can the expected value of XΒ² be calculated, where X is a discrete random variable?
If π is a discrete random variable then so too is πΒ², thus; E(πΒ²)=Ξ£xΒ²P(π=π₯) Where E(π) is the expected value and π₯P(π=π₯) is the value of π₯ multiplied by the probability of the variable π taking the value π₯.
How can the variance of a discrete random variable, X, be calculated?
Var(π)=E((π-E(π))Β²)=E(πΒ²)-(E(π))Β² Where Var(π) is the variance of π, E(π) is the expected value and E(πΒ²) is the expected value of πΒ².
How would the expected value of a function of X be calculated?
Generally; E(g(π))=Ξ£g(π₯)P(π=π₯)
As such the following rules are true;
If π is a random variable and a and b are constants, then E(ππ+π)=πE(π)+π
How would the variance of a function of X be calculated?
If π and π are random variables, then E(π+π)=E(π)+E(π)
If π is a random variable and π and π are constants then Var(ππ+π)=πΒ²Var(π)