Question

In: Computer Science

A math teacher gave her class two tests. 40% of the class passed both tests and...

A math teacher gave her class two tests. 40% of the class passed both tests and 80% of the class passed the first test. What percent of those who passed the first test also passed the second test (given the following formula for conditional probability)? Round your answer to the nearest whole percentage point.

P(B|A) = P(A and B) / P(A)

Select one:

a. 50%

b. 20%

c. 60%

d. 40%

q-2

Assume that you had a constraint satisfaction problem where you had the following set of numbers {1,2,3,4,5,6 } and you had to discover which numbers from the set could be added together to result in the sum of 7, which of the following would represent a breath first approach to building the search graph for solving this problem?

Select one:

a.

b.

c.

Q -3-----You go to see the doctor. The doctor selects you at random to have a blood test for swine flu, which for the purposes of this exercise we will say is currently suspected to affect 1 in 10,000. The test is 96% accurate, in the sense that the probability of a false positive is 4%. The probability of a false negative is zero. You test positive. What is the new probability that you have swine flu? (round to the nearest thousands place … 3 decimal places)

Solutions

Expert Solution

(1) 40% of the class passed both the tests. So, P(Both) = 0.4

80% of the class passed the first. So, P(First) = 0.8

We can use conditional probability here.

P(Second | First) = P(Both) / P(First) = 0.4 / 0.8 = 0.5

So, 50% of the class  who passed the first test also passed the second test.

________________________________________

(2) There are no options given in this question.

________________________________________

(3) We can use Bayes' Theorem here.

FIrst of all, let P(S) be the probability that you have swine flu.

Let P(~S) be the probability that you don't have swine flu.

Let P(T) be the probability of a positive test.

We have to find P(S | T). (The probability that you have swine flu if the test is positive).

According to Bayes' theorem,

P(S | T) = P(T | S) * P(S) / (P(T | S) * P(S) + P(T | ~S) * P(~S))

We are given, P(S) = 0.0001 (1 in 10000 people)

P(~S) = 0.9999 (Probability of not having swine flu)

P(T|S) = 1 (If you have swine flu, test will be positive since there's no false negatives)

P(T|~S) = 0.04 (There is a 4% chance of a false positive)

So, P(S|T) = 1 * 0.0001 / (1 * 0.0001 + 0.04 * 0.9999) = 0.0025

_________________________________________________

Let me know if you have any doubts in the comments. Please upvote if the answer helped you.


Related Solutions

A math teacher gave her class two tests. 65% of the class passed the first test...
A math teacher gave her class two tests. 65% of the class passed the first test given that they also passed the second test. The percentages that the class passed the first test and second test are 70% and 50% respectively. i) What is the probability for those who passed both tests? ii) What is the probability for those who passed the second test given that they passed the first test? iii) What is the probability for those who passed...
A math teacher tells her students that eating a healthy breakfast on a test day will...
A math teacher tells her students that eating a healthy breakfast on a test day will help their brain function and perform well on their test. During finals week, she randomly samples 45 students and asks them at the door what they ate for breakfast. She categorizes 25 students into Group 1 as those who ate a healthy breakfast that morning and 20 students into Group 2 as those who did not. After grading the final, she finds that 48%...
A teacher hypothesizes that the final grades in her class (N = 54) are distributed as...
A teacher hypothesizes that the final grades in her class (N = 54) are distributed as 10% A's, 23% B's, 45% C's, 14% D's, and 8% F's. At the end of the semester, she has the following grades: A B C D F 6 14 22 8 4 Considering the statement above, what are the expected frequencies for grades A and F respectively?
An anatomy teacher hypothesizes that the final grades in her class are distributed as 10% A's,...
An anatomy teacher hypothesizes that the final grades in her class are distributed as 10% A's, 23% B's, 45% C's, 14% D's, and 8% F's. At the end of the semester, she has the following grades. A 12B 20C 25D 13F 5 Test her claim at 1% significance level.
A science teacher tells her class that their final project requires the students to measure a...
A science teacher tells her class that their final project requires the students to measure a specific variable and determine the velocity of a car with no more than 2.5% error. Jennifer and Johnny work hard and decide the velocity of the car is 34.87 m/s. The teacher informs them that the actual velocity is 34.15 m/s. Will Jennifer and Johnny pass their final project? SHOW ALL YOUR WORK TO GET ANSWER.
A teacher is explaining to her class the concepts of genetics regarding eye color. She assumes...
A teacher is explaining to her class the concepts of genetics regarding eye color. She assumes that each category will have the same number of students in it. Use a 0.05 level of significance. Here are the results for the class. Observed Eye Colors: Blue=3; Green=2; Brown= 12, Hazel= 3, Expected Eye Colors: All the categories of eye colors are the same. What are the expected values for the blue eye color? What are the expected values for the green...
A teacher is explaining to her class the concepts of genetics regarding eye colour. She assumes...
A teacher is explaining to her class the concepts of genetics regarding eye colour. She assumes that each category will have the same number of students in it. Use a 0.05 level of significance to perform a hypothesis test. Observed eye colour Blue Green Brown Hazel Frequency 6 2 15 7
A statistics teacher believes that the final exam grades for her business statistics class have a...
A statistics teacher believes that the final exam grades for her business statistics class have a normal distribution with a mean of 82 and a standard deviation of 8. (1)Find the score which separates the top 10% of the scores from the lowest 90% of the scores. (2) The teacher plans to give all students who score in the top 10% of scores an A. Will a student who scored a 90 on the exam receive an A? Explain. (3)...
A teacher wanted to estimate the proportion of students who take notes in her class. She...
A teacher wanted to estimate the proportion of students who take notes in her class. She used data from a random sample of size n = 76 and found that 45 of them took notes. The 97% confidence interval for the proportion of student that take notes is:
13-Sanya spent hours preparing her presentation for Tuesday's assignment in speech class. When she gave her...
13-Sanya spent hours preparing her presentation for Tuesday's assignment in speech class. When she gave her speech to her group, she failed to make eye contact with her audience, and she fidgeted with her hair. She had reminded herself to exhibit these specific skills but lost points for failing to follow through during her presentation. She had the same problem with previous speeches. What basic need is not being met? A. Self-actualization B. Autonomy C. Competence D. Belonging 14-Kai's goal...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT