Explore tens of thousands of sets crafted by our community.
Bayes' Theorem Examples
12
Flashcards
0/12
A diagnostic machine classifies factory parts as either defective or non-defective. The machine has a 97% accuracy rate for detecting non-defective parts and a 95% accuracy rate for detecting defective parts. If 2% of all manufactured parts are defective, what is the probability that a part classified as defective is actually non-defective?
The probability that a part is non-defective given it is classified as defective is:
An online filter tries to detect offensive comments in a chat. It has a 90% success rate of flagging offensive comments and a 5% error rate of flagging non-offensive comments. If 20% of the comments are offensive, what is the probability that a comment is not offensive given that it has been flagged?
The probability that a comment is not offensive given it's been flagged is:
A deck of cards contains a mix of red and blue cards. 70% of the red cards are numbered, while only 30% of the blue cards are numbered. If you have an equal number of red and blue cards, what is the probability that a randomly drawn card is blue, given that it is numbered?
The probability that a card is blue given that it is numbered is:
You have two coins; one is a regular coin and the other is a fake coin with heads on both sides. You choose a coin at random and flip it, getting a head. What is the probability that you chose the regular coin?
The probability of choosing the regular coin, given that you got heads, is:
In a factory, two machines A and B manufacture bolts. Machine A makes 30% of the bolts, and of its bolts, 1% are defective. Machine B makes rest of the bolts, and of its bolts, 2% are defective. What is the probability that a bolt was made by Machine A given that it is defective?
The probability that a defective bolt was made by Machine A is:
A medical test for a disease has a 99% accuracy rate for both positive and negative results. If 1% of the population actually has the disease, what is the probability that a person has the disease if they tested positive?
The probability of having the disease given a positive test result is:
In a memory game, there are 8 pairs of cards face down, including 1 pair of ace cards. If you flip one card and it is an ace, what is the probability that by randomly flipping one more card, it will be the matching ace?
The probability that the next card flipped is the matching ace is:
In a bag of 100 marbles, 60 are red and 40 are blue. You draw a marble and it turns out to be red. If you draw another marble without replacing the first, what is the probability that the second marble will also be red?
The probability that the second marble is red given that the first is red is:
A rare disease affects 1 in 10,000 people in a large population. A test for the disease is 99.5% accurate for detecting the disease (true positive rate) and is also 99.5% accurate for declaring a non-diseased individual free of the disease (true negative rate). What is the probability that an individual really has the disease given they have tested positive?
The probability that an individual has the disease given a positive test result is:
A password system uses a series of three characters, each can be a lowercase letter or a digit. An attacker knows that the second character is a letter. What is the probability that the first character is a digit given that the attacker correctly guesses the password on the first try?
The probability that the first character is a digit given a correct guess on the first try is:
Suppose there are three equally likely diseases that could cause a particular symptom. Disease A has a 10% prevalence in the population, Disease B has a 20% prevalence, and Disease C has a 30% prevalence. If a test for the symptom has a 5% false positive rate, what is the probability that a random individual with positive test results actually has Disease A?
The probability of having Disease A given a positive test result is:
You receive an email and you want to know the probability that it's spam, given that it contains the word 'free'. Spam emails contain the word 'free' 80% of the time, and this word appears in 5% of all emails. Overall, 10% of all emails are spam. What is the probability that the email is spam?
The probability that an email is spam given that it contains 'free' is:
© Hypatia.Tech. 2024 All rights reserved.