Discrete Probability: Determine if the events are Independent or not












0














Question: You flip a fair coin four times; these four flips are independent.
Define the events:



A = "the first two flips result (in this order) in HT",



B = "the second and third flips result in TT".



Are these independent or not? (Answer: Not Independent)



Attempt: To prove independence, I need to prove that P(A intersection B) = P(A)*P(B)



P(A):



Sample space is determined by 2^4=16



{HHHH HTHH THHH HTHT



HHHT HTTH TTHH THTH



HHTT HHTH TTTH THHT



HTTT TTTT TTHT THTT}



In this there are 4 events that start with HT,



Pr(A) = 4/16 = 1/4



Pr(B) = 4/16 = 1/4



Pr(A intersection B) = 2/16 = 1/8



Pr(A intersection B) = Pr(A)*Pr(B)
1/8 = 1/4 * 1/4
1/8 != 1/16



So they are not independent.



Am I correct with this approach? I had to google the 4 flip outcome set, is there another method to determine the individual probabilities and intersection probability without having to write out all the possible outcomes?



Question: You flip a fair coin five times; these five flips are independent.
Define the events:



A = "the first three flips result in HHH",



B = "the number of T in these five flips is at least two"



Are these independent or not? (Answer: Not Independent)



Attempt: Again for this, to prove independence, I need to prove that P(A INT B) = P(A)*P(B)



This time its 5 flips, so do I have to write out all 32 possible outcomes for this? Is there any other method I can use to solve the probabilities of Pr(A), Pr(B), and Pr(A intersection B) for this?










share|cite|improve this question






















  • There is no need to write out all the cases, you can do the count without listing. For your second question, for instance, the only event in $Acap B$ is $HHHTT$. That makes it easy to check everything.
    – lulu
    Nov 26 at 17:08










  • As an intuitive approach, imagine that flipping at least 2 T's counts as a win for you. Now knowing that the first three flips are HHH, doesn't that clearly make it less likely for you to win than you were at the beginning of the game? If so, the events are not independent.
    – Ned
    Nov 26 at 22:35
















0














Question: You flip a fair coin four times; these four flips are independent.
Define the events:



A = "the first two flips result (in this order) in HT",



B = "the second and third flips result in TT".



Are these independent or not? (Answer: Not Independent)



Attempt: To prove independence, I need to prove that P(A intersection B) = P(A)*P(B)



P(A):



Sample space is determined by 2^4=16



{HHHH HTHH THHH HTHT



HHHT HTTH TTHH THTH



HHTT HHTH TTTH THHT



HTTT TTTT TTHT THTT}



In this there are 4 events that start with HT,



Pr(A) = 4/16 = 1/4



Pr(B) = 4/16 = 1/4



Pr(A intersection B) = 2/16 = 1/8



Pr(A intersection B) = Pr(A)*Pr(B)
1/8 = 1/4 * 1/4
1/8 != 1/16



So they are not independent.



Am I correct with this approach? I had to google the 4 flip outcome set, is there another method to determine the individual probabilities and intersection probability without having to write out all the possible outcomes?



Question: You flip a fair coin five times; these five flips are independent.
Define the events:



A = "the first three flips result in HHH",



B = "the number of T in these five flips is at least two"



Are these independent or not? (Answer: Not Independent)



Attempt: Again for this, to prove independence, I need to prove that P(A INT B) = P(A)*P(B)



This time its 5 flips, so do I have to write out all 32 possible outcomes for this? Is there any other method I can use to solve the probabilities of Pr(A), Pr(B), and Pr(A intersection B) for this?










share|cite|improve this question






















  • There is no need to write out all the cases, you can do the count without listing. For your second question, for instance, the only event in $Acap B$ is $HHHTT$. That makes it easy to check everything.
    – lulu
    Nov 26 at 17:08










  • As an intuitive approach, imagine that flipping at least 2 T's counts as a win for you. Now knowing that the first three flips are HHH, doesn't that clearly make it less likely for you to win than you were at the beginning of the game? If so, the events are not independent.
    – Ned
    Nov 26 at 22:35














