document.write( "Question 1196670: DATA CHART https://imagizer.imageshack.com/img922/1214/IzuZwz.png
\n" ); document.write( "a) Find the conditional probability of survival for each type of ticket.
\n" ); document.write( "​P(Survived | ​First-class)
\n" ); document.write( "  
\n" ); document.write( "enter your response here
\n" ); document.write( "​P(Survived | ​Second-class)
\n" ); document.write( "  
\n" ); document.write( "enter your response here
\n" ); document.write( "​P(Survived | ​Third-class)
\n" ); document.write( "  
\n" ); document.write( "enter your response here
\n" ); document.write( "​P(Survived | ​Crew)
\n" ); document.write( "  
\n" ); document.write( "enter your response here
\n" ); document.write( "​(Round to three decimal places as​ needed.)\r
\n" ); document.write( "\n" ); document.write( "Given that a passenger ​, what is the probability they had a ​-class ​ticket?
\n" ); document.write( "  
\n" ); document.write( "

Algebra.Com's Answer #829615 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "The notation P(A | B) means \"P(A) given event B happened\"
\n" ); document.write( "We could write like \"P(A given B)\"\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So asking something like P(survived | first class) means we know the person is in first class.
\n" ); document.write( "Since we can rewrite it as P(Survived given they are in first class)
\n" ); document.write( "There are 220+123 = 343 such people in first class.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Of this group of 343 people, 220 survived.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Therefore, 220/343 = 0.641 approximately is the probability of a survivor given they are in first class.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "---------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "We do the same thing for parts 2 through 4.
\n" ); document.write( "I'll do the second part and leave parts 3 and 4 for you to do on your own. \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "P(survived given second-class) = (number of second-class survivors)/(number of people in second-class)
\n" ); document.write( "P(survived given second-class) = (114)/(114+171)
\n" ); document.write( "P(survived given second-class) = 114/285
\n" ); document.write( "P(survived given second-class) = 0.4 exactly\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You could write that as 0.400 or leave it as 0.4\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "---------------------------------------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The last part of your question is garbled and missing important info.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You wrote \"given that a passenger ____, what is the probability they had a ____ class ticket\" but forgot to fill in those blanks\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "I'll go over an example\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Question: given that a passenger   survived  , what is the probability they had a   first   class ticket?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Solution:
\n" ); document.write( "There are 713 total survivors, which is the total of everything along row one (ignore the 713 in that row since it's the result of adding everything else)
\n" ); document.write( "220+114+174+205 = 713\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are 220 survivors from first class (upper left corner)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The probability we get is therefore 220/713 = 0.309 approximately\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "If we know for certain the person is a survivor, then there's a 30.9% chance they are from first class.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Once again, this answer applies to a hypothetical example since I don't know what the full original question was. But you'll use this example template to answer your specific question.
\n" ); document.write( "
\n" ); document.write( "
\n" );