A caveau can be flooded for two reasons: slip or activation of fire extinguisher
$begingroup$
A caveau can be flooded for two reasons: slip or activation of fire extinguisher. If during the night no slip occurred, then for some reasons the fire extinguisher activate themself with probability $theta$. The split occurs with probability $0.01$
I want to find the probability that the slip occurred given that the caveau is flooded.
This is how I did it:
$$ mathbb{P}[text{"Slip occured"} vert text{"Caveau flooded"}] = 0.01(1-theta) $$
This is just my intuition: the slip occurred but the fire extinguishers dint go off.
However I tried doing it using Bayes theorem, but I find a different result:
$$ mathbb{P}[text{"Slip occured"} vert text{"Caveau flooded"}] = $$
$$ = frac{mathbb{P}[text{"Slip occured"}cap text{"Caveau flooded"}]}{mathbb{P}[text{"Caveau flooded"}]} = $$
$$ = frac{0.01}{0.01 + theta}$$
Can you help me finding my mistake?
probability
$endgroup$
add a comment |
$begingroup$
A caveau can be flooded for two reasons: slip or activation of fire extinguisher. If during the night no slip occurred, then for some reasons the fire extinguisher activate themself with probability $theta$. The split occurs with probability $0.01$
I want to find the probability that the slip occurred given that the caveau is flooded.
This is how I did it:
$$ mathbb{P}[text{"Slip occured"} vert text{"Caveau flooded"}] = 0.01(1-theta) $$
This is just my intuition: the slip occurred but the fire extinguishers dint go off.
However I tried doing it using Bayes theorem, but I find a different result:
$$ mathbb{P}[text{"Slip occured"} vert text{"Caveau flooded"}] = $$
$$ = frac{mathbb{P}[text{"Slip occured"}cap text{"Caveau flooded"}]}{mathbb{P}[text{"Caveau flooded"}]} = $$
$$ = frac{0.01}{0.01 + theta}$$
Can you help me finding my mistake?
probability
$endgroup$
add a comment |
$begingroup$
A caveau can be flooded for two reasons: slip or activation of fire extinguisher. If during the night no slip occurred, then for some reasons the fire extinguisher activate themself with probability $theta$. The split occurs with probability $0.01$
I want to find the probability that the slip occurred given that the caveau is flooded.
This is how I did it:
$$ mathbb{P}[text{"Slip occured"} vert text{"Caveau flooded"}] = 0.01(1-theta) $$
This is just my intuition: the slip occurred but the fire extinguishers dint go off.
However I tried doing it using Bayes theorem, but I find a different result:
$$ mathbb{P}[text{"Slip occured"} vert text{"Caveau flooded"}] = $$
$$ = frac{mathbb{P}[text{"Slip occured"}cap text{"Caveau flooded"}]}{mathbb{P}[text{"Caveau flooded"}]} = $$
$$ = frac{0.01}{0.01 + theta}$$
Can you help me finding my mistake?
probability
$endgroup$
A caveau can be flooded for two reasons: slip or activation of fire extinguisher. If during the night no slip occurred, then for some reasons the fire extinguisher activate themself with probability $theta$. The split occurs with probability $0.01$
I want to find the probability that the slip occurred given that the caveau is flooded.
This is how I did it:
$$ mathbb{P}[text{"Slip occured"} vert text{"Caveau flooded"}] = 0.01(1-theta) $$
This is just my intuition: the slip occurred but the fire extinguishers dint go off.
However I tried doing it using Bayes theorem, but I find a different result:
$$ mathbb{P}[text{"Slip occured"} vert text{"Caveau flooded"}] = $$
$$ = frac{mathbb{P}[text{"Slip occured"}cap text{"Caveau flooded"}]}{mathbb{P}[text{"Caveau flooded"}]} = $$
$$ = frac{0.01}{0.01 + theta}$$
Can you help me finding my mistake?
probability
probability
asked Jan 15 at 18:37
qcc101qcc101
622213
622213
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
$begingroup$
Your mistake lies in the calculation of the total probability of caveau flooding. There are two ways the caveau can be flooded. Either a slip occurs or no slip occurs and the fire extinguishers start themselves. So
$$E_1 - text{A slip occurs}$$
$$E_2 - text{No slip occurs and the fire extinguishers start themselves}$$
As you correctly calculated
$$P(E_1) = 0.01$$
But the second one will be
$$P(E_2) = (1-0.01)theta$$
First terms is as no slip occurs and the second is the probability that fire extinguishers will autostart.
So the probability that slip occurred given that caveau is flooded (using Bayes theorem)
$$P= frac{0.01}{0.01 + 0.99theta}$$
$endgroup$
$begingroup$
Thank you! I have a follow up question: I need to build a confidence interval of 95% for the probability that slip occurred without knowing that there is flood. I also now know that $theta = 0.53$ I need to use Wald standard interval, which is: $$ overline{X} pm Z_{frac{alpha}{2}} frac{sigma}{sqrt{n}}$$ However what are the $overline{X}$ and $sigma$ in this case?
$endgroup$
– qcc101
Jan 15 at 19:06
$begingroup$
@qcc101 - You'd need random sampling and based on that you will be estimating the parameter(probability that slip occurred). The terms $bar{X}$ and $sigma$ come from there. Also, this is an entirely separate question in itself. As is the policy of MSE, please ask the question separately.
$endgroup$
– Sauhard Sharma
Jan 15 at 19:21
$begingroup$
I see, I will try to work it out myself with your hint and then post again If I don't succeed. Thank you!
$endgroup$
– qcc101
Jan 15 at 19:26
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%2f3074768%2fa-caveau-can-be-flooded-for-two-reasons-slip-or-activation-of-fire-extinguisher%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
$begingroup$
Your mistake lies in the calculation of the total probability of caveau flooding. There are two ways the caveau can be flooded. Either a slip occurs or no slip occurs and the fire extinguishers start themselves. So
$$E_1 - text{A slip occurs}$$
$$E_2 - text{No slip occurs and the fire extinguishers start themselves}$$
As you correctly calculated
$$P(E_1) = 0.01$$
But the second one will be
$$P(E_2) = (1-0.01)theta$$
First terms is as no slip occurs and the second is the probability that fire extinguishers will autostart.
So the probability that slip occurred given that caveau is flooded (using Bayes theorem)
$$P= frac{0.01}{0.01 + 0.99theta}$$
$endgroup$
$begingroup$
Thank you! I have a follow up question: I need to build a confidence interval of 95% for the probability that slip occurred without knowing that there is flood. I also now know that $theta = 0.53$ I need to use Wald standard interval, which is: $$ overline{X} pm Z_{frac{alpha}{2}} frac{sigma}{sqrt{n}}$$ However what are the $overline{X}$ and $sigma$ in this case?
$endgroup$
– qcc101
Jan 15 at 19:06
$begingroup$
@qcc101 - You'd need random sampling and based on that you will be estimating the parameter(probability that slip occurred). The terms $bar{X}$ and $sigma$ come from there. Also, this is an entirely separate question in itself. As is the policy of MSE, please ask the question separately.
$endgroup$
– Sauhard Sharma
Jan 15 at 19:21
$begingroup$
I see, I will try to work it out myself with your hint and then post again If I don't succeed. Thank you!
$endgroup$
– qcc101
Jan 15 at 19:26
add a comment |
$begingroup$
Your mistake lies in the calculation of the total probability of caveau flooding. There are two ways the caveau can be flooded. Either a slip occurs or no slip occurs and the fire extinguishers start themselves. So
$$E_1 - text{A slip occurs}$$
$$E_2 - text{No slip occurs and the fire extinguishers start themselves}$$
As you correctly calculated
$$P(E_1) = 0.01$$
But the second one will be
$$P(E_2) = (1-0.01)theta$$
First terms is as no slip occurs and the second is the probability that fire extinguishers will autostart.
So the probability that slip occurred given that caveau is flooded (using Bayes theorem)
$$P= frac{0.01}{0.01 + 0.99theta}$$
$endgroup$
$begingroup$
Thank you! I have a follow up question: I need to build a confidence interval of 95% for the probability that slip occurred without knowing that there is flood. I also now know that $theta = 0.53$ I need to use Wald standard interval, which is: $$ overline{X} pm Z_{frac{alpha}{2}} frac{sigma}{sqrt{n}}$$ However what are the $overline{X}$ and $sigma$ in this case?
$endgroup$
– qcc101
Jan 15 at 19:06
$begingroup$
@qcc101 - You'd need random sampling and based on that you will be estimating the parameter(probability that slip occurred). The terms $bar{X}$ and $sigma$ come from there. Also, this is an entirely separate question in itself. As is the policy of MSE, please ask the question separately.
$endgroup$
– Sauhard Sharma
Jan 15 at 19:21
$begingroup$
I see, I will try to work it out myself with your hint and then post again If I don't succeed. Thank you!
$endgroup$
– qcc101
Jan 15 at 19:26
add a comment |
$begingroup$
Your mistake lies in the calculation of the total probability of caveau flooding. There are two ways the caveau can be flooded. Either a slip occurs or no slip occurs and the fire extinguishers start themselves. So
$$E_1 - text{A slip occurs}$$
$$E_2 - text{No slip occurs and the fire extinguishers start themselves}$$
As you correctly calculated
$$P(E_1) = 0.01$$
But the second one will be
$$P(E_2) = (1-0.01)theta$$
First terms is as no slip occurs and the second is the probability that fire extinguishers will autostart.
So the probability that slip occurred given that caveau is flooded (using Bayes theorem)
$$P= frac{0.01}{0.01 + 0.99theta}$$
$endgroup$
Your mistake lies in the calculation of the total probability of caveau flooding. There are two ways the caveau can be flooded. Either a slip occurs or no slip occurs and the fire extinguishers start themselves. So
$$E_1 - text{A slip occurs}$$
$$E_2 - text{No slip occurs and the fire extinguishers start themselves}$$
As you correctly calculated
$$P(E_1) = 0.01$$
But the second one will be
$$P(E_2) = (1-0.01)theta$$
First terms is as no slip occurs and the second is the probability that fire extinguishers will autostart.
So the probability that slip occurred given that caveau is flooded (using Bayes theorem)
$$P= frac{0.01}{0.01 + 0.99theta}$$
answered Jan 15 at 18:56
Sauhard SharmaSauhard Sharma
953318
953318
$begingroup$
Thank you! I have a follow up question: I need to build a confidence interval of 95% for the probability that slip occurred without knowing that there is flood. I also now know that $theta = 0.53$ I need to use Wald standard interval, which is: $$ overline{X} pm Z_{frac{alpha}{2}} frac{sigma}{sqrt{n}}$$ However what are the $overline{X}$ and $sigma$ in this case?
$endgroup$
– qcc101
Jan 15 at 19:06
$begingroup$
@qcc101 - You'd need random sampling and based on that you will be estimating the parameter(probability that slip occurred). The terms $bar{X}$ and $sigma$ come from there. Also, this is an entirely separate question in itself. As is the policy of MSE, please ask the question separately.
$endgroup$
– Sauhard Sharma
Jan 15 at 19:21
$begingroup$
I see, I will try to work it out myself with your hint and then post again If I don't succeed. Thank you!
$endgroup$
– qcc101
Jan 15 at 19:26
add a comment |
$begingroup$
Thank you! I have a follow up question: I need to build a confidence interval of 95% for the probability that slip occurred without knowing that there is flood. I also now know that $theta = 0.53$ I need to use Wald standard interval, which is: $$ overline{X} pm Z_{frac{alpha}{2}} frac{sigma}{sqrt{n}}$$ However what are the $overline{X}$ and $sigma$ in this case?
$endgroup$
– qcc101
Jan 15 at 19:06
$begingroup$
@qcc101 - You'd need random sampling and based on that you will be estimating the parameter(probability that slip occurred). The terms $bar{X}$ and $sigma$ come from there. Also, this is an entirely separate question in itself. As is the policy of MSE, please ask the question separately.
$endgroup$
– Sauhard Sharma
Jan 15 at 19:21
$begingroup$
I see, I will try to work it out myself with your hint and then post again If I don't succeed. Thank you!
$endgroup$
– qcc101
Jan 15 at 19:26
$begingroup$
Thank you! I have a follow up question: I need to build a confidence interval of 95% for the probability that slip occurred without knowing that there is flood. I also now know that $theta = 0.53$ I need to use Wald standard interval, which is: $$ overline{X} pm Z_{frac{alpha}{2}} frac{sigma}{sqrt{n}}$$ However what are the $overline{X}$ and $sigma$ in this case?
$endgroup$
– qcc101
Jan 15 at 19:06
$begingroup$
Thank you! I have a follow up question: I need to build a confidence interval of 95% for the probability that slip occurred without knowing that there is flood. I also now know that $theta = 0.53$ I need to use Wald standard interval, which is: $$ overline{X} pm Z_{frac{alpha}{2}} frac{sigma}{sqrt{n}}$$ However what are the $overline{X}$ and $sigma$ in this case?
$endgroup$
– qcc101
Jan 15 at 19:06
$begingroup$
@qcc101 - You'd need random sampling and based on that you will be estimating the parameter(probability that slip occurred). The terms $bar{X}$ and $sigma$ come from there. Also, this is an entirely separate question in itself. As is the policy of MSE, please ask the question separately.
$endgroup$
– Sauhard Sharma
Jan 15 at 19:21
$begingroup$
@qcc101 - You'd need random sampling and based on that you will be estimating the parameter(probability that slip occurred). The terms $bar{X}$ and $sigma$ come from there. Also, this is an entirely separate question in itself. As is the policy of MSE, please ask the question separately.
$endgroup$
– Sauhard Sharma
Jan 15 at 19:21
$begingroup$
I see, I will try to work it out myself with your hint and then post again If I don't succeed. Thank you!
$endgroup$
– qcc101
Jan 15 at 19:26
$begingroup$
I see, I will try to work it out myself with your hint and then post again If I don't succeed. Thank you!
$endgroup$
– qcc101
Jan 15 at 19:26
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%2f3074768%2fa-caveau-can-be-flooded-for-two-reasons-slip-or-activation-of-fire-extinguisher%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