<< Chapter < Page | Chapter >> Page > |
A software company has developed a new computer game designed to appeal to teenagers and young adults.It is felt that there is good probability it will appeal to college students, and that if it appeals to college students it will appeal to a general youthmarket. To check the likelihood of appeal to college students, it is decided to test first by a sales campaign at Rice and University of Texas, Austin.The following analysis of the situation is made.
Since the tests are for the reception are at two separate universities and are operationally independent, it seems reasonable to assume and . Because of its previous experience in game sales, the managers think . Also, experience suggests
Determine the posterior odds favoring H if sales results are satisfactory at both schools.
In a region in the Gulf Coast area, oil deposits are highly likely to be associated with underground salt domes. If H is the event that an oil deposit is present in an area, and S is the event of a salt dome in the area, experience indicates and . Company executives believe the odds favoring oil in the area is at least 1 in 10. It decides to conduct two independentgeophysical surveys for the presence of a salt dome. Let be the events the surveys indicate a salt dome. Because the surveys are testsfor the geological structure, not the presence of oil, and the tests are carried out in an operationally independent manner, it seems reasonable to assume and . Data on the reliability of the surveys yield the following probabilities
Determine the posterior odds . Should the well be drilled?
with similar expressions for the other terms.
A sample of 150 subjects is taken from a population which has two subgroups. The subgroup membership of each subject in the sample is known. Each individual is asked a batteryof ten questions designed to be independent, in the sense that the answer to any one is not affected by the answer to any other. The subjects answer independently. Data on the resultsare summarized in the following table:
GROUP 1 (84 members) | GROUP 2 (66 members) | |||||
Q | Yes | No | Unc | Yes | No | Unc |
1 | 51 | 26 | 7 | 27 | 34 | 5 |
2 | 42 | 32 | 10 | 19 | 43 | 4 |
3 | 19 | 54 | 11 | 39 | 22 | 5 |
4 | 24 | 53 | 7 | 38 | 19 | 9 |
5 | 27 | 52 | 5 | 28 | 33 | 5 |
6 | 49 | 19 | 16 | 19 | 41 | 6 |
7 | 16 | 59 | 9 | 37 | 21 | 8 |
8 | 47 | 32 | 5 | 19 | 42 | 5 |
9 | 55 | 17 | 12 | 27 | 33 | 6 |
10 | 24 | 53 | 7 | 39 | 21 | 6 |
Assume the data represent the general population consisting of these two groups, so that the data may be used to calculate probabilities and conditionalprobabilities.
Several persons are interviewed. The result of each interview is a “profile” of answers to the questions. The goal is to classify the person in one of the two subgroups
For the following profiles, classify each individual in one of the subgroups
% file
npr05_16.m % Data for
[link] A = [51 26 7; 42 32 10; 19 54 11; 24 53 7; 27 52 5;
49 19 16; 16 59 9; 47 32 5; 55 17 12; 24 53 7];
B = [27 34 5; 19 43 4; 39 22 5; 38 19 9; 28 33 5;19 41 6; 37 21 8; 19 42 5; 27 33 6; 39 21 6];disp('Call for oddsdf')
npr05_16 Call for oddsdf
oddsdfEnter matrix A of frequencies for calibration group 1 A
Enter matrix B of frequencies for calibration group 2 BNumber of questions = 10
Answers per question = 3Enter code for answers and call for procedure "odds"
y = 1;n = 2;
u = 3;odds
Enter profile matrix E [y n y n y u n u y u]Odds favoring Group 1: 3.743
Classify in Group 1odds
Enter profile matrix E [n n u n y y u n n y]Odds favoring Group 1: 0.2693
Classify in Group 2odds
Enter profile matrix E [y y n y u u n n y y]Odds favoring Group 1: 5.286
Classify in Group 1
The data of [link] , above, are converted to conditional probabilities and probabilities, as follows (probabilities are rounded to two decimal places).
GROUP 1 | GROUP 2 | |||||
Q | Yes | No | Unc | Yes | No | Unc |
1 | 0.61 | 0.31 | 0.08 | 0.41 | 0.51 | 0.08 |
2 | 0.50 | 0.38 | 0.12 | 0.29 | 0.65 | 0.06 |
3 | 0.23 | 0.64 | 0.13 | 0.59 | 0.33 | 0.08 |
4 | 0.29 | 0.63 | 0.08 | 0.57 | 0.29 | 0.14 |
5 | 0.32 | 0.62 | 0.06 | 0.42 | 0.50 | 0.08 |
6 | 0.58 | 0.23 | 0.19 | 0.29 | 0.62 | 0.09 |
7 | 0.19 | 0.70 | 0.11 | 0.56 | 0.32 | 0.12 |
8 | 0.56 | 0.38 | 0.06 | 0.29 | 0.63 | 0.08 |
9 | 0.65 | 0.20 | 0.15 | 0.41 | 0.50 | 0.09 |
10 | 0.29 | 0.63 | 0.08 | 0.59 | 0.32 | 0.09 |
For the following profiles classify each individual in one of the subgroups.
npr05_17 % file
npr05_17.m % Data for
[link] PG1 = 84/150;
PG2 = 66/125;A = [0.61 0.31 0.08
0.50 0.38 0.120.23 0.64 0.13
0.29 0.63 0.080.32 0.62 0.06
0.58 0.23 0.190.19 0.70 0.11
0.56 0.38 0.060.65 0.20 0.15
0.29 0.63 0.08];B = [0.41 0.51 0.08
0.29 0.65 0.060.59 0.33 0.08
0.57 0.29 0.140.42 0.50 0.08
0.29 0.62 0.090.56 0.32 0.12
0.29 0.64 0.080.41 0.50 0.09
0.59 0.32 0.09];
disp('Call for oddsdp')Call for oddsdp
oddsdpEnter matrix A of conditional probabilities for Group 1 A
Enter matrix B of conditional probabilities for Group 2 BProbability p1 an individual is from Group 1 PG1
Number of questions = 10Answers per question = 3
Enter code for answers and call for procedure "odds"y = 1;
n = 2;u = 3;
oddsEnter profile matrix E [y n y n y u n u y u]
Odds favoring Group 1: 3.486Classify in Group 1
oddsEnter profile matrix E [n n u n y y u n n y]
Odds favoring Group 1: 0.2603Classify in Group 2
oddsEnter profile matrix E [y y n y u u n n y y]
Odds favoring Group 1: 5.162Classify in Group 1
Notification Switch
Would you like to follow the 'Applied probability' conversation and receive update notifications?