<< Chapter < Page | Chapter >> Page > |
The minterms generated by the class have minterm probabilities
Show that the product rule holds for all three, but the class is not independent.
pm = [0.15 0.05 0.02 0.18 0.25 0.05 0.18 0.12];y = imintest(pm)
The class is NOT independentMinterms for which the product rule fails
y =1 1 1 0
1 1 1 0 % The product rule hold for M7 = ABC
The class is independent, with respective probabilities 0.65, 0.37, 0.48, 0.63. Use the m-function minprob to obtain the minterm probabilities. Usethe m-function minmap to put them in a 4 by 4 table corresponding to the minterm map convention we use.
P = [0.65 0.37 0.48 0.63];p = minmap(minprob(P))
p =0.0424 0.0249 0.0788 0.0463
0.0722 0.0424 0.1342 0.07880.0392 0.0230 0.0727 0.0427
0.0667 0.0392 0.1238 0.0727
The minterm probabilities for the software survey in Example 2 from "Minterms" are
Show whether or not the class is independent: (1) by hand calculation, and (2) by use of the m-function imintest.
pm = [0 0.05 0.10 0.05 0.20 0.10 0.40 0.10];y = imintest(pm)
The class is NOT independentMinterms for which the product rule fails
y =1 1 1 1 % By hand check product rule for any minterm
1 1 1 1
The minterm probabilities for the computer survey in Example 3 from "Minterms" are
Show whether or not the class is independent: (1) by hand calculation, and (2) by use of the m-function imintest.
npr04_04 Minterm probabilities for
[link] are in pm
y = imintest(pm)The class is NOT independent
Minterms for which the product rule failsy =
1 1 1 11 1 1 1
Minterm probabilities through for the class are, in order,
Use the m-function imintest to show whether or not the class is independent.
npr04_05 Minterm probabilities for
[link] are in pm
imintest(pm)The class is NOT independent
Minterms for which the product rule failsans =
0 1 0 10 0 0 0
0 1 0 10 0 0 0
Minterm probabilities through for the opinion survey in Example 4 from "Minterms" are
Show whether or not the class is independent.
npr04_06
Minterm probabilities for
[link] are in pm
y = imintest(pm)The class is NOT independent
Minterms for which the product rule failsy =
1 1 1 11 1 1 1
1 1 1 11 1 1 1
The class is independent, with , , and . Determine the minterm probabilities.
and .
pm = minprob([0.3 0.2 0.4])pm = 0.3360 0.2240 0.0840 0.0560 0.1440 0.0960 0.0360 0.0240
The class is independent, with , , and . Determine the probability of each minterm.
implies .
implies implies
P = [0.5 0.2 0.4];pm = minprob(P)
pm = 0.2400 0.1600 0.0600 0.0400 0.2400 0.1600 0.0600 0.0400
Notification Switch
Would you like to follow the 'Applied probability' conversation and receive update notifications?