{
  localUrl: '../page/bayes_odds_to_probability.html',
  arbitalUrl: 'https://arbital.com/p/bayes_odds_to_probability',
  rawJsonUrl: '../raw/555.json',
  likeableId: '3296',
  likeableType: 'page',
  myLikeValue: '0',
  likeCount: '2',
  dislikeCount: '0',
  likeScore: '2',
  individualLikes: [
    'EricBruylant',
    'SzymonWilczyski'
  ],
  pageId: 'bayes_odds_to_probability',
  edit: '1',
  editSummary: '',
  prevEdit: '0',
  currentEdit: '1',
  wasPublished: 'true',
  type: 'wiki',
  title: 'Odds form to probability form',
  clickbait: '',
  textLength: '2776',
  alias: 'bayes_odds_to_probability',
  externalUrl: '',
  sortChildrenBy: 'likes',
  hasVote: 'false',
  voteType: '',
  votesAnonymous: 'false',
  editCreatorId: 'NateSoares',
  editCreatedAt: '2016-07-06 06:34:25',
  pageCreatorId: 'NateSoares',
  pageCreatedAt: '2016-07-06 06:34:25',
  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: '154',
  text: 'The odds form of Bayes' rule works for any two hypotheses $H_i$ and $H_j,$ and looks like this:\n\n$$\\frac{\\mathbb P(H_i \\mid e)}{\\mathbb P(H_j \\mid e)} = \\frac{\\mathbb P(H_i)}{\\mathbb P(H_j)} \\times \\frac{\\mathbb P(e \\mid H_i)}{\\mathbb P(e \\mid H_j)} \\tag{1}.$$\n\nThe probabilistic form of Bayes' rule requires a hypothesis set $H_1,H_2,H_3,\\ldots$ that is [-1rd], and looks like this:\n\n$$\\mathbb P(H_i\\mid e) = \\frac{\\mathbb P(e\\mid H_i) \\cdot \\mathbb P(H_i)}{\\sum_k \\mathbb P(e\\mid H_k) \\cdot \\mathbb P(H_k)} \\tag{2}.$$\n\nWe will now show that equation (2) follows from equation (1). Given a collection $H_1,H_2,H_3,\\ldots$ of mutually exclusive and exhaustive hypotheses and a hypothesis $H_i$ from that collection, we can form another hypothesis $\\lnot H_i$ consisting of all the hypotheses $H_1,H_2,H_3,\\ldots$ _except_ $H_i.$ Then, using $\\lnot H_i$ as $H_j$ and multiplying the fractions on the right-hand side of equation (1), we see that\n\n$$\\frac{\\mathbb P(H_i \\mid e)}{\\mathbb P(\\lnot H_i \\mid e)} = \\frac{\\mathbb P(H_i) \\cdot \\mathbb P(e \\mid H_i)}{\\mathbb P(\\lnot H_i)\\cdot \\mathbb P(e \\mid \\lnot H_i)}.$$\n\n$\\mathbb P(\\lnot H_i)\\cdot \\mathbb P(e \\mid \\lnot H_i)$ is the prior probability of $\\lnot H_i$ times the degree to which $\\lnot H_i$ predicted $e.$ Because $\\lnot H_i$ is made of a bunch of mutually exclusive hypotheses, this term can be calculated by summing $\\mathbb P(H_k) \\cdot \\mathbb P(e \\mid H_k)$ for every $H_k$ in the collection except $H_i.$ Performing that replacement, and swapping the order of multiplication, we get:\n\n$$\\frac{\\mathbb P(H_i \\mid e)}{\\mathbb P(\\lnot H_i \\mid e)} = \\frac{\\mathbb P(e \\mid H_i) \\cdot \\mathbb P(H_i)}{\\sum_{k \\neq i} \\mathbb P(e \\mid H_k) \\cdot \\mathbb P(H_k)}.$$\n\nThese are the posterior odds for $H_i$ versus $\\lnot H_i.$ Because $H_i$ and $\\lnot H_i$ are mutually exclusive and exhaustive, we can convert these odds into a probability for $H_i,$ by calculating numerator / (numerator + denominator), in the same way that $3 : 4$ odds become a 3 / (3 + 4) probability. When we do so, equation (2) drops out:\n\n$$\\mathbb P(H_i\\mid e) = \\frac{\\mathbb P(e\\mid H_i) \\cdot \\mathbb P(H_i)}{\\sum_k \\mathbb P(e\\mid H_k) \\cdot \\mathbb P(H_k)}.$$\n\nThus, we see that the probabilistic formulation of Bayes' rule follows from the odds form, but is less general, in that it only works when the set of hypotheses being considered are mutually exclusive and exhaustive.\n\nWe also see that the probabilistic formulation converts the posterior odds into a posterior probability. When computing [bayes_rule_vector multiple updates in a row], you actually only need to perform this "normalization" step once at the very end of your calculations — which means that the odds form of Bayes' rule is also more efficient in practice.',
  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: 'The odds form of Bayes' rule works for any two hypotheses $H_i$ and $H_j,$ and looks like this:'
  },
  creatorIds: [
    'NateSoares'
  ],
  childIds: [],
  parentIds: [
    'bayes_rule_probability'
  ],
  commentIds: [],
  questionIds: [],
  tagIds: [
    'needs_clickbait_meta_tag',
    'b_class_meta_tag'
  ],
  relatedIds: [],
  markIds: [],
  explanations: [
    {
      id: '5163',
      parentId: 'bayes_odds_to_probability',
      childId: 'bayes_odds_to_probability',
      type: 'subject',
      creatorId: 'NateSoares',
      createdAt: '2016-07-10 22:10:28',
      level: '2',
      isStrong: 'true',
      everPublished: 'true'
    }
  ],
  learnMore: [],
  requirements: [
    {
      id: '5159',
      parentId: 'bayes_rule_odds',
      childId: 'bayes_odds_to_probability',
      type: 'requirement',
      creatorId: 'NateSoares',
      createdAt: '2016-07-10 22:09:19',
      level: '2',
      isStrong: 'true',
      everPublished: 'true'
    },
    {
      id: '5160',
      parentId: 'bayes_rule_probability',
      childId: 'bayes_odds_to_probability',
      type: 'requirement',
      creatorId: 'NateSoares',
      createdAt: '2016-07-10 22:09:30',
      level: '2',
      isStrong: 'false',
      everPublished: 'true'
    }
  ],
  subjects: [
    {
      id: '5161',
      parentId: 'bayes_rule_probability',
      childId: 'bayes_odds_to_probability',
      type: 'subject',
      creatorId: 'NateSoares',
      createdAt: '2016-07-10 22:10:19',
      level: '2',
      isStrong: 'false',
      everPublished: 'true'
    },
    {
      id: '5162',
      parentId: 'bayes_rule_odds',
      childId: 'bayes_odds_to_probability',
      type: 'subject',
      creatorId: 'NateSoares',
      createdAt: '2016-07-10 22:10:26',
      level: '2',
      isStrong: 'false',
      everPublished: 'true'
    },
    {
      id: '5163',
      parentId: 'bayes_odds_to_probability',
      childId: 'bayes_odds_to_probability',
      type: 'subject',
      creatorId: 'NateSoares',
      createdAt: '2016-07-10 22:10:28',
      level: '2',
      isStrong: 'true',
      everPublished: 'true'
    }
  ],
  lenses: [],
  lensParentId: '',
  pathPages: [],
  learnMoreTaughtMap: {},
  learnMoreCoveredMap: {
    '554': [
      '56j'
    ],
    '1x5': [
      '1zh',
      '1zm'
    ]
  },
  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: '18227',
      pageId: 'bayes_odds_to_probability',
      userId: 'EricBruylant',
      edit: '0',
      type: 'newTag',
      createdAt: '2016-08-03 16:34:30',
      auxPageId: 'needs_clickbait_meta_tag',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '18196',
      pageId: 'bayes_odds_to_probability',
      userId: 'EricBruylant',
      edit: '0',
      type: 'deleteTag',
      createdAt: '2016-08-02 19:02:29',
      auxPageId: 'c_class_meta_tag',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '18194',
      pageId: 'bayes_odds_to_probability',
      userId: 'EricBruylant',
      edit: '0',
      type: 'newTag',
      createdAt: '2016-08-02 19:02:28',
      auxPageId: 'b_class_meta_tag',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '18192',
      pageId: 'bayes_odds_to_probability',
      userId: 'EricBruylant',
      edit: '0',
      type: 'newTag',
      createdAt: '2016-08-02 18:59:45',
      auxPageId: 'c_class_meta_tag',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '16502',
      pageId: 'bayes_odds_to_probability',
      userId: 'NateSoares',
      edit: '0',
      type: 'newTeacher',
      createdAt: '2016-07-10 22:10:28',
      auxPageId: 'bayes_odds_to_probability',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '16503',
      pageId: 'bayes_odds_to_probability',
      userId: 'NateSoares',
      edit: '0',
      type: 'newSubject',
      createdAt: '2016-07-10 22:10:28',
      auxPageId: 'bayes_odds_to_probability',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '16501',
      pageId: 'bayes_odds_to_probability',
      userId: 'NateSoares',
      edit: '0',
      type: 'newSubject',
      createdAt: '2016-07-10 22:10:27',
      auxPageId: 'bayes_rule_odds',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '16499',
      pageId: 'bayes_odds_to_probability',
      userId: 'NateSoares',
      edit: '0',
      type: 'newSubject',
      createdAt: '2016-07-10 22:10:20',
      auxPageId: 'bayes_rule_probability',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '16497',
      pageId: 'bayes_odds_to_probability',
      userId: 'NateSoares',
      edit: '0',
      type: 'newRequirement',
      createdAt: '2016-07-10 22:09:31',
      auxPageId: 'bayes_rule_probability',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '16496',
      pageId: 'bayes_odds_to_probability',
      userId: 'NateSoares',
      edit: '0',
      type: 'newRequirement',
      createdAt: '2016-07-10 22:09:20',
      auxPageId: 'bayes_rule_odds',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '15595',
      pageId: 'bayes_odds_to_probability',
      userId: 'NateSoares',
      edit: '0',
      type: 'newParent',
      createdAt: '2016-07-06 06:34:27',
      auxPageId: 'bayes_rule_probability',
      oldSettingsValue: '',
      newSettingsValue: ''
    },
    {
      likeableId: '0',
      likeableType: 'changeLog',
      myLikeValue: '0',
      likeCount: '0',
      dislikeCount: '0',
      likeScore: '0',
      individualLikes: [],
      id: '15593',
      pageId: 'bayes_odds_to_probability',
      userId: 'NateSoares',
      edit: '1',
      type: 'newEdit',
      createdAt: '2016-07-06 06:34:25',
      auxPageId: '',
      oldSettingsValue: '',
      newSettingsValue: ''
    }
  ],
  feedSubmissions: [],
  searchStrings: {},
  hasChildren: 'false',
  hasParents: 'true',
  redAliases: {},
  improvementTagIds: [],
  nonMetaTagIds: [],
  todos: [],
  slowDownMap: 'null',
  speedUpMap: 'null',
  arcPageIds: 'null',
  contentRequests: {}
}