# Non-Uniform Bernoulli Trials Exceedance Probability (Scripts) 1.0

Average Rating
User Rating:
Visitors Rating:
My rating:

• Last update: 5 years ago
• Operating system: Linux, Mac OS X, Win All, BSD, Solaris
• Publisher: William (1 other programs)
See full specifications

## 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.

Example:
There is a 30% chance of rain Saturday, and 20% Sunday. What is the
probability that it rains this weekend?

monte_exceedance([.3; .2],1)

ans =
0.4431

Which is reasonably close to the theoretical value of .44. Increasing the number of runs improves the accuracy:

monte_exceedance([.3; .2],1,100000)

ans =
0.4407

#### System Requirements:

MATLAB 7.5 (R2007b)
Program Release Status: New Release
Program Install Support: Install and Uninstall

#### Non-Uniform Bernoulli Trials Exceedance Probability (Scripts) Tags:

Click on a tag to find related softwares

## Most Popular

ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation 1.1
ASK, OOK, FSK, BPSK, QPSK, 8PSK modulation contain several functions for digital modulation simulation