<< Chapter < Page | Chapter >> Page > |
The previous procedure first obtained all minterm probabilities, then used these to determine probabilities for the target combinations. The following procedure does notrequire calculation of the minterm probabilities. Sometimes the data are not sufficient to calculate all minterm probabilities, yet are sufficient to allow determination of the targetprobabilities.
Suppose the data minterm vectors are linearly independent, and the target minterm vectors are linearly dependent upon the data vectors (i.e., the target vectors canbe expressed as linear combinations of the data vectors). Now each target probability is the same linear combination of the data probabilities. To determine the linearcombinations, solve the matrix equation
Then the matrix of target probabilities is given by . Continuing the MATLAB procedure above, we have:
>>CT = TV/DV;
>>tp = CT*DP'
tp = 0.5500
0.0500
The procedure mincalc performs calculations as in the preceding examples. The refinements consist of determining consistency and computability of various individual minterm probabilities and target probilities. The consistency checkis principally for negative minterm probabilities. The computability tests are tests for linear independence by means of calculation of ranks of variousmatrices. The procedure picks out the computable minterm probabilities and the computable target probabilities and calculates them.
To utilize the procedure, the problem must be formulated appropriately and precisely, as follows:
Computational note . In mincalc, it is necessary to turn the arrays DV and TV consisting of
zero-one patterns into zero-one matrices. This is accomplished for DV by theoperation
DV = ones(size(DV)).*DV
. and similarly for TV. Both the original and the
transformed matrices have the same zero-one pattern, but MATLAB interprets them differently.
Usual case
Ṡuppose the data minterm vectors are linearly independent and the target vectors are each linearly dependent on the data minterm vectors. Then each targetminterm vector is expressible as a linear combination of data minterm vectors. Thus, there is a matrix such that . MATLAB solves this with the command . The target probabilities are the same linear combinations of the data probabilities . These are obtained by the MATLAB operation .
Notification Switch
Would you like to follow the 'Applied probability' conversation and receive update notifications?