using Bayes’ Rule to calculate conditional probability
$begingroup$
i have following problem,
"Students who party before an exam are twice as likely to fail the exam as those who don't party (and presumably study). Of 20% of students partied before the exam, what percentage of students who failed the exam went partying?"
i believe that this problem related to conditional probability, but i couldn't find all necessary elements for answer. appreciate your help.
conditional-probability
$endgroup$
add a comment |
$begingroup$
i have following problem,
"Students who party before an exam are twice as likely to fail the exam as those who don't party (and presumably study). Of 20% of students partied before the exam, what percentage of students who failed the exam went partying?"
i believe that this problem related to conditional probability, but i couldn't find all necessary elements for answer. appreciate your help.
conditional-probability
$endgroup$
$begingroup$
Do you understand Bayes’ theorem?
$endgroup$
– gHem
Dec 20 '18 at 4:38
$begingroup$
Is that supposed to readIf 20% of students...
instead ofOf 20% of students...
?
$endgroup$
– David Diaz
Dec 20 '18 at 4:53
1
$begingroup$
An alternative approach to Aaron's answer is to first write down the given info as: begin{align}P[fail : mid : party] &= 2P[ fail : mid : party^c]\ P[party] &= 0.2end{align} and you want to compute $P[party : mid : fail]$.
$endgroup$
– Michael
Dec 20 '18 at 5:18
add a comment |
$begingroup$
i have following problem,
"Students who party before an exam are twice as likely to fail the exam as those who don't party (and presumably study). Of 20% of students partied before the exam, what percentage of students who failed the exam went partying?"
i believe that this problem related to conditional probability, but i couldn't find all necessary elements for answer. appreciate your help.
conditional-probability
$endgroup$
i have following problem,
"Students who party before an exam are twice as likely to fail the exam as those who don't party (and presumably study). Of 20% of students partied before the exam, what percentage of students who failed the exam went partying?"
i believe that this problem related to conditional probability, but i couldn't find all necessary elements for answer. appreciate your help.
conditional-probability
conditional-probability
asked Dec 20 '18 at 4:30
NourNour
254
254
$begingroup$
Do you understand Bayes’ theorem?
$endgroup$
– gHem
Dec 20 '18 at 4:38
$begingroup$
Is that supposed to readIf 20% of students...
instead ofOf 20% of students...
?
$endgroup$
– David Diaz
Dec 20 '18 at 4:53
1
$begingroup$
An alternative approach to Aaron's answer is to first write down the given info as: begin{align}P[fail : mid : party] &= 2P[ fail : mid : party^c]\ P[party] &= 0.2end{align} and you want to compute $P[party : mid : fail]$.
$endgroup$
– Michael
Dec 20 '18 at 5:18
add a comment |
$begingroup$
Do you understand Bayes’ theorem?
$endgroup$
– gHem
Dec 20 '18 at 4:38
$begingroup$
Is that supposed to readIf 20% of students...
instead ofOf 20% of students...
?
$endgroup$
– David Diaz
Dec 20 '18 at 4:53
1
$begingroup$
An alternative approach to Aaron's answer is to first write down the given info as: begin{align}P[fail : mid : party] &= 2P[ fail : mid : party^c]\ P[party] &= 0.2end{align} and you want to compute $P[party : mid : fail]$.
$endgroup$
– Michael
Dec 20 '18 at 5:18
$begingroup$
Do you understand Bayes’ theorem?
$endgroup$
– gHem
Dec 20 '18 at 4:38
$begingroup$
Do you understand Bayes’ theorem?
$endgroup$
– gHem
Dec 20 '18 at 4:38
$begingroup$
Is that supposed to read
If 20% of students...
instead of Of 20% of students...
?$endgroup$
– David Diaz
Dec 20 '18 at 4:53
$begingroup$
Is that supposed to read
If 20% of students...
instead of Of 20% of students...
?$endgroup$
– David Diaz
Dec 20 '18 at 4:53
1
1
$begingroup$
An alternative approach to Aaron's answer is to first write down the given info as: begin{align}P[fail : mid : party] &= 2P[ fail : mid : party^c]\ P[party] &= 0.2end{align} and you want to compute $P[party : mid : fail]$.
$endgroup$
– Michael
Dec 20 '18 at 5:18
$begingroup$
An alternative approach to Aaron's answer is to first write down the given info as: begin{align}P[fail : mid : party] &= 2P[ fail : mid : party^c]\ P[party] &= 0.2end{align} and you want to compute $P[party : mid : fail]$.
$endgroup$
– Michael
Dec 20 '18 at 5:18
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
Let $x$ be the total number of students and $p$ be the probability of a student who didn't party failing the exam. The probability of a student who partied before the exam failing the exam is then $2p$.
$x/5$ students partied, out of which $2px/5$ failed. Out of the $4x/5$ who didn't party, $4px/5$ failed the exam. The total students who failed is $2px/5+4px/5=6px/5$, out of which $2px/5$ partied. The required probability is $2/6=1/3$.
$endgroup$
add a comment |
$begingroup$
I would recommend drawing a tree diagram to start with. Look at https://www.mathsisfun.com/data/probability-events-conditional.html for more information.
In your case, I assigned percentages making sure to fulfill your condition.
20% partied - Of them, 60% of them failed and 40% of them passed, while
80% no party - Of them, 30% of them failed and 70% of them passed.
Using these numbers, you can that if taking a sample out of $100$ for example, you will see that 12 people failed who went partying and 24 failed who didn't party. So the percentage who failed (and went partying) is $33.3$%.
$endgroup$
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
return StackExchange.using("mathjaxEditing", function () {
StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix) {
StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
});
});
}, "mathjax-editing");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "69"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
noCode: true, onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3047159%2fusing-bayes-rule-to-calculate-conditional-probability%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Let $x$ be the total number of students and $p$ be the probability of a student who didn't party failing the exam. The probability of a student who partied before the exam failing the exam is then $2p$.
$x/5$ students partied, out of which $2px/5$ failed. Out of the $4x/5$ who didn't party, $4px/5$ failed the exam. The total students who failed is $2px/5+4px/5=6px/5$, out of which $2px/5$ partied. The required probability is $2/6=1/3$.
$endgroup$
add a comment |
$begingroup$
Let $x$ be the total number of students and $p$ be the probability of a student who didn't party failing the exam. The probability of a student who partied before the exam failing the exam is then $2p$.
$x/5$ students partied, out of which $2px/5$ failed. Out of the $4x/5$ who didn't party, $4px/5$ failed the exam. The total students who failed is $2px/5+4px/5=6px/5$, out of which $2px/5$ partied. The required probability is $2/6=1/3$.
$endgroup$
add a comment |
$begingroup$
Let $x$ be the total number of students and $p$ be the probability of a student who didn't party failing the exam. The probability of a student who partied before the exam failing the exam is then $2p$.
$x/5$ students partied, out of which $2px/5$ failed. Out of the $4x/5$ who didn't party, $4px/5$ failed the exam. The total students who failed is $2px/5+4px/5=6px/5$, out of which $2px/5$ partied. The required probability is $2/6=1/3$.
$endgroup$
Let $x$ be the total number of students and $p$ be the probability of a student who didn't party failing the exam. The probability of a student who partied before the exam failing the exam is then $2p$.
$x/5$ students partied, out of which $2px/5$ failed. Out of the $4x/5$ who didn't party, $4px/5$ failed the exam. The total students who failed is $2px/5+4px/5=6px/5$, out of which $2px/5$ partied. The required probability is $2/6=1/3$.
answered Dec 20 '18 at 6:42
Shubham JohriShubham Johri
5,525818
5,525818
add a comment |
add a comment |
$begingroup$
I would recommend drawing a tree diagram to start with. Look at https://www.mathsisfun.com/data/probability-events-conditional.html for more information.
In your case, I assigned percentages making sure to fulfill your condition.
20% partied - Of them, 60% of them failed and 40% of them passed, while
80% no party - Of them, 30% of them failed and 70% of them passed.
Using these numbers, you can that if taking a sample out of $100$ for example, you will see that 12 people failed who went partying and 24 failed who didn't party. So the percentage who failed (and went partying) is $33.3$%.
$endgroup$
add a comment |
$begingroup$
I would recommend drawing a tree diagram to start with. Look at https://www.mathsisfun.com/data/probability-events-conditional.html for more information.
In your case, I assigned percentages making sure to fulfill your condition.
20% partied - Of them, 60% of them failed and 40% of them passed, while
80% no party - Of them, 30% of them failed and 70% of them passed.
Using these numbers, you can that if taking a sample out of $100$ for example, you will see that 12 people failed who went partying and 24 failed who didn't party. So the percentage who failed (and went partying) is $33.3$%.
$endgroup$
add a comment |
$begingroup$
I would recommend drawing a tree diagram to start with. Look at https://www.mathsisfun.com/data/probability-events-conditional.html for more information.
In your case, I assigned percentages making sure to fulfill your condition.
20% partied - Of them, 60% of them failed and 40% of them passed, while
80% no party - Of them, 30% of them failed and 70% of them passed.
Using these numbers, you can that if taking a sample out of $100$ for example, you will see that 12 people failed who went partying and 24 failed who didn't party. So the percentage who failed (and went partying) is $33.3$%.
$endgroup$
I would recommend drawing a tree diagram to start with. Look at https://www.mathsisfun.com/data/probability-events-conditional.html for more information.
In your case, I assigned percentages making sure to fulfill your condition.
20% partied - Of them, 60% of them failed and 40% of them passed, while
80% no party - Of them, 30% of them failed and 70% of them passed.
Using these numbers, you can that if taking a sample out of $100$ for example, you will see that 12 people failed who went partying and 24 failed who didn't party. So the percentage who failed (and went partying) is $33.3$%.
answered Dec 20 '18 at 4:58
AfronPieAfronPie
322213
322213
add a comment |
add a comment |
Thanks for contributing an answer to Mathematics Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3047159%2fusing-bayes-rule-to-calculate-conditional-probability%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
$begingroup$
Do you understand Bayes’ theorem?
$endgroup$
– gHem
Dec 20 '18 at 4:38
$begingroup$
Is that supposed to read
If 20% of students...
instead ofOf 20% of students...
?$endgroup$
– David Diaz
Dec 20 '18 at 4:53
1
$begingroup$
An alternative approach to Aaron's answer is to first write down the given info as: begin{align}P[fail : mid : party] &= 2P[ fail : mid : party^c]\ P[party] &= 0.2end{align} and you want to compute $P[party : mid : fail]$.
$endgroup$
– Michael
Dec 20 '18 at 5:18