I have 100 items of a product in stock. The probability mass function for the product's demand D is P(D=90)=P(D=100)=P(D=110)=1/3
a) find the mass function, mean and variance of the number of items sold.
b) find the mass function, mean, and variance of the amount of demand that will be unfilled because of the lack of stock.
Please See Attached
Let p be the probability that we pick a heart card. Then q=1-p is the probability we pick a non-heart card.
Since we return the card every time to the deck before we draw the next one, the probability to pick a hear each time is p=1/4 and therefore q=1-p=3/4
The probability to have exactly n hearts out of 5 in one configuration is
Since order is not important (we don't care which cards out of the 5 are hearts) The number of different configurations for a certain number of hearts cards in the group is the Binomial coefficient:
Then, the probability to have exactly n heart cards in any group of five cards, regardless of order is:
Thus we can write a little distribution table:
n P(n) Xn Payoff
Note that as expected:
The mean (expected value) of the payoff is:
The variance is:
The density function is:
This function tells us what is the probability that the random variable X attains a certain value between 0 and 4.
Since the random variable must attain some (any) value between 0 and 4, when we add all the probabilities for this to happen we must obtain 1.
In continuous system the summation over all probabilities turns into and integral:
In our case this gives:
The probability problems including continuous random variables are examined.