{
  localUrl: '../page/conditional_probability_refresher.html',
  arbitalUrl: 'https://arbital.com/p/conditional_probability_refresher',
  rawJsonUrl: '../raw/565.json',
  likeableId: '2985',
  likeableType: 'page',
  myLikeValue: '0',
  likeCount: '1',
  dislikeCount: '0',
  likeScore: '1',
  individualLikes: [
    'NateSoares'
  ],
  pageId: 'conditional_probability_refresher',
  edit: '4',
  editSummary: '',
  prevEdit: '3',
  currentEdit: '4',
  wasPublished: 'true',
  type: 'wiki',
  title: 'Conditional probability: Refresher',
  clickbait: 'Is P(yellow | banana) the probability that a banana is yellow, or the probability that a yellow thing is a banana?',
  textLength: '3624',
  alias: 'conditional_probability_refresher',
  externalUrl: '',
  sortChildrenBy: 'likes',
  hasVote: 'false',
  voteType: '',
  votesAnonymous: 'false',
  editCreatorId: 'AdomHartell',
  editCreatedAt: '2016-10-10 23:53:50',
  pageCreatorId: 'NateSoares',
  pageCreatedAt: '2016-07-06 23:16:57',
  seeDomainId: '0',
  editDomainId: 'AlexeiAndreev',
  submitToDomainId: '0',
  isAutosave: 'false',
  isSnapshot: 'false',
  isLiveEdit: 'true',
  isMinorEdit: 'false',
  indirectTeacher: 'false',
  todoCount: '0',
  isEditorComment: 'false',
  isApprovedComment: 'true',
  isResolved: 'false',
  snapshotText: '',
  anchorContext: '',
  anchorText: '',
  anchorOffset: '0',
  mergedInto: '',
  isDeleted: 'false',
  viewCount: '1305',
  text: '[summary: $\\mathbb P(\\text{left} \\mid \\text{right})$ is the probability that the thing on the left is true _assuming_ the thing on the right is true, and it's defined as $\\frac{\\mathbb P(\\text{left} \\land \\text{right})}{\\mathbb P(\\text{right})}.$\n\nThus, $\\mathbb P(yellow \\mid banana)$ is the probability that a banana is yellow ("the probability of yellowness given banana"), while $\\mathbb P(banana \\mid yellow)$ is the probability that a yellow object is a banana ("the probability of banana, given yellowness").]\n\n$\\mathbb P(\\text{left} \\mid \\text{right})$ is the probability that the thing on the left is true _assuming_ the thing on the right is true, and it's defined as $\\frac{\\mathbb P(\\text{left} \\land \\text{right})}{\\mathbb P(\\text{right})}.$\n\nThus, $\\mathbb P(yellow \\mid banana)$ is the probability that a banana is yellow ("the probability of yellowness given banana"), while $\\mathbb P(banana \\mid yellow)$ is the probability that a yellow object is a banana ("the probability of banana, given yellowness").%%note: In general, $\\mathbb P(v)$ is an abbreviation of $\\mathbb P(V = v)$ for some variable $V$, which is assumed to be known from the context. For example, $\\mathbb P(yellow)$ might stand for $\\mathbb P({ColorOfNextObjectInBag}=yellow)$ where $ColorOfNextObjectInBag$ is a [random_variable variable] in our [-probability_distribution] $\\mathbb P,$ and $yellow$ is one of the [random_variable_value values] that that variable can take on.%%\n\n$\\mathbb P(x \\land y)$ is used to denote the probability of both $x$ and $y$ being true simultaneously (according to some [-probability_distribution] $\\mathbb P$). $\\mathbb P(x\\mid y)$, pronounced "the conditional probability of x, given y", is defined to be the quantity\n\n$$\\frac{\\mathbb P(x \\wedge y)}{\\mathbb P(y)}.$$\n\nFor example, in the [22s Diseasitis] problem, $\\mathbb P({sick}\\mid {positive})$ is the probability that a patient is sick _given_ a positive test result, and it's calculated by taking the 18% patients who are sick *and* have positive test results, and dividing by all 42% of the patients who got positive test results.  That is, $\\mathbb P({sick}\\mid {positive})$ $=$ $\\frac{\\mathbb P({sick} \\land {positive})}{\\mathbb P({positive})}.$\n\nUsing a [bayes_frequency_diagrams frequency diagram], we can visualize $\\mathbb P(sick \\mid positive)$ as the probability of drawing a $sick$ result from a bag of only those people in the population who got a $positive$ result.\n\n![diseasitis frequency](https://i.imgur.com/0XDbrYi.png?0)\n\n![bag of 18 and 24 patients](https://i.imgur.com/W6avfHO.png?0)\n\nThe "given" operator in $\\mathbb P(x\\mid y)$ tells us to assume that $y$ is true, to restrict our attention to only possible cases where $y$ is true, and then ask about the probability of $x$ *within* those cases.\n\nNote that $\\mathbb P(positive \\mid sick)$ is _not_ the same as $\\mathbb P(sick \\mid positive).$ To find the probability that a patient has a positive result given that they're sick, we can visualize taking the 20 sick patients and putting them in a group, and then asking the probability that a randomly selected one will have a positive result, which will be $\\frac{18}{20} = 0.9$ — so $\\mathbb P(positive \\mid sick) = 90\\%,$ while $\\mathbb P(sick \\mid positive) \\approx 43\\%.$ Mixing up which one is which is an unfortunate source of of many practical errors when you're trying to do these calculations using only the formal notation, at least until you get used to it. Just remember that $\\mathbb P(\\text{left} \\mid \\text{right})$ is the probability of the thing on the left _given_ that the thing on the right is true.',
  metaText: '',
  isTextLoaded: 'true',
  isSubscribedToDiscussion: 'false',
  isSubscribedToUser: 'false',
  isSubscribedAsMaintainer: 'false',
  discussionSubscriberCount: '1',
  maintainerCount: '1',
  userSubscriberCount: '0',
  lastVisit: '',
  hasDraft: 'false',
  votes: [],
  voteSummary: [
    '0',
    '0',
    '0',
    '0',
    '0',
    '0',
    '0',
    '0',
    '0',
    '0'
  ],
  muVoteSummary: '0',
  voteScaling: '0',
  currentUserVote: '-2',
  voteCount: '0',
  lockedVoteType: '',
  maxEditEver: '0',
  redLinkCount: '0',
  lockedBy: '',
  lockedUntil: '',
  nextPageId: '',
  prevPageId: '',
  usedAsMastery: 'false',
  proposalEditNum: '0',
  permissions: {
    edit: {
      has: 'false',
      reason: 'You don't have domain permission to edit this page'
    },
    proposeEdit: {
      has: 'true',
      reason: ''
    },
    delete: {
      has: 'false',
      reason: 'You don't have domain permission to delete this page'
    },
    comment: {
      has: 'false',
      reason: 'You can't comment in this domain because you are not a member'
    },
    proposeComment: {
      has: 'true',
      reason: ''
    }
  },
  summaries: {
    Summary: '$\\mathbb P(\\text{left} \\mid \\text{right})$ is the probability that the thing on the left is true _assuming_ the thing on the right is true, and it's defined as $\\frac{\\mathbb P(\\text{left} \\land \\text{right})}{\\mathbb P(\\text{right})}.$\n\nThus, $\\mathbb P(yellow \\mid banana)$ is the probability that a banana is yellow ("the probability of yellowness given banana"), while $\\mathbb P(banana \\mid yellow)$ is the probability that a yellow object is a banana ("the probability of banana, given yellowness").'
  },
  creatorIds: [
    'NateSoares',
    'CameronMcFee',
    'AdomHartell'
  ],
  childIds: [],
  parentIds: [
    'conditional_probability'
  ],
  commentIds: [],
  questionIds: [],
  tagIds: [
    'c_class_meta_tag'
  ],
  relatedIds: [],
  markIds: [],
  explanations: [],
  learnMore: [],
  requirements: [],
  subjects: [
    {
      id: '5059',
      parentId: 'conditional_probability',
      childId: 'conditional_probability_refresher',
      type: 'subject',
      creatorId: 'NateSoares',
      createdAt: '2016-07-08 15:31:08',
      level: '2',
      isStrong: 'false',
      everPublished: 'true'
    }
  ],
  lenses: [],
  lensParentId: 'conditional_probability',
  pathPages: [],
  learnMoreTaughtMap: {},
  learnMoreCoveredMap: {},
  learnMoreRequiredMap: {},
  editHistory: {},
  domainSubmissions: {},
  answers: [],
  answerCount: '0',
  commentCount: '0',
  newCommentCount: '0',
  linkedMarkCount: '0',
  changeLogs: [
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '20203',
      pageId: 'conditional_probability_refresher',
      userId: 'EricBruylant',
      edit: '0',
      type: 'newTag',
      createdAt: '2016-10-21 10:51:09',
      auxPageId: 'c_class_meta_tag',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '20030',
      pageId: 'conditional_probability_refresher',
      userId: 'AdomHartell',
      edit: '4',
      type: 'newEdit',
      createdAt: '2016-10-10 23:53:50',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '3058',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '2',
      dislikeCount: '0',
      likeScore: '2',
      individualLikes: [],
      id: '16689',
      pageId: 'conditional_probability_refresher',
      userId: 'CameronMcFee',
      edit: '3',
      type: 'newEdit',
      createdAt: '2016-07-14 03:27:53',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '16184',
      pageId: 'conditional_probability_refresher',
      userId: 'NateSoares',
      edit: '0',
      type: 'newSubject',
      createdAt: '2016-07-08 15:31:08',
      auxPageId: 'conditional_probability',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '16179',
      pageId: 'conditional_probability_refresher',
      userId: 'NateSoares',
      edit: '0',
      type: 'deleteRequiredBy',
      createdAt: '2016-07-08 15:30:26',
      auxPageId: 'bayes_rule_odds_intro',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '15858',
      pageId: 'conditional_probability_refresher',
      userId: 'NateSoares',
      edit: '2',
      type: 'newEdit',
      createdAt: '2016-07-06 23:19:26',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '15856',
      pageId: 'conditional_probability_refresher',
      userId: 'NateSoares',
      edit: '0',
      type: 'newParent',
      createdAt: '2016-07-06 23:17:04',
      auxPageId: 'conditional_probability',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '15854',
      pageId: 'conditional_probability_refresher',
      userId: 'NateSoares',
      edit: '1',
      type: 'newEdit',
      createdAt: '2016-07-06 23:16:57',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    }
  ],
  feedSubmissions: [],
  searchStrings: {},
  hasChildren: 'false',
  hasParents: 'true',
  redAliases: {},
  improvementTagIds: [],
  nonMetaTagIds: [],
  todos: [],
  slowDownMap: 'null',
  speedUpMap: 'null',
  arcPageIds: 'null',
  contentRequests: {}
}