Conditional Probability of a Uniform Random Subset.
$begingroup$
Question:
Let X = $({1,2,3,..,10})$ Let $Y$ be a uniformly random subset of $X$. Define the events:
A = “$Y$ contains at least $4$ elements",
B = “all elements of $Y$ are even".
What is $Pr(A|B)$?
Answer: 0.1875
Attempt:
I know that P(A $bigcap$ B) / P(B) is what I have to ultimately find.
For $P(B)$ = $frac{5}{10}$ = $frac{1}{2}$
For P(A) => Must have exactly 4, 5, 6, 7, 8, 9, 10 elements
So, I used the binomial for this by doing:
P(A) =
$10choose4$$.$ $frac{1}{10}$$^4$$.$$(1-frac{1}{10}$)$^6$ +
$10choose5$$.$ $frac{1}{10}$$^5$$.$$(1-frac{1}{10}$)$^5$ +
$10choose6$$.$ $frac{1}{10}$$^6$$.$$(1-frac{1}{10}$)$^4$ +
$10choose7$$.$ $frac{1}{10}$$^7$$.$$(1-frac{1}{10}$)$^3$ +
$10choose8$$.$ $frac{1}{10}$$^8$$.$$(1-frac{1}{10}$)$^2$ +
$10choose9$$.$ $frac{1}{10}$$^9$$.$$(1-frac{1}{10}$)$^1$ +
$10choose10$$.$ $frac{1}{10}$$^{10}$$.$$(1-frac{1}{10}$)$^0$ +
= $0.012795$
P(A $bigcap$B) = $frac{1}{2}*0.012795$
Pr(A|B) = $frac{frac{1}{2}*0.012795}{2}$
Pr(A|B) = $0.012795$
Where did I go wrong with this approach? I find finding P(A) very time consuming, I feel like there has to be a much more simpler approach.
probability probability-theory discrete-mathematics random-variables conditional-probability
$endgroup$
add a comment |
$begingroup$
Question:
Let X = $({1,2,3,..,10})$ Let $Y$ be a uniformly random subset of $X$. Define the events:
A = “$Y$ contains at least $4$ elements",
B = “all elements of $Y$ are even".
What is $Pr(A|B)$?
Answer: 0.1875
Attempt:
I know that P(A $bigcap$ B) / P(B) is what I have to ultimately find.
For $P(B)$ = $frac{5}{10}$ = $frac{1}{2}$
For P(A) => Must have exactly 4, 5, 6, 7, 8, 9, 10 elements
So, I used the binomial for this by doing:
P(A) =
$10choose4$$.$ $frac{1}{10}$$^4$$.$$(1-frac{1}{10}$)$^6$ +
$10choose5$$.$ $frac{1}{10}$$^5$$.$$(1-frac{1}{10}$)$^5$ +
$10choose6$$.$ $frac{1}{10}$$^6$$.$$(1-frac{1}{10}$)$^4$ +
$10choose7$$.$ $frac{1}{10}$$^7$$.$$(1-frac{1}{10}$)$^3$ +
$10choose8$$.$ $frac{1}{10}$$^8$$.$$(1-frac{1}{10}$)$^2$ +
$10choose9$$.$ $frac{1}{10}$$^9$$.$$(1-frac{1}{10}$)$^1$ +
$10choose10$$.$ $frac{1}{10}$$^{10}$$.$$(1-frac{1}{10}$)$^0$ +
= $0.012795$
P(A $bigcap$B) = $frac{1}{2}*0.012795$
Pr(A|B) = $frac{frac{1}{2}*0.012795}{2}$
Pr(A|B) = $0.012795$
Where did I go wrong with this approach? I find finding P(A) very time consuming, I feel like there has to be a much more simpler approach.
probability probability-theory discrete-mathematics random-variables conditional-probability
$endgroup$
3
$begingroup$
Your set contains $100$ elements but you are working with $10$. Is there a typo?
$endgroup$
– Anurag A
Nov 30 '18 at 4:20
$begingroup$
@Anurag A yes it was a typo, set has 10 elements not 100
$endgroup$
– Toby
Nov 30 '18 at 4:37
add a comment |
$begingroup$
Question:
Let X = $({1,2,3,..,10})$ Let $Y$ be a uniformly random subset of $X$. Define the events:
A = “$Y$ contains at least $4$ elements",
B = “all elements of $Y$ are even".
What is $Pr(A|B)$?
Answer: 0.1875
Attempt:
I know that P(A $bigcap$ B) / P(B) is what I have to ultimately find.
For $P(B)$ = $frac{5}{10}$ = $frac{1}{2}$
For P(A) => Must have exactly 4, 5, 6, 7, 8, 9, 10 elements
So, I used the binomial for this by doing:
P(A) =
$10choose4$$.$ $frac{1}{10}$$^4$$.$$(1-frac{1}{10}$)$^6$ +
$10choose5$$.$ $frac{1}{10}$$^5$$.$$(1-frac{1}{10}$)$^5$ +
$10choose6$$.$ $frac{1}{10}$$^6$$.$$(1-frac{1}{10}$)$^4$ +
$10choose7$$.$ $frac{1}{10}$$^7$$.$$(1-frac{1}{10}$)$^3$ +
$10choose8$$.$ $frac{1}{10}$$^8$$.$$(1-frac{1}{10}$)$^2$ +
$10choose9$$.$ $frac{1}{10}$$^9$$.$$(1-frac{1}{10}$)$^1$ +
$10choose10$$.$ $frac{1}{10}$$^{10}$$.$$(1-frac{1}{10}$)$^0$ +
= $0.012795$
P(A $bigcap$B) = $frac{1}{2}*0.012795$
Pr(A|B) = $frac{frac{1}{2}*0.012795}{2}$
Pr(A|B) = $0.012795$
Where did I go wrong with this approach? I find finding P(A) very time consuming, I feel like there has to be a much more simpler approach.
probability probability-theory discrete-mathematics random-variables conditional-probability
$endgroup$
Question:
Let X = $({1,2,3,..,10})$ Let $Y$ be a uniformly random subset of $X$. Define the events:
A = “$Y$ contains at least $4$ elements",
B = “all elements of $Y$ are even".
What is $Pr(A|B)$?
Answer: 0.1875
Attempt:
I know that P(A $bigcap$ B) / P(B) is what I have to ultimately find.
For $P(B)$ = $frac{5}{10}$ = $frac{1}{2}$
For P(A) => Must have exactly 4, 5, 6, 7, 8, 9, 10 elements
So, I used the binomial for this by doing:
P(A) =
$10choose4$$.$ $frac{1}{10}$$^4$$.$$(1-frac{1}{10}$)$^6$ +
$10choose5$$.$ $frac{1}{10}$$^5$$.$$(1-frac{1}{10}$)$^5$ +
$10choose6$$.$ $frac{1}{10}$$^6$$.$$(1-frac{1}{10}$)$^4$ +
$10choose7$$.$ $frac{1}{10}$$^7$$.$$(1-frac{1}{10}$)$^3$ +
$10choose8$$.$ $frac{1}{10}$$^8$$.$$(1-frac{1}{10}$)$^2$ +
$10choose9$$.$ $frac{1}{10}$$^9$$.$$(1-frac{1}{10}$)$^1$ +
$10choose10$$.$ $frac{1}{10}$$^{10}$$.$$(1-frac{1}{10}$)$^0$ +
= $0.012795$
P(A $bigcap$B) = $frac{1}{2}*0.012795$
Pr(A|B) = $frac{frac{1}{2}*0.012795}{2}$
Pr(A|B) = $0.012795$
Where did I go wrong with this approach? I find finding P(A) very time consuming, I feel like there has to be a much more simpler approach.
probability probability-theory discrete-mathematics random-variables conditional-probability
probability probability-theory discrete-mathematics random-variables conditional-probability
edited Nov 30 '18 at 4:37
Toby
asked Nov 30 '18 at 4:18
TobyToby
1577
1577
3
$begingroup$
Your set contains $100$ elements but you are working with $10$. Is there a typo?
$endgroup$
– Anurag A
Nov 30 '18 at 4:20
$begingroup$
@Anurag A yes it was a typo, set has 10 elements not 100
$endgroup$
– Toby
Nov 30 '18 at 4:37
add a comment |
3
$begingroup$
Your set contains $100$ elements but you are working with $10$. Is there a typo?
$endgroup$
– Anurag A
Nov 30 '18 at 4:20
$begingroup$
@Anurag A yes it was a typo, set has 10 elements not 100
$endgroup$
– Toby
Nov 30 '18 at 4:37
3
3
$begingroup$
Your set contains $100$ elements but you are working with $10$. Is there a typo?
$endgroup$
– Anurag A
Nov 30 '18 at 4:20
$begingroup$
Your set contains $100$ elements but you are working with $10$. Is there a typo?
$endgroup$
– Anurag A
Nov 30 '18 at 4:20
$begingroup$
@Anurag A yes it was a typo, set has 10 elements not 100
$endgroup$
– Toby
Nov 30 '18 at 4:37
$begingroup$
@Anurag A yes it was a typo, set has 10 elements not 100
$endgroup$
– Toby
Nov 30 '18 at 4:37
add a comment |
2 Answers
2
active
oldest
votes
$begingroup$
$5$ elements of $X$ are even.
To have at least $4$ elements and all elements are even, you have either $4$ elements ($5$ ways, choose one to leave out) or $5$ elements ($1$ way).
$$frac{1+5}{2^{5}}=frac{6}{32}$$
Remark:
We are choosing uniformly over all subsets. $P(B)= frac{2^5}{2^{10}} ne frac{5}{10}$.
We don't have to find $P(A)$, what is of interest is $P(A cap B)$.
We do not have $P(A cap B)=P(A)P(B)$ in general, we need independence.
$endgroup$
$begingroup$
How do I calculate $mathsf P(Acap B)$? I thought I can use the binomial to calculate P(A)
$endgroup$
– Toby
Nov 30 '18 at 4:55
$begingroup$
$P(A cap B) = frac{1+5}{2^{10}}$ only those $6$ sets that I described satisfies the condition.
$endgroup$
– Siong Thye Goh
Nov 30 '18 at 4:57
$begingroup$
if the events were A= 1 is an element of Y and B= 7 is an element of Y and subset Y has size =5, would I just take the 2^1/2^10 as the probability of A and B? And for P(A int B) = 2^2/2^5. So P(A|B) = 2^2/2^5 / 2/2^10?
$endgroup$
– Toby
Nov 30 '18 at 21:38
$begingroup$
not really, if $A$ is $1$ must be an element of $Y$, then there are $2^9$ of them, because you get to choose for the ohters whether they should be included. You can use the similar reasoning for the rest.
$endgroup$
– Siong Thye Goh
Dec 1 '18 at 4:33
add a comment |
$begingroup$
Why are you using binomial distribution to evaluate the probabilities for event $A$, when $Y$ is a uniformly random subset of $X$? That means that every element (ie subset of $X$) of the powerset of $X$ (the sample space) has an equal probability of being selected. Just count the favoured and total spaces.
$mathsf P(Acap B)=mathsf P(B)~mathsf P(A)$ is only true for independent events, of which these are not. Evaluate $mathsf P(Acap B)$ using a similar method as you should have evaluated $mathsf P(A)$.
$mathsf P(B) neq tfrac 12$. The event of "all the elements of $Y$ are even" is not exactly half of the sample space, which may be partitioned by "all the elements of $Y$ are even", "all of the elements of $Y$ are odd", and "some of the elements of $Y$ are even, and some are odd." Rethink.
$endgroup$
$begingroup$
I'm not sure on how to calculate $mathsf P(Acap B)$? Is the binomial method applicable here? For uniformly random subsets, I take it that the binomial can't be used?
$endgroup$
– Toby
Nov 30 '18 at 4:54
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%2f3019627%2fconditional-probability-of-a-uniform-random-subset%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$
$5$ elements of $X$ are even.
To have at least $4$ elements and all elements are even, you have either $4$ elements ($5$ ways, choose one to leave out) or $5$ elements ($1$ way).
$$frac{1+5}{2^{5}}=frac{6}{32}$$
Remark:
We are choosing uniformly over all subsets. $P(B)= frac{2^5}{2^{10}} ne frac{5}{10}$.
We don't have to find $P(A)$, what is of interest is $P(A cap B)$.
We do not have $P(A cap B)=P(A)P(B)$ in general, we need independence.
$endgroup$
$begingroup$
How do I calculate $mathsf P(Acap B)$? I thought I can use the binomial to calculate P(A)
$endgroup$
– Toby
Nov 30 '18 at 4:55
$begingroup$
$P(A cap B) = frac{1+5}{2^{10}}$ only those $6$ sets that I described satisfies the condition.
$endgroup$
– Siong Thye Goh
Nov 30 '18 at 4:57
$begingroup$
if the events were A= 1 is an element of Y and B= 7 is an element of Y and subset Y has size =5, would I just take the 2^1/2^10 as the probability of A and B? And for P(A int B) = 2^2/2^5. So P(A|B) = 2^2/2^5 / 2/2^10?
$endgroup$
– Toby
Nov 30 '18 at 21:38
$begingroup$
not really, if $A$ is $1$ must be an element of $Y$, then there are $2^9$ of them, because you get to choose for the ohters whether they should be included. You can use the similar reasoning for the rest.
$endgroup$
– Siong Thye Goh
Dec 1 '18 at 4:33
add a comment |
$begingroup$
$5$ elements of $X$ are even.
To have at least $4$ elements and all elements are even, you have either $4$ elements ($5$ ways, choose one to leave out) or $5$ elements ($1$ way).
$$frac{1+5}{2^{5}}=frac{6}{32}$$
Remark:
We are choosing uniformly over all subsets. $P(B)= frac{2^5}{2^{10}} ne frac{5}{10}$.
We don't have to find $P(A)$, what is of interest is $P(A cap B)$.
We do not have $P(A cap B)=P(A)P(B)$ in general, we need independence.
$endgroup$
$begingroup$
How do I calculate $mathsf P(Acap B)$? I thought I can use the binomial to calculate P(A)
$endgroup$
– Toby
Nov 30 '18 at 4:55
$begingroup$
$P(A cap B) = frac{1+5}{2^{10}}$ only those $6$ sets that I described satisfies the condition.
$endgroup$
– Siong Thye Goh
Nov 30 '18 at 4:57
$begingroup$
if the events were A= 1 is an element of Y and B= 7 is an element of Y and subset Y has size =5, would I just take the 2^1/2^10 as the probability of A and B? And for P(A int B) = 2^2/2^5. So P(A|B) = 2^2/2^5 / 2/2^10?
$endgroup$
– Toby
Nov 30 '18 at 21:38
$begingroup$
not really, if $A$ is $1$ must be an element of $Y$, then there are $2^9$ of them, because you get to choose for the ohters whether they should be included. You can use the similar reasoning for the rest.
$endgroup$
– Siong Thye Goh
Dec 1 '18 at 4:33
add a comment |
$begingroup$
$5$ elements of $X$ are even.
To have at least $4$ elements and all elements are even, you have either $4$ elements ($5$ ways, choose one to leave out) or $5$ elements ($1$ way).
$$frac{1+5}{2^{5}}=frac{6}{32}$$
Remark:
We are choosing uniformly over all subsets. $P(B)= frac{2^5}{2^{10}} ne frac{5}{10}$.
We don't have to find $P(A)$, what is of interest is $P(A cap B)$.
We do not have $P(A cap B)=P(A)P(B)$ in general, we need independence.
$endgroup$
$5$ elements of $X$ are even.
To have at least $4$ elements and all elements are even, you have either $4$ elements ($5$ ways, choose one to leave out) or $5$ elements ($1$ way).
$$frac{1+5}{2^{5}}=frac{6}{32}$$
Remark:
We are choosing uniformly over all subsets. $P(B)= frac{2^5}{2^{10}} ne frac{5}{10}$.
We don't have to find $P(A)$, what is of interest is $P(A cap B)$.
We do not have $P(A cap B)=P(A)P(B)$ in general, we need independence.
answered Nov 30 '18 at 4:40
Siong Thye GohSiong Thye Goh
100k1465117
100k1465117
$begingroup$
How do I calculate $mathsf P(Acap B)$? I thought I can use the binomial to calculate P(A)
$endgroup$
– Toby
Nov 30 '18 at 4:55
$begingroup$
$P(A cap B) = frac{1+5}{2^{10}}$ only those $6$ sets that I described satisfies the condition.
$endgroup$
– Siong Thye Goh
Nov 30 '18 at 4:57
$begingroup$
if the events were A= 1 is an element of Y and B= 7 is an element of Y and subset Y has size =5, would I just take the 2^1/2^10 as the probability of A and B? And for P(A int B) = 2^2/2^5. So P(A|B) = 2^2/2^5 / 2/2^10?
$endgroup$
– Toby
Nov 30 '18 at 21:38
$begingroup$
not really, if $A$ is $1$ must be an element of $Y$, then there are $2^9$ of them, because you get to choose for the ohters whether they should be included. You can use the similar reasoning for the rest.
$endgroup$
– Siong Thye Goh
Dec 1 '18 at 4:33
add a comment |
$begingroup$
How do I calculate $mathsf P(Acap B)$? I thought I can use the binomial to calculate P(A)
$endgroup$
– Toby
Nov 30 '18 at 4:55
$begingroup$
$P(A cap B) = frac{1+5}{2^{10}}$ only those $6$ sets that I described satisfies the condition.
$endgroup$
– Siong Thye Goh
Nov 30 '18 at 4:57
$begingroup$
if the events were A= 1 is an element of Y and B= 7 is an element of Y and subset Y has size =5, would I just take the 2^1/2^10 as the probability of A and B? And for P(A int B) = 2^2/2^5. So P(A|B) = 2^2/2^5 / 2/2^10?
$endgroup$
– Toby
Nov 30 '18 at 21:38
$begingroup$
not really, if $A$ is $1$ must be an element of $Y$, then there are $2^9$ of them, because you get to choose for the ohters whether they should be included. You can use the similar reasoning for the rest.
$endgroup$
– Siong Thye Goh
Dec 1 '18 at 4:33
$begingroup$
How do I calculate $mathsf P(Acap B)$? I thought I can use the binomial to calculate P(A)
$endgroup$
– Toby
Nov 30 '18 at 4:55
$begingroup$
How do I calculate $mathsf P(Acap B)$? I thought I can use the binomial to calculate P(A)
$endgroup$
– Toby
Nov 30 '18 at 4:55
$begingroup$
$P(A cap B) = frac{1+5}{2^{10}}$ only those $6$ sets that I described satisfies the condition.
$endgroup$
– Siong Thye Goh
Nov 30 '18 at 4:57
$begingroup$
$P(A cap B) = frac{1+5}{2^{10}}$ only those $6$ sets that I described satisfies the condition.
$endgroup$
– Siong Thye Goh
Nov 30 '18 at 4:57
$begingroup$
if the events were A= 1 is an element of Y and B= 7 is an element of Y and subset Y has size =5, would I just take the 2^1/2^10 as the probability of A and B? And for P(A int B) = 2^2/2^5. So P(A|B) = 2^2/2^5 / 2/2^10?
$endgroup$
– Toby
Nov 30 '18 at 21:38
$begingroup$
if the events were A= 1 is an element of Y and B= 7 is an element of Y and subset Y has size =5, would I just take the 2^1/2^10 as the probability of A and B? And for P(A int B) = 2^2/2^5. So P(A|B) = 2^2/2^5 / 2/2^10?
$endgroup$
– Toby
Nov 30 '18 at 21:38
$begingroup$
not really, if $A$ is $1$ must be an element of $Y$, then there are $2^9$ of them, because you get to choose for the ohters whether they should be included. You can use the similar reasoning for the rest.
$endgroup$
– Siong Thye Goh
Dec 1 '18 at 4:33
$begingroup$
not really, if $A$ is $1$ must be an element of $Y$, then there are $2^9$ of them, because you get to choose for the ohters whether they should be included. You can use the similar reasoning for the rest.
$endgroup$
– Siong Thye Goh
Dec 1 '18 at 4:33
add a comment |
$begingroup$
Why are you using binomial distribution to evaluate the probabilities for event $A$, when $Y$ is a uniformly random subset of $X$? That means that every element (ie subset of $X$) of the powerset of $X$ (the sample space) has an equal probability of being selected. Just count the favoured and total spaces.
$mathsf P(Acap B)=mathsf P(B)~mathsf P(A)$ is only true for independent events, of which these are not. Evaluate $mathsf P(Acap B)$ using a similar method as you should have evaluated $mathsf P(A)$.
$mathsf P(B) neq tfrac 12$. The event of "all the elements of $Y$ are even" is not exactly half of the sample space, which may be partitioned by "all the elements of $Y$ are even", "all of the elements of $Y$ are odd", and "some of the elements of $Y$ are even, and some are odd." Rethink.
$endgroup$
$begingroup$
I'm not sure on how to calculate $mathsf P(Acap B)$? Is the binomial method applicable here? For uniformly random subsets, I take it that the binomial can't be used?
$endgroup$
– Toby
Nov 30 '18 at 4:54
add a comment |
$begingroup$
Why are you using binomial distribution to evaluate the probabilities for event $A$, when $Y$ is a uniformly random subset of $X$? That means that every element (ie subset of $X$) of the powerset of $X$ (the sample space) has an equal probability of being selected. Just count the favoured and total spaces.
$mathsf P(Acap B)=mathsf P(B)~mathsf P(A)$ is only true for independent events, of which these are not. Evaluate $mathsf P(Acap B)$ using a similar method as you should have evaluated $mathsf P(A)$.
$mathsf P(B) neq tfrac 12$. The event of "all the elements of $Y$ are even" is not exactly half of the sample space, which may be partitioned by "all the elements of $Y$ are even", "all of the elements of $Y$ are odd", and "some of the elements of $Y$ are even, and some are odd." Rethink.
$endgroup$
$begingroup$
I'm not sure on how to calculate $mathsf P(Acap B)$? Is the binomial method applicable here? For uniformly random subsets, I take it that the binomial can't be used?
$endgroup$
– Toby
Nov 30 '18 at 4:54
add a comment |
$begingroup$
Why are you using binomial distribution to evaluate the probabilities for event $A$, when $Y$ is a uniformly random subset of $X$? That means that every element (ie subset of $X$) of the powerset of $X$ (the sample space) has an equal probability of being selected. Just count the favoured and total spaces.
$mathsf P(Acap B)=mathsf P(B)~mathsf P(A)$ is only true for independent events, of which these are not. Evaluate $mathsf P(Acap B)$ using a similar method as you should have evaluated $mathsf P(A)$.
$mathsf P(B) neq tfrac 12$. The event of "all the elements of $Y$ are even" is not exactly half of the sample space, which may be partitioned by "all the elements of $Y$ are even", "all of the elements of $Y$ are odd", and "some of the elements of $Y$ are even, and some are odd." Rethink.
$endgroup$
Why are you using binomial distribution to evaluate the probabilities for event $A$, when $Y$ is a uniformly random subset of $X$? That means that every element (ie subset of $X$) of the powerset of $X$ (the sample space) has an equal probability of being selected. Just count the favoured and total spaces.
$mathsf P(Acap B)=mathsf P(B)~mathsf P(A)$ is only true for independent events, of which these are not. Evaluate $mathsf P(Acap B)$ using a similar method as you should have evaluated $mathsf P(A)$.
$mathsf P(B) neq tfrac 12$. The event of "all the elements of $Y$ are even" is not exactly half of the sample space, which may be partitioned by "all the elements of $Y$ are even", "all of the elements of $Y$ are odd", and "some of the elements of $Y$ are even, and some are odd." Rethink.
edited Nov 30 '18 at 4:44
answered Nov 30 '18 at 4:37
Graham KempGraham Kemp
84.9k43378
84.9k43378
$begingroup$
I'm not sure on how to calculate $mathsf P(Acap B)$? Is the binomial method applicable here? For uniformly random subsets, I take it that the binomial can't be used?
$endgroup$
– Toby
Nov 30 '18 at 4:54
add a comment |
$begingroup$
I'm not sure on how to calculate $mathsf P(Acap B)$? Is the binomial method applicable here? For uniformly random subsets, I take it that the binomial can't be used?
$endgroup$
– Toby
Nov 30 '18 at 4:54
$begingroup$
I'm not sure on how to calculate $mathsf P(Acap B)$? Is the binomial method applicable here? For uniformly random subsets, I take it that the binomial can't be used?
$endgroup$
– Toby
Nov 30 '18 at 4:54
$begingroup$
I'm not sure on how to calculate $mathsf P(Acap B)$? Is the binomial method applicable here? For uniformly random subsets, I take it that the binomial can't be used?
$endgroup$
– Toby
Nov 30 '18 at 4:54
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%2f3019627%2fconditional-probability-of-a-uniform-random-subset%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
3
$begingroup$
Your set contains $100$ elements but you are working with $10$. Is there a typo?
$endgroup$
– Anurag A
Nov 30 '18 at 4:20
$begingroup$
@Anurag A yes it was a typo, set has 10 elements not 100
$endgroup$
– Toby
Nov 30 '18 at 4:37