0












0








0







Question: You flip a fair coin four times; these four flips are independent.
Define the events:



A = "the first two flips result (in this order) in HT",



B = "the second and third flips result in TT".



Are these independent or not? (Answer: Not Independent)



Attempt: To prove independence, I need to prove that P(A intersection B) = P(A)*P(B)



P(A):



Sample space is determined by 2^4=16



{HHHH HTHH THHH HTHT



HHHT HTTH TTHH THTH



HHTT HHTH TTTH THHT



HTTT TTTT TTHT THTT}



In this there are 4 events that start with HT,



Pr(A) = 4/16 = 1/4



Pr(B) = 4/16 = 1/4



Pr(A intersection B) = 2/16 = 1/8



Pr(A intersection B) = Pr(A)*Pr(B)
1/8 = 1/4 * 1/4
1/8 != 1/16



So they are not independent.



Am I correct with this approach? I had to google the 4 flip outcome set, is there another method to determine the individual probabilities and intersection probability without having to write out all the possible outcomes?



Question: You flip a fair coin five times; these five flips are independent.
Define the events:



A = "the first three flips result in HHH",



B = "the number of T in these five flips is at least two"



Are these independent or not? (Answer: Not Independent)



Attempt: Again for this, to prove independence, I need to prove that P(A INT B) = P(A)*P(B)



This time its 5 flips, so do I have to write out all 32 possible outcomes for this? Is there any other method I can use to solve the probabilities of Pr(A), Pr(B), and Pr(A intersection B) for this?










share|cite|improve this question













Question: You flip a fair coin four times; these four flips are independent.
Define the events:



A = "the first two flips result (in this order) in HT",



B = "the second and third flips result in TT".



Are these independent or not? (Answer: Not Independent)



Attempt: To prove independence, I need to prove that P(A intersection B) = P(A)*P(B)



P(A):



Sample space is determined by 2^4=16



{HHHH HTHH THHH HTHT



HHHT HTTH TTHH THTH



HHTT HHTH TTTH THHT



HTTT TTTT TTHT THTT}



In this there are 4 events that start with HT,



Pr(A) = 4/16 = 1/4



Pr(B) = 4/16 = 1/4



Pr(A intersection B) = 2/16 = 1/8



Pr(A intersection B) = Pr(A)*Pr(B)
1/8 = 1/4 * 1/4
1/8 != 1/16



So they are not independent.



Am I correct with this approach? I had to google the 4 flip outcome set, is there another method to determine the individual probabilities and intersection probability without having to write out all the possible outcomes?



Question: You flip a fair coin five times; these five flips are independent.
Define the events:



A = "the first three flips result in HHH",



B = "the number of T in these five flips is at least two"



Are these independent or not? (Answer: Not Independent)



Attempt: Again for this, to prove independence, I need to prove that P(A INT B) = P(A)*P(B)



This time its 5 flips, so do I have to write out all 32 possible outcomes for this? Is there any other method I can use to solve the probabilities of Pr(A), Pr(B), and Pr(A intersection B) for this?







probability probability-theory discrete-mathematics independence






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked Nov 26 at 17:00









Toby

1577




1577












  • There is no need to write out all the cases, you can do the count without listing. For your second question, for instance, the only event in $Acap B$ is $HHHTT$. That makes it easy to check everything.
    – lulu
    Nov 26 at 17:08










  • As an intuitive approach, imagine that flipping at least 2 T's counts as a win for you. Now knowing that the first three flips are HHH, doesn't that clearly make it less likely for you to win than you were at the beginning of the game? If so, the events are not independent.
    – Ned
    Nov 26 at 22:35


















  • There is no need to write out all the cases, you can do the count without listing. For your second question, for instance, the only event in $Acap B$ is $HHHTT$. That makes it easy to check everything.
    – lulu
    Nov 26 at 17:08










  • As an intuitive approach, imagine that flipping at least 2 T's counts as a win for you. Now knowing that the first three flips are HHH, doesn't that clearly make it less likely for you to win than you were at the beginning of the game? If so, the events are not independent.
    – Ned
    Nov 26 at 22:35
















There is no need to write out all the cases, you can do the count without listing. For your second question, for instance, the only event in $Acap B$ is $HHHTT$. That makes it easy to check everything.
– lulu
Nov 26 at 17:08




There is no need to write out all the cases, you can do the count without listing. For your second question, for instance, the only event in $Acap B$ is $HHHTT$. That makes it easy to check everything.
– lulu
Nov 26 at 17:08












As an intuitive approach, imagine that flipping at least 2 T's counts as a win for you. Now knowing that the first three flips are HHH, doesn't that clearly make it less likely for you to win than you were at the beginning of the game? If so, the events are not independent.
– Ned
Nov 26 at 22:35




As an intuitive approach, imagine that flipping at least 2 T's counts as a win for you. Now knowing that the first three flips are HHH, doesn't that clearly make it less likely for you to win than you were at the beginning of the game? If so, the events are not independent.
– Ned
Nov 26 at 22:35










1 Answer
1






active

oldest

votes


















1














There is no need to write everything out. As you are clearly aware, that becomes impossible (or at least unreasonable) as the numbers involved get bigger.



For your first question, say: The probability that the first two tosses are $HT$ is $frac 14$ (as you need the first toss to be $H$ and the second to be $T$, and tosses are independent.). The probability that the second and third are $TT$ is also $frac 14$. But the probability that the first three are $HTT$ is $frac 18$ by the same reasoning.



Note: the exact same calculation would work if you had a million tosses instead of four. No toss after the third has any bearing on the problem.



Similarly, for your second question: the probability that the string starts $HHH$ is $frac 18$. The probability that the string has at least two $T's$ is a bit harder, but we can get it from the binomial distribution. We see $$P(B)=frac 1{2^5}times left( binom 52+binom 53+binom 54+binom 55right)=frac {26}{32}$$
(you could also see this by subtracting from the total the strings with no $T$ or exactly one). Of course $$P(Acap B)=P(HHHTT)=frac 1{32}neq frac 18times frac {26}{32}=P(A)times P(B)$$ so the events are, again, dependent.






share|cite|improve this answer





















  • What is the general formula for the binomial distribution that you used in this case? And can it be applied to most of these coin flip probability questions?
    – Toby
    Nov 26 at 17:29






  • 1




    In general, if you have a binomial process with success probability $p$ and failure probability $q=1-p$, the probability that you will get exactly $k$ successes in $n$ trials is $binom nktimes p^ktimes q^{n-k}$.
    – lulu
    Nov 26 at 17:31












  • How did you use this formula when you found P(B)? It seems different than the generic one you just posted or am I missing something?
    – Toby
    Nov 26 at 17:37










  • In order to have at least two $T's$ out of five you must have exactly two, three, four, or five.
    – lulu
    Nov 26 at 17:56











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
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3014586%2fdiscrete-probability-determine-if-the-events-are-independent-or-not%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









1














There is no need to write everything out. As you are clearly aware, that becomes impossible (or at least unreasonable) as the numbers involved get bigger.



For your first question, say: The probability that the first two tosses are $HT$ is $frac 14$ (as you need the first toss to be $H$ and the second to be $T$, and tosses are independent.). The probability that the second and third are $TT$ is also $frac 14$. But the probability that the first three are $HTT$ is $frac 18$ by the same reasoning.



Note: the exact same calculation would work if you had a million tosses instead of four. No toss after the third has any bearing on the problem.



Similarly, for your second question: the probability that the string starts $HHH$ is $frac 18$. The probability that the string has at least two $T's$ is a bit harder, but we can get it from the binomial distribution. We see $$P(B)=frac 1{2^5}times left( binom 52+binom 53+binom 54+binom 55right)=frac {26}{32}$$
(you could also see this by subtracting from the total the strings with no $T$ or exactly one). Of course $$P(Acap B)=P(HHHTT)=frac 1{32}neq frac 18times frac {26}{32}=P(A)times P(B)$$ so the events are, again, dependent.






share|cite|improve this answer





















  • What is the general formula for the binomial distribution that you used in this case? And can it be applied to most of these coin flip probability questions?
    – Toby
    Nov 26 at 17:29






  • 1




    In general, if you have a binomial process with success probability $p$ and failure probability $q=1-p$, the probability that you will get exactly $k$ successes in $n$ trials is $binom nktimes p^ktimes q^{n-k}$.
    – lulu
    Nov 26 at 17:31












  • How did you use this formula when you found P(B)? It seems different than the generic one you just posted or am I missing something?
    – Toby
    Nov 26 at 17:37










  • In order to have at least two $T's$ out of five you must have exactly two, three, four, or five.
    – lulu
    Nov 26 at 17:56
















1














There is no need to write everything out. As you are clearly aware, that becomes impossible (or at least unreasonable) as the numbers involved get bigger.



For your first question, say: The probability that the first two tosses are $HT$ is $frac 14$ (as you need the first toss to be $H$ and the second to be $T$, and tosses are independent.). The probability that the second and third are $TT$ is also $frac 14$. But the probability that the first three are $HTT$ is $frac 18$ by the same reasoning.



Note: the exact same calculation would work if you had a million tosses instead of four. No toss after the third has any bearing on the problem.



Similarly, for your second question: the probability that the string starts $HHH$ is $frac 18$. The probability that the string has at least two $T's$ is a bit harder, but we can get it from the binomial distribution. We see $$P(B)=frac 1{2^5}times left( binom 52+binom 53+binom 54+binom 55right)=frac {26}{32}$$
(you could also see this by subtracting from the total the strings with no $T$ or exactly one). Of course $$P(Acap B)=P(HHHTT)=frac 1{32}neq frac 18times frac {26}{32}=P(A)times P(B)$$ so the events are, again, dependent.






share|cite|improve this answer





















  • What is the general formula for the binomial distribution that you used in this case? And can it be applied to most of these coin flip probability questions?
    – Toby
    Nov 26 at 17:29






  • 1




    In general, if you have a binomial process with success probability $p$ and failure probability $q=1-p$, the probability that you will get exactly $k$ successes in $n$ trials is $binom nktimes p^ktimes q^{n-k}$.
    – lulu
    Nov 26 at 17:31












  • How did you use this formula when you found P(B)? It seems different than the generic one you just posted or am I missing something?
    – Toby
    Nov 26 at 17:37










  • In order to have at least two $T's$ out of five you must have exactly two, three, four, or five.
    – lulu
    Nov 26 at 17:56














1












1








1






There is no need to write everything out. As you are clearly aware, that becomes impossible (or at least unreasonable) as the numbers involved get bigger.



For your first question, say: The probability that the first two tosses are $HT$ is $frac 14$ (as you need the first toss to be $H$ and the second to be $T$, and tosses are independent.). The probability that the second and third are $TT$ is also $frac 14$. But the probability that the first three are $HTT$ is $frac 18$ by the same reasoning.



Note: the exact same calculation would work if you had a million tosses instead of four. No toss after the third has any bearing on the problem.



Similarly, for your second question: the probability that the string starts $HHH$ is $frac 18$. The probability that the string has at least two $T's$ is a bit harder, but we can get it from the binomial distribution. We see $$P(B)=frac 1{2^5}times left( binom 52+binom 53+binom 54+binom 55right)=frac {26}{32}$$
(you could also see this by subtracting from the total the strings with no $T$ or exactly one). Of course $$P(Acap B)=P(HHHTT)=frac 1{32}neq frac 18times frac {26}{32}=P(A)times P(B)$$ so the events are, again, dependent.






share|cite|improve this answer












There is no need to write everything out. As you are clearly aware, that becomes impossible (or at least unreasonable) as the numbers involved get bigger.



For your first question, say: The probability that the first two tosses are $HT$ is $frac 14$ (as you need the first toss to be $H$ and the second to be $T$, and tosses are independent.). The probability that the second and third are $TT$ is also $frac 14$. But the probability that the first three are $HTT$ is $frac 18$ by the same reasoning.



Note: the exact same calculation would work if you had a million tosses instead of four. No toss after the third has any bearing on the problem.



Similarly, for your second question: the probability that the string starts $HHH$ is $frac 18$. The probability that the string has at least two $T's$ is a bit harder, but we can get it from the binomial distribution. We see $$P(B)=frac 1{2^5}times left( binom 52+binom 53+binom 54+binom 55right)=frac {26}{32}$$
(you could also see this by subtracting from the total the strings with no $T$ or exactly one). Of course $$P(Acap B)=P(HHHTT)=frac 1{32}neq frac 18times frac {26}{32}=P(A)times P(B)$$ so the events are, again, dependent.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered Nov 26 at 17:17









lulu

39k24677




39k24677












  • What is the general formula for the binomial distribution that you used in this case? And can it be applied to most of these coin flip probability questions?
    – Toby
    Nov 26 at 17:29






  • 1




    In general, if you have a binomial process with success probability $p$ and failure probability $q=1-p$, the probability that you will get exactly $k$ successes in $n$ trials is $binom nktimes p^ktimes q^{n-k}$.
    – lulu
    Nov 26 at 17:31












  • How did you use this formula when you found P(B)? It seems different than the generic one you just posted or am I missing something?
    – Toby
    Nov 26 at 17:37










  • In order to have at least two $T's$ out of five you must have exactly two, three, four, or five.
    – lulu
    Nov 26 at 17:56


















  • What is the general formula for the binomial distribution that you used in this case? And can it be applied to most of these coin flip probability questions?
    – Toby
    Nov 26 at 17:29






  • 1




    In general, if you have a binomial process with success probability $p$ and failure probability $q=1-p$, the probability that you will get exactly $k$ successes in $n$ trials is $binom nktimes p^ktimes q^{n-k}$.
    – lulu
    Nov 26 at 17:31












  • How did you use this formula when you found P(B)? It seems different than the generic one you just posted or am I missing something?
    – Toby
    Nov 26 at 17:37










  • In order to have at least two $T's$ out of five you must have exactly two, three, four, or five.
    – lulu
    Nov 26 at 17:56
















What is the general formula for the binomial distribution that you used in this case? And can it be applied to most of these coin flip probability questions?
– Toby
Nov 26 at 17:29




What is the general formula for the binomial distribution that you used in this case? And can it be applied to most of these coin flip probability questions?
– Toby
Nov 26 at 17:29




1




1




In general, if you have a binomial process with success probability $p$ and failure probability $q=1-p$, the probability that you will get exactly $k$ successes in $n$ trials is $binom nktimes p^ktimes q^{n-k}$.
– lulu
Nov 26 at 17:31






In general, if you have a binomial process with success probability $p$ and failure probability $q=1-p$, the probability that you will get exactly $k$ successes in $n$ trials is $binom nktimes p^ktimes q^{n-k}$.
– lulu
Nov 26 at 17:31














How did you use this formula when you found P(B)? It seems different than the generic one you just posted or am I missing something?
– Toby
Nov 26 at 17:37




How did you use this formula when you found P(B)? It seems different than the generic one you just posted or am I missing something?
– Toby
Nov 26 at 17:37












In order to have at least two $T's$ out of five you must have exactly two, three, four, or five.
– lulu
Nov 26 at 17:56




In order to have at least two $T's$ out of five you must have exactly two, three, four, or five.
– lulu
Nov 26 at 17:56


















draft saved

draft discarded




















































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.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • 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.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3014586%2fdiscrete-probability-determine-if-the-events-are-independent-or-not%23new-answer', 'question_page');
}
);

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







Popular posts from this blog

Probability when a professor distributes a quiz and homework assignment to a class of n students.

Aardman Animations

Are they similar matrix