{
  localUrl: '../page/1x7.html',
  arbitalUrl: 'https://arbital.com/p/1x7',
  rawJsonUrl: '../raw/1x7.json',
  likeableId: '850',
  likeableType: 'page',
  myLikeValue: '0',
  likeCount: '1',
  dislikeCount: '0',
  likeScore: '1',
  individualLikes: [
    'SandeepBhardwaj'
  ],
  pageId: '1x7',
  edit: '10',
  editSummary: '',
  prevEdit: '9',
  currentEdit: '10',
  wasPublished: 'true',
  type: 'wiki',
  title: 'Bayes' rule: Odds form (Intro, Math 1)',
  clickbait: 'Introduction to the odds form of Bayes' rule',
  textLength: '11805',
  alias: '1x7',
  externalUrl: '',
  sortChildrenBy: 'likes',
  hasVote: 'false',
  voteType: '',
  votesAnonymous: 'false',
  editCreatorId: 'NateSoares',
  editCreatedAt: '2016-07-08 15:44:09',
  pageCreatorId: 'EliezerYudkowsky',
  pageCreatedAt: '2016-02-08 04:43:03',
  seeDomainId: '0',
  editDomainId: '123',
  submitToDomainId: '0',
  isAutosave: 'false',
  isSnapshot: 'false',
  isLiveEdit: 'true',
  isMinorEdit: 'false',
  indirectTeacher: 'false',
  todoCount: '1',
  isEditorComment: 'false',
  isApprovedComment: 'true',
  isResolved: 'false',
  snapshotText: '',
  anchorContext: '',
  anchorText: '',
  anchorOffset: '0',
  mergedInto: '',
  isDeleted: 'false',
  viewCount: '1647',
  text: '[todo: This page is now domainless, having been made redundant by an edit to 1x8. It should probably be deleted.]\n\nIn the [1wy previous part of this introduction], we translated the Diseasitis word problem:\n\n> 20% of the patients in the screening population start out with Diseasitis. Among patients with Diseasitis, 90% turn the tongue depressor black. 30% of the patients without Diseasitis will also turn the tongue depressor black. Among all the patients with black tongue depressors, how many have Diseasitis?\n\nInto the calculation:\n\n$(2 : 8) \\times (9 : 3) \\ = \\ (1 : 4) \\times (3 : 1) \\ = \\ (3 : 4),$ corresponding to a 3/7 probability.\n\nWe will now introduce more abstractly what is going on here.\n\n# Odds ratios\n\nIn general, ratios $(x : y)$ express *relative* quantities.  A 2 : 1 ratio expresses the same idea as a 4 : 2 ratio.  If we imagine a forest with some sick trees and some healthy trees, then saying "There's 1 sick tree for every 3 healthy trees" expresses the same idea as "There's 2 sick trees for every 6 healthy trees."  If the original odds ratio is $(x : y)$ we can multiply by a positive number $\\alpha$ and get an equivalent odds ratio $(\\alpha x : \\alpha y).$  If you randomly reach into a bag containing 1 red ball and 2 blue balls, or 2 red balls and 4 blue balls, your chance of pulling out a red ball is the same either way:\n\n![](https://i.imgur.com/IcsOXl0.png?0)\n\nNote that if there were also green balls, the *relative odds* for red *versus* blue would still be (1 : 2), but the *probability* of drawing a red ball would be lower.\n\n![](https://i.imgur.com/ooyn9Py.png?0)\n\nBut if red, blue, and green are the only kinds of balls that are in the bag, then we can turn the odds ratio into *probabilities* that sum to 1.  $(1 : 2 : 1)$ would go to $\\frac{1}{4} : \\frac{2}{4} : \\frac{1}{4}.$  If there's 2 sick trees for every 3 healthy trees, and every tree is either sick or healthy, then the probability of randomly picking a sick tree from among *all* trees is 2/(2+3).\n\n![](https://i.imgur.com/GVZnz2c.png?0)\n\nIn general, the operation we're doing here is taking a relative odds ratio like $(a : b : c)$ and dividing through by the sum to produce $(\\frac{a}{a + b + c} : \\frac{b}{a + b + c} : \\frac{c}{a + b + c}).$  If the set of possibilities $A, B, C$ are [1rd mutually exclusive and exhaustive], then the probabilities $\\mathbb P(A), \\mathbb P(B), \\mathbb P(C)$ should sum to $1.$  Dividing the elements of the ratio by their sum gives us a new ratio, proportional to the old ratio, whose terms sum to 1.\n\n# Relative likelihoods\n\nIf we consider the waterfall visualization...\n\n![](https://i.imgur.com/eQh2qUt.png?0)\n\n...then we can visualize how an *odds ratio* is appropriate for thinking about the two rivers at the top of the waterfall.  The *proportion* of red vs. blue water at the bottom will be the same whether there's 200 vs. 800 gallons per second of red vs. blue water at the top of the waterfall, or 20,000 vs. 80,000 gallons/sec, or 1 vs. 4 gallons/second.  So long as the rest of the waterfall behaves in proportionally the same way, we'll get the same mix of red and blue at the bottom.\n\nSimilarly, what matters is the *relative* proportion between how much of each gallon of red water, and how much of each gallon of blue water, make it to the bottom.  45% and 15% of the red and blue water making it to the bottom, would give the same *relative proportion* of red and blue water in the bottom pool, as 90% and 30%.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    \n\n![](https://i.imgur.com/6FOndjc.png?0)\n\nThis is what justified our taking in the data that 90% of sick patients and 30% of healthy patients would get positive test results (a black tongue depressor), and summarizing this as the *likelihood ratio* (3 : 1), which would have been the same ratio if 45% of sick patients and 15% of healthy patients got positive test results.  Note that this *likelihood ratio*, "Sick patients are individually three times as likely as healthy patients to get positive test results", is not the same concept as "There are 3 sick patients with positive test results for each 1 healthy patient with a positive test result."\n\nWe will later identify the likelihood ratio with the concept of [22x the strength of evidence].\n\n# Bayes's Rule\n\nWe are now ready to state the odds form of Bayes's Rule:\n\n$\\textbf{Prior odds} \\times \\textbf{Likelihood ratio} = \\textbf{Posterior odds}$\n\nThe [1rm prior] odds refer to the relative proportion of red vs. blue water at the top of the waterfall, that is to say, the prior odds a patient is sick before seeing any test results.  In this case, 1 : 4.\n\nThe [1rq] refers to how much more likely each sick patient is to get a positive test result than each healthy patient.  Or the relative fraction of each gallon of red water, compared to the fraction of each gallon of blue water, that makes it to the bottom of the waterfall.  In this case, 3 : 1.\n\nThe [1rp posterior] odds are the relative proportions of red vs. blue water at the bottom of the waterfall, or alternatively, the relative proportion of sick vs. healthy patients among all patients with positive test results.  In this case, 3 : 4.\n\n(We'll prove this rule shortly, in [1xr the next part of the introduction sequence].)\n\n3/7 is then the posterior *probability* of a positive-testing patient being sick.  Note again that 3 : 4 talks about sick patients *versus* healthy patients, and 3/7 talks about the proportion of sick patients within the set of *all* patients.  The ratio of red water and blue water at bottom is 3 : 4; the percentage of red water within *all* water at bottom is 3 / 7.\n\n![labeled waterfall](https://i.imgur.com/CXsoZhA.png?0)\n\n# Further example\n\nWe previously had the problem:\n\n> 10% of widgets are bad and 90% are good. 4% of good widgets emit sparks, and 12% of bad widgets emit sparks. Can you calculate in your head what percentage of sparking widgets are bad?\n\nThe prior odds are 1 : 9 for bad widgets vs. good widgets.\n\n12% of bad widgets and 4% of good widgets emit sparks, so that's a likelihood ratio of 3 : 1 for sparking (bad widgets are 3 times as likely to emit sparks).\n\n$(1 : 9 ) \\times (3 : 1)  \\ = \\ (3 : 9) \\ \\cong \\ (1 : 3)$ posterior odds for bad vs. good sparking widgets.  So 1/4 of sparking widgets are bad.  \n\nAlso at this point, we can start to build up an intuition for [21v the burden of prior improbability versus the strength of evidence].\n\nBad widgets started out relatively rare:  1 in 10.  We applied a test, looking for sparks, that was only 3 times as likely to label bad widgets as to label good widgets; *the evidence was weaker than the prior improbability of the claim.*\n\nThis doesn't mean we toss out the evidence and ignore it.  It does mean that, after updating on the observation of sparkiness, we only gave 25% posterior credence to the widget being bad - the probability didn't go over 50%.',
  metaText: '',
  isTextLoaded: 'true',
  isSubscribedToDiscussion: 'false',
  isSubscribedToUser: 'false',
  isSubscribedAsMaintainer: 'false',
  discussionSubscriberCount: '3',
  maintainerCount: '1',
  userSubscriberCount: '0',
  lastVisit: '2016-02-27 17:32:58',
  hasDraft: 'false',
  votes: [],
  voteSummary: 'null',
  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: {},
  creatorIds: [
    'EliezerYudkowsky',
    'NateSoares'
  ],
  childIds: [],
  parentIds: [],
  commentIds: [
    '23r'
  ],
  questionIds: [],
  tagIds: [],
  relatedIds: [],
  markIds: [],
  explanations: [],
  learnMore: [],
  requirements: [
    {
      id: '2071',
      parentId: 'math1',
      childId: '1x7',
      type: 'requirement',
      creatorId: 'AlexeiAndreev',
      createdAt: '2016-06-17 21:58:56',
      level: '1',
      isStrong: 'false',
      everPublished: 'true'
    },
    {
      id: '2219',
      parentId: 'bayes_waterfall_diagram',
      childId: '1x7',
      type: 'requirement',
      creatorId: 'AlexeiAndreev',
      createdAt: '2016-06-17 21:58:56',
      level: '1',
      isStrong: 'false',
      everPublished: 'true'
    },
    {
      id: '2313',
      parentId: 'diseasitis',
      childId: '1x7',
      type: 'requirement',
      creatorId: 'AlexeiAndreev',
      createdAt: '2016-06-17 21:58:56',
      level: '1',
      isStrong: 'false',
      everPublished: 'true'
    }
  ],
  subjects: [],
  lenses: [],
  lensParentId: '',
  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: '16219',
      pageId: '1x7',
      userId: 'NateSoares',
      edit: '10',
      type: 'newEdit',
      createdAt: '2016-07-08 15:44:09',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '16212',
      pageId: '1x7',
      userId: 'NateSoares',
      edit: '0',
      type: 'deleteSubject',
      createdAt: '2016-07-08 15:43:46',
      auxPageId: 'bayes_rule_odds',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '16210',
      pageId: '1x7',
      userId: 'NateSoares',
      edit: '0',
      type: 'deleteSubject',
      createdAt: '2016-07-08 15:43:43',
      auxPageId: 'odds',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '16208',
      pageId: '1x7',
      userId: 'NateSoares',
      edit: '0',
      type: 'deleteSubject',
      createdAt: '2016-07-08 15:43:41',
      auxPageId: 'bayes_rule',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '16206',
      pageId: '1x7',
      userId: 'NateSoares',
      edit: '0',
      type: 'deleteParent',
      createdAt: '2016-07-08 15:43:36',
      auxPageId: 'bayes_rule_odds',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '15604',
      pageId: '1x7',
      userId: 'NateSoares',
      edit: '9',
      type: 'newEdit',
      createdAt: '2016-07-06 06:43:24',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '7692',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '8',
      type: 'newEdit',
      createdAt: '2016-02-23 01:19:37',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '7610',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '7',
      type: 'newRequirement',
      createdAt: '2016-02-22 21:32:09',
      auxPageId: 'diseasitis',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '7447',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '7',
      type: 'newEdit',
      createdAt: '2016-02-20 03:50:58',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '7209',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '6',
      type: 'newSubject',
      createdAt: '2016-02-16 06:14:40',
      auxPageId: 'bayes_rule_odds',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '7207',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '6',
      type: 'newRequirement',
      createdAt: '2016-02-16 06:14:26',
      auxPageId: 'bayes_waterfall_diagram',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '7205',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '0',
      type: 'deleteRequirement',
      createdAt: '2016-02-16 06:14:21',
      auxPageId: 'bayes_waterfall_diseasitis',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '6582',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '6',
      type: 'newEdit',
      createdAt: '2016-02-08 05:15:24',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '6564',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '5',
      type: 'newEdit',
      createdAt: '2016-02-08 04:52:32',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '6563',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '4',
      type: 'newEdit',
      createdAt: '2016-02-08 04:52:06',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '6562',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '3',
      type: 'newEdit',
      createdAt: '2016-02-08 04:46:46',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '6561',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '2',
      type: 'newEdit',
      createdAt: '2016-02-08 04:43:35',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '6560',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '1',
      type: 'newEdit',
      createdAt: '2016-02-08 04:43:03',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '6559',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '0',
      type: 'newRequirement',
      createdAt: '2016-02-08 02:33:41',
      auxPageId: 'math1',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '6557',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '0',
      type: 'newSubject',
      createdAt: '2016-02-08 02:09:26',
      auxPageId: 'odds',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '6555',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '0',
      type: 'newSubject',
      createdAt: '2016-02-08 02:09:23',
      auxPageId: 'bayes_rule',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '6553',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '0',
      type: 'newRequirement',
      createdAt: '2016-02-08 02:09:06',
      auxPageId: 'bayes_waterfall_diseasitis',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '6551',
      pageId: '1x7',
      userId: 'EliezerYudkowsky',
      edit: '0',
      type: 'newParent',
      createdAt: '2016-02-08 02:08:51',
      auxPageId: 'bayes_rule_odds',
      oldSettingsValue: '',
      newSettingsValue: ''
    }
  ],
  feedSubmissions: [],
  searchStrings: {},
  hasChildren: 'false',
  hasParents: 'false',
  redAliases: {},
  improvementTagIds: [],
  nonMetaTagIds: [],
  todos: [],
  slowDownMap: 'null',
  speedUpMap: 'null',
  arcPageIds: 'null',
  contentRequests: {}
}