Discrete uniform and binomial distribution functions
Example 1: Calculating probabilities for discrete uniform distribution |
The throwing of a dice follows a discrete uniform distribution with the outcomes ranging from 1 to 6. Calculate the following for the random variable: |
Example 2: Calculating probabilities for binomial distribution |
The returns on a stock are following a binomial distribution. The results will either be positive or negative. The probability of positive result in each period is 0.60. Calculate the following for the binomial random variable for a total of five trials: The probability that the result will be negative = 1-0.6 = 0.4. (a) The probability that the result will be positive for at least 3 times = Exact probability for three positive results + Exact probability for four positive results + Exact probability for five positive results = 1 - (Exact probability of zero positive result + Exact probability of one positive result - Exact probability of two positive results ) = 5C3(0.6)3(0.4)2 + 5C4(0.6)4(0.4)1 + 5C5(0.6)5(0.4)0 = 0.68256. (b) The probability that the result will be positive for at most 4 times = Exact probability of zero positive result + Exact probability for one positive result + Exact probability for two positive results + Exact probability for three positive results + Exact probability for four positive results = 1 - Exact probability of five positive results = 1 - 5C5(0.6)5(0.4)0 = 1 - 0.07776 = 0.92224. (c) The probability that the result will be positive for exactly two times = 5C2(0.6)2(0.4)3 = 0.2304. (d) The expected value of positive result = np = 5*0.6 = 3. (e) The variance of the random variable = np(1-p) = 5(0.6)(0.4) = 1.2. |
Previous LOS: Probabilities of a random variable given its cumulative distribution function
Next LOS: Binomial tree to describe stock price movement