What is the probability of entering a store?

In summary, we can calculate the probabilities of entering a store, being a shop owner or a robber, and how these probabilities change if a gun is pointed. Using the given information, we can find that the probability of entering a store is 0.2025. The probability of being a shop owner given that you entered the store is 0.4950, while the probability of being a robber is 0.0990. If a gun is pointed, the probability of being a shop owner increases to 0.9755 and the probability of being a robber decreases to 0.0245.
  • #1
sessomw5098
8
0
Given the following:
P(shop) = 0.25
P(rob) = 0.02
P(enter-store | !shop, !rob) = 0.01
P(enter-store | shop, !rob) = 0.80
P(enter-store | !shop, rob) = 0.50
P(enter-store | shop, rob) = 0.90
P(point-gun | rob) = 0.70
P(point-gun | !rob) = 0.01

Find:
a) P(enter-store)
b) P(shop | enter-store)
c) P(rob | enter-store)
d) P(shop | enter-store, point-gun)
e) P(rob | enter-store, point-gun)

The problem I'm having is given P(A|B, C), how to extract P(B) or even P(C), and so on.

Can I say: P(shop)P(rob) = .005, then P(enter-store|.005)? How do I get P(enter-store)?

Thanks,
Jay
 
Last edited:
Physics news on Phys.org
  • #2
a) P(enter-store) = P(enter-store | shop, !rob)P(shop) + P(enter-store | !shop, rob)P(rob) + P(enter-store | !shop, !rob)P(!shop, !rob) = 0.80 × 0.25 + 0.50 × 0.02 + 0.01 × (1 - 0.25 - 0.02) = 0.2025b) P(shop | enter-store) = P(enter-store | shop, !rob)P(shop) / P(enter-store) = 0.80 × 0.25 / 0.2025 = 0.4950c) P(rob | enter-store) = P(enter-store | !shop, rob)P(rob) / P(enter-store) = 0.50 × 0.02 / 0.2025 = 0.0990d) P(shop | enter-store, point-gun) = P(enter-store | shop, rob)P(shop)P(point-gun | rob) / P(enter-store, point-gun) = 0.90 × 0.25 × 0.70 / (P(enter-store | shop, rob)P(shop)P(point-gun | rob) + P(enter-store | !shop, rob)P(rob)P(point-gun | !rob)) = 0.90 × 0.25 × 0.70 / (0.90 × 0.25 × 0.70 + 0.50 × 0.02 × 0.01) = 0.9755e) P(rob | enter-store, point-gun) = P(enter-store | !shop, rob)P(rob)P(point-gun | !rob) / P(enter-store, point-gun) = 0.50 × 0.02 × 0.01 / (P(enter-store | shop, rob)P(shop)P(point-gun | rob) + P(enter-store | !shop, rob)P(rob)P(point-gun | !rob)) = 0.50 × 0.02 × 0.01 / (0.90 × 0.25 × 0.70 + 0.50 × 0
 

Related to What is the probability of entering a store?

1. What is conditional probability?

Conditional probability is the likelihood of an event occurring given that another event has already occurred. In other words, it is the probability of event A happening, given that event B has already happened.

2. How is conditional probability calculated?

Conditional probability is calculated by dividing the probability of both events occurring together by the probability of the given event occurring. This can be represented as P(A|B) = P(A and B) / P(B).

3. What is the difference between joint probability and conditional probability?

Joint probability is the probability of two events occurring together, while conditional probability is the probability of one event occurring given that another event has already occurred. Joint probability considers both events happening simultaneously, while conditional probability takes into account a specific condition or event that has already happened.

4. How is conditional probability useful in real life?

Conditional probability is useful in real life situations where we want to make predictions or decisions based on certain conditions or events. For example, in weather forecasting, we can use conditional probability to calculate the likelihood of rain given that there are dark clouds in the sky.

5. What is the importance of understanding conditional probability in data analysis?

Understanding conditional probability is crucial in data analysis because it allows us to make more accurate predictions and decisions based on the relationships between different events. It is a fundamental concept in statistics and is used in various fields such as finance, healthcare, and marketing.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
10
Views
843
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
10
Views
2K
  • Precalculus Mathematics Homework Help
Replies
14
Views
2K
  • Precalculus Mathematics Homework Help
Replies
8
Views
939
  • Precalculus Mathematics Homework Help
Replies
5
Views
909
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
5K
Back
Top