<< Chapter < Page Chapter >> Page >
In the independent case, we may calculate all minterm probabilities from the probabilities of the basic events. These calculations are straightforward, but may be tedious and subject to errors. An m-function minprob calculates all minterm probabilities from the probabilities of the basic or generating sets. To arrange these as on a minterm map, m-function minmap reshapes the row matrix pm. When minterm probabilities are available, m-function ikn(P,k) calculates individual probabilities and ckn(P,k) calculates the probabilities that k or more occur. These provide the basis of a variety of useful calculations. The m-function imintest checks a vector of minterm probabilities for feasible size, determines the number of variables, and performs a check for independence.As in the nonindependent case, we may utilize the minterm expansion and the minterm probabilities to calculate the probabilities of Boolean combinations of events. However,it is frequently more efficient to manipulate the expressions for the Boolean combination to be a disjoint union of intersections.Various Matlab calculations on independent Boolean combinations are readily performed.

Matlab and independent classes

In the unit on Minterms , we show how to use minterm probabilities and minterm vectors to calculate probabilities of Boolean combinations of events. In Independence of Events we show that in theindependent case, we may calculate all minterm probabilities from the probabilities of the basic events. While these calculations are straightforward, they may be tedious andsubject to errors. Fortunately, in this case we have an m-function minprob which calculates all minterm probabilities from the probabilities of the basic or generating sets. This function uses the m-function mintable to set upthe patterns of p 's and q 's for the various minterms and then takes the products to obtain the set of minterm probabilities.

>>pm = minprob(0.1*[4 7 6])pm = 0.0720 0.1080 0.1680 0.2520 0.0480 0.0720 0.1120 0.1680

It may be desirable to arrange these as on a minterm map. For this we have an m-function minmap which reshapes the row matrix p m , as follows:

>>t = minmap(pm) t = 0.0720 0.1680 0.0480 0.11200.1080 0.2520 0.0720 0.1680
Got questions? Get instant answers now!

Probability of occurrence of k of n independent events

In Example 2, we show how to use the m-functions mintable and csort to obtain the probability of the occurrence of k of n events, when minterm probabilities are available. In the case of an independent class, the minterm probabilities are calculated easilyby minprob, It is only necessary to specify the probabilities for the n basic events and the numbers k of events. The size of the class, hence the mintable, is determined, and the minterm probabilities are calculated by minprob. We have twouseful m-functions. If P is a matrix of the n individual event probabilities, and k is a matrix of integers less than or equal to n , then

function y = ikn ( P , k ) calculates individual probabilities that k of n occur

function y = ckn ( P , k ) calculates the probabilities that k or more occur

Questions & Answers

what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
cell is the building block of life.
Condoleezza Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Applied probability. OpenStax CNX. Aug 31, 2009 Download for free at http://cnx.org/content/col10708/1.6
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Applied probability' conversation and receive update notifications?

Ask