How to calculate the XOR probabilityProbabilities of a race outcomeHow do I formalize this probability exercise?Calculating a metric to compare multiple posterior probability distributionsProbability question with bounds?probability over 3 values with dependencyNeed assistance with conditional probability problemConditional probability in a Pakistani cricket tournamentThree shooters shoot a targetIf today is sunny, what is the probability that day after tomorrow will be cloudy?Markov Process and interpretation of the transition matrices

Do f-stop and exposure time perfectly cancel?

How did Alan Turing break the enigma code using the hint given by the lady in the bar?

Should I tell my boss the work he did was worthless

Making a sword in the stone, in a medieval world without magic

PTIJ: Why can't I eat anything?

What Happens when Passenger Refuses to Fly Boeing 737 Max?

Can you reject a postdoc offer after the PI has paid a large sum for flights/accommodation for your visit?

How to create a hard link to an inode (ext4)?

Should I take out a loan for a friend to invest on my behalf?

How do I deal with a powergamer in a game full of beginners in a school club?

Word for a person who has no opinion about whether god exists

Space in array system equations

What to do when during a meeting client people start to fight (even physically) with each others?

What are some noteworthy "mic-drop" moments in math?

Could you please stop shuffling the deck and play already?

"One can do his homework in the library"

Is Gradient Descent central to every optimizer?

Is there an elementary proof that there are infinitely many primes that are *not* completely split in an abelian extension?

How to pass a string to a command that expects a file?

Unreachable code, but reachable with exception

Look through the portal of every day

Solving "Resistance between two nodes on a grid" problem in Mathematica

What is the likely impact of grounding an entire aircraft series?

In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?



How to calculate the XOR probability


Probabilities of a race outcomeHow do I formalize this probability exercise?Calculating a metric to compare multiple posterior probability distributionsProbability question with bounds?probability over 3 values with dependencyNeed assistance with conditional probability problemConditional probability in a Pakistani cricket tournamentThree shooters shoot a targetIf today is sunny, what is the probability that day after tomorrow will be cloudy?Markov Process and interpretation of the transition matrices













0












$begingroup$


I have some questions regarding this problem:




Arthur and Dutch are planned together to go out the next Saturday which is predicted to be sunny.
There is a probability of 0.4 that Dutch wears sunglasses the day they are supposed to meet. The probability that Arthur wears sunglasses on the same day is 0.7 if Dutch wears sunglasses and 0.35 if he does not.




The question is:




What is the probability that exactly one of them wear sunglasses on the day they are supposed to meet?




Let A be Arthur wears glasses, and D be Dutch wears glasses.



Is it $P(A oplus D)$? I can think of two formula, but I'm not sure about the difference:



  1. $P(A cap barD) + P(D cap barA)= P(A cup D)-P(A cap D) = 0.33$

  2. $P(A cap barD) + P(D cap barA)= P(A | barD)P(barD) + P(D|barA)P(barA) = 0.35*0.6+0.235294...*0.51$

However, they yield different results.
In the second, I used this formula to calculate $P(barA)$



$P(A) = P(A | barD)P(barD) + P(A|D)P(D) = 0.6*0.35+0.4*0.7 = 0.49$
$P(barA) = 0.51$



$P(D|barA) = P(D cap barA)/P(barA) = (P(D)-P(A cap D))/0.51 = (0.4-0.28)/0.51=0.235294...$



Which solution is true, and what is the problem with different results. I doubt the second one is correct because of the result.










share|cite|improve this question









$endgroup$











  • $begingroup$
    It seems to me that both results agree. Did you try computing the expression you get from the second approach?
    $endgroup$
    – Pedro
    2 days ago















0












$begingroup$


I have some questions regarding this problem:




Arthur and Dutch are planned together to go out the next Saturday which is predicted to be sunny.
There is a probability of 0.4 that Dutch wears sunglasses the day they are supposed to meet. The probability that Arthur wears sunglasses on the same day is 0.7 if Dutch wears sunglasses and 0.35 if he does not.




The question is:




What is the probability that exactly one of them wear sunglasses on the day they are supposed to meet?




Let A be Arthur wears glasses, and D be Dutch wears glasses.



Is it $P(A oplus D)$? I can think of two formula, but I'm not sure about the difference:



  1. $P(A cap barD) + P(D cap barA)= P(A cup D)-P(A cap D) = 0.33$

  2. $P(A cap barD) + P(D cap barA)= P(A | barD)P(barD) + P(D|barA)P(barA) = 0.35*0.6+0.235294...*0.51$

However, they yield different results.
In the second, I used this formula to calculate $P(barA)$



$P(A) = P(A | barD)P(barD) + P(A|D)P(D) = 0.6*0.35+0.4*0.7 = 0.49$
$P(barA) = 0.51$



$P(D|barA) = P(D cap barA)/P(barA) = (P(D)-P(A cap D))/0.51 = (0.4-0.28)/0.51=0.235294...$



Which solution is true, and what is the problem with different results. I doubt the second one is correct because of the result.










share|cite|improve this question









$endgroup$











  • $begingroup$
    It seems to me that both results agree. Did you try computing the expression you get from the second approach?
    $endgroup$
    – Pedro
    2 days ago













0












0








0





$begingroup$


I have some questions regarding this problem:




Arthur and Dutch are planned together to go out the next Saturday which is predicted to be sunny.
There is a probability of 0.4 that Dutch wears sunglasses the day they are supposed to meet. The probability that Arthur wears sunglasses on the same day is 0.7 if Dutch wears sunglasses and 0.35 if he does not.




The question is:




What is the probability that exactly one of them wear sunglasses on the day they are supposed to meet?




Let A be Arthur wears glasses, and D be Dutch wears glasses.



Is it $P(A oplus D)$? I can think of two formula, but I'm not sure about the difference:



  1. $P(A cap barD) + P(D cap barA)= P(A cup D)-P(A cap D) = 0.33$

  2. $P(A cap barD) + P(D cap barA)= P(A | barD)P(barD) + P(D|barA)P(barA) = 0.35*0.6+0.235294...*0.51$

However, they yield different results.
In the second, I used this formula to calculate $P(barA)$



$P(A) = P(A | barD)P(barD) + P(A|D)P(D) = 0.6*0.35+0.4*0.7 = 0.49$
$P(barA) = 0.51$



$P(D|barA) = P(D cap barA)/P(barA) = (P(D)-P(A cap D))/0.51 = (0.4-0.28)/0.51=0.235294...$



Which solution is true, and what is the problem with different results. I doubt the second one is correct because of the result.










share|cite|improve this question









$endgroup$




I have some questions regarding this problem:




Arthur and Dutch are planned together to go out the next Saturday which is predicted to be sunny.
There is a probability of 0.4 that Dutch wears sunglasses the day they are supposed to meet. The probability that Arthur wears sunglasses on the same day is 0.7 if Dutch wears sunglasses and 0.35 if he does not.




The question is:




What is the probability that exactly one of them wear sunglasses on the day they are supposed to meet?




Let A be Arthur wears glasses, and D be Dutch wears glasses.



Is it $P(A oplus D)$? I can think of two formula, but I'm not sure about the difference:



  1. $P(A cap barD) + P(D cap barA)= P(A cup D)-P(A cap D) = 0.33$

  2. $P(A cap barD) + P(D cap barA)= P(A | barD)P(barD) + P(D|barA)P(barA) = 0.35*0.6+0.235294...*0.51$

However, they yield different results.
In the second, I used this formula to calculate $P(barA)$



$P(A) = P(A | barD)P(barD) + P(A|D)P(D) = 0.6*0.35+0.4*0.7 = 0.49$
$P(barA) = 0.51$



$P(D|barA) = P(D cap barA)/P(barA) = (P(D)-P(A cap D))/0.51 = (0.4-0.28)/0.51=0.235294...$



Which solution is true, and what is the problem with different results. I doubt the second one is correct because of the result.







probability






share|cite|improve this question













share|cite|improve this question











share|cite|improve this question




share|cite|improve this question










asked 2 days ago









AhmadAhmad

23119




23119











  • $begingroup$
    It seems to me that both results agree. Did you try computing the expression you get from the second approach?
    $endgroup$
    – Pedro
    2 days ago
















  • $begingroup$
    It seems to me that both results agree. Did you try computing the expression you get from the second approach?
    $endgroup$
    – Pedro
    2 days ago















$begingroup$
It seems to me that both results agree. Did you try computing the expression you get from the second approach?
$endgroup$
– Pedro
2 days ago




$begingroup$
It seems to me that both results agree. Did you try computing the expression you get from the second approach?
$endgroup$
– Pedro
2 days ago










1 Answer
1






active

oldest

votes


















1












$begingroup$

The results agree. It helps to work in fractions rather than decimals. Then $0.235dots$ becomes $frac1251$, so the second method returns $frac21100+frac1251frac51100=frac33100$.



You might have found $P(DcapoverlineA)$ easier to compute as $P(overlineA|D)P(D)=0.3times 0.4=0.12$.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thanks, I used the venn diagram for the second but the Bayes rule also works.
    $endgroup$
    – Ahmad
    2 days ago










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%2f3142168%2fhow-to-calculate-the-xor-probability%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












$begingroup$

The results agree. It helps to work in fractions rather than decimals. Then $0.235dots$ becomes $frac1251$, so the second method returns $frac21100+frac1251frac51100=frac33100$.



You might have found $P(DcapoverlineA)$ easier to compute as $P(overlineA|D)P(D)=0.3times 0.4=0.12$.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thanks, I used the venn diagram for the second but the Bayes rule also works.
    $endgroup$
    – Ahmad
    2 days ago















1












$begingroup$

The results agree. It helps to work in fractions rather than decimals. Then $0.235dots$ becomes $frac1251$, so the second method returns $frac21100+frac1251frac51100=frac33100$.



You might have found $P(DcapoverlineA)$ easier to compute as $P(overlineA|D)P(D)=0.3times 0.4=0.12$.






share|cite|improve this answer









$endgroup$












  • $begingroup$
    Thanks, I used the venn diagram for the second but the Bayes rule also works.
    $endgroup$
    – Ahmad
    2 days ago













1












1








1





$begingroup$

The results agree. It helps to work in fractions rather than decimals. Then $0.235dots$ becomes $frac1251$, so the second method returns $frac21100+frac1251frac51100=frac33100$.



You might have found $P(DcapoverlineA)$ easier to compute as $P(overlineA|D)P(D)=0.3times 0.4=0.12$.






share|cite|improve this answer









$endgroup$



The results agree. It helps to work in fractions rather than decimals. Then $0.235dots$ becomes $frac1251$, so the second method returns $frac21100+frac1251frac51100=frac33100$.



You might have found $P(DcapoverlineA)$ easier to compute as $P(overlineA|D)P(D)=0.3times 0.4=0.12$.







share|cite|improve this answer












share|cite|improve this answer



share|cite|improve this answer










answered 2 days ago









J.G.J.G.

29.8k22946




29.8k22946











  • $begingroup$
    Thanks, I used the venn diagram for the second but the Bayes rule also works.
    $endgroup$
    – Ahmad
    2 days ago
















  • $begingroup$
    Thanks, I used the venn diagram for the second but the Bayes rule also works.
    $endgroup$
    – Ahmad
    2 days ago















$begingroup$
Thanks, I used the venn diagram for the second but the Bayes rule also works.
$endgroup$
– Ahmad
2 days ago




$begingroup$
Thanks, I used the venn diagram for the second but the Bayes rule also works.
$endgroup$
– Ahmad
2 days ago

















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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f3142168%2fhow-to-calculate-the-xor-probability%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

Moe incest case Sentencing See also References Navigation menu"'Australian Josef Fritzl' fathered four children by daughter""Small town recoils in horror at 'Australian Fritzl' incest case""Victorian rape allegations echo Fritzl case - Just In (Australian Broadcasting Corporation)""Incest father jailed for 22 years""'Australian Fritzl' sentenced to 22 years in prison for abusing daughter for three decades""RSJ v The Queen"

Who is our nearest planetary neighbor, on average?Santa Claus flies to the South PoleSeven Spheres of Unequal Mass, a weighing problem with a twistDescribe a large integerFast Mental Calculation of $7.5^7$Math in Space (without the help of celebrities)Find the value of $bigstar$: Puzzle 8 - InequalityWho drinks beer while running anyway?A Crucial DeliveryRanking And AverageHow long will my money last at roulette?

Daza language Contents Vocabulary Phonology References External links Navigation menudaza1242Daza"Dazaga"eeee178086576