Non-Uniform Bernoulli Trials Exceedance Probability (Scripts) Publisher's description
Calculates the probability of exceeding a given number of hits for a collection of Bernoulli trials, which is a test with a binary result
Calculates the probability of exceeding a given number of hits for a collection of Bernoulli trials, which is a test with a binary result (e.g. yes/no, 1/0, heads/tails). User inputs a vector of probabilities of success for each trial, p, and a number of successes, h, and this function outputs the probability of equaling or exceeding h.
There is a 30% chance of rain Saturday, and 20% Sunday. What is the
probability that it rains this weekend?
Which is reasonably close to the theoretical value of .44. Increasing the number of runs improves the accuracy:
System Requirements:MATLAB 7.5 (R2007b)
Program Release Status: New Release
Program Install Support: Install and Uninstall