Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QUE: Added a question on Monty Hall's Problem #16

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 14 additions & 10 deletions questions/prob.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
---
# Put your questions here:

- title:
type:
text:
ans:
sol:
opt:
tags:
img:
diff:
ref:
- title: Question on Monty Hall's Problem
type: num
text: Suppose you are at an interview and the interviewer gives you 11 purse and you need to choose one. One of them has a gold coin and rest of them has stone. You choose purse x then the interviewer opens one purse y which has a stone in it. Now you have a choice to go with your choice or switch to any of the remaining 9 purses. What is the probability you will win this game if you switch?(Give your answer to three places of decimal)
opt: NULL
ans: 0.101
q_img: NULL
sol: Let's say you choose purse 1, the probability of your winning is 1/11 as each of the 11 purses have an equally likely chance of containing a gold coin. So the probability that other purses might contain the coin is 10/11. Now let's say interviewer opens purse 2 and shows you it has a stone. Now the original 10/11 probability shifts to the other 9 purses and if you switch you are going to choose one of the purse so probability of your winning is 1/9*10/11 which is 0.101
sol_img: NULL
tags:
- statistics
- probability
diff: easy
ref: NULL

1 change: 1 addition & 0 deletions tags.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ Currently, there is a standard list of tags to be used, in order to avoid duplic
- bayes-theorem
- naive-bayes
- hypothesis-testing
- probability
- statistics
- dimensionality-reduction
- knn
Expand Down