{ localUrl: '../page/probability_distribution_motivated_definition.html', arbitalUrl: 'https://arbital.com/p/probability_distribution_motivated_definition', rawJsonUrl: '../raw/569.json', likeableId: '2989', likeableType: 'page', myLikeValue: '0', likeCount: '3', dislikeCount: '0', likeScore: '3', individualLikes: [ 'EricBruylant', 'NateSoares', 'SzymonWilczyski' ], pageId: 'probability_distribution_motivated_definition', edit: '1', editSummary: '', prevEdit: '0', currentEdit: '1', wasPublished: 'true', type: 'wiki', title: 'Probability distribution: Motivated definition', clickbait: 'People keep writing things like P(sick)=0.3. What does this mean, on a technical level?', textLength: '8762', alias: 'probability_distribution_motivated_definition', externalUrl: '', sortChildrenBy: 'likes', hasVote: 'false', voteType: '', votesAnonymous: 'false', editCreatorId: 'NateSoares', editCreatedAt: '2016-07-07 00:49:26', pageCreatorId: 'NateSoares', pageCreatedAt: '2016-07-07 00:49:26', seeDomainId: '0', editDomainId: 'AlexeiAndreev', submitToDomainId: '0', isAutosave: 'false', isSnapshot: 'false', isLiveEdit: 'true', isMinorEdit: 'false', indirectTeacher: 'false', todoCount: '4', isEditorComment: 'false', isApprovedComment: 'true', isResolved: 'false', snapshotText: '', anchorContext: '', anchorText: '', anchorOffset: '0', mergedInto: '', isDeleted: 'false', viewCount: '171', text: 'When discussing probabilities, people will often (informally) say things like "well, the probability $\\mathbb P(sick)$ of the patient being sick is about 20%." What does this $\\mathbb P(sick)$ notation mean?\n\nIntuitively, $\\mathbb P(sick)$ is supposed to denote the probability that a particular person is sick (on a scale from 0 to 1). But how is $\\mathbb P(sick)$ defined? Is there an objective probability of sickness? If not, where does the number come from?\n\nAt first you might be tempted to say $\\mathbb P(sick)$ is defined by the surrounding population: If 1% of people are sick at any given time, then maybe $\\mathbb P(sick)$ should be 1%. But what if this person is currently running a high fever and complaining about an upset stomach? Then we should probably assign a probability higher than 1%.\n\nNext you might be tempted to say that the _true_ probability of the person being sick is either 0 or 1 (because they're either sick or they aren't), but this observation doesn't really help us manage our _own_ uncertainty. It's all well and good to say "either they sick or they aren't," but if you're a doctor who has to choose which medication to prescribe (and different ones have different drawbacks), then you need some way of talking about how sick they _seem_ to be (given what you've seen).\n\nThis leads us to the notion of [4vr subjective probability]. _Your_ probability that a person is sick is a fact about _you._ They are either sick or healthy, and as you observe more facts about them (such as "they're running a fever"), your _personal_ belief in their health vs sickness changes. This is the idea that used to define notation like $\\mathbb P(sick).$\n\nFormally, $\\mathbb P(sick)$ is defined to be the probability that $\\mathbb P$ assigns to $sick,$ where $\\mathbb P$ is a type of object known as a "probability distribution", which is an object designed for keeping track of (and managing) uncertainty. Specifically, probability distributions are objects that distribute a finite amount of "stuff" across a large number of "states," and $\\mathbb P(sick)$ measures how much stuff $\\mathbb P$ _in particular_ puts on $sick$-type states. For example, the states could be cups with labels on them, and the stuff could be water, in which case $\\mathbb P(sick)$ would be the proportion of all water in the $sick$-labeled cups.\n\nThe "stuff" and "states" may be arbitrary: you can build a probability distribution out of water in cups, clay in cubbyholes, abstract numbers represented in a computer, or weightings between neurons in your head. The stuff is called "probability mass," the states are called "possibilities."\n\nTo be even more concrete, imagine you build $\\mathbb P$ out of cups and water, and that you give some of the cups suggestive labels like $sick$ and $healthy$. Then you can talk about the proportion of all probability-water that's in the $sick$ cup vs the $healthy$ cup. This is a probability distribution, but it's not a very useful one. In practice, we want to model more than one thing at a time. Let's say that you're a doctor at an immigration center who needs to assess a person's health, age, and country of origin. Now the set of possibilities that you want to represent aren't just $sick$ and $healthy,$ they're _all combinations_ of health, age, and origin:\n\n$$\n\\begin{align}\nsick, \\text{age }1, \\text{Afghanistan} \\\\\nhealthy, \\text{age }1, \\text{Afghanistan} \\\\\nsick, \\text{age }2, \\text{Afghanistan} \\\\\n\\vdots \\\\\nsick, \\text{age }29, \\text{Albania} \\\\\nhealthy, \\text{age }29, \\text{Albania} \\\\\nsick, \\text{age }30, \\text{Albania} \\\\\n\\vdots\n\\end{align}\n$$\n\nand so on. If you build this probability distribution out of cups, you're going to need a lot of cups. If there are 2 possible health states ($sick$ and $healthy$), 150 possible ages, and 196 possible countries, then the total number of cups you need in order to build this probability distribution is $2 \\cdot 150 \\cdot 196 = 58800,$ which is rather excessive. (There's a reason we do probabilistic reasoning using transistors and/or neurons, as opposed to cups with water in them).\n\nIn order to make this proliferation of possibilities manageable, the possibilities are usually arranged into columns, such as the "Health", "Age", and "Country" columns above. This columns are known as "[random_variable variables]" of the distribution. Then, $\\mathbb P(sick)$ is an abbreviation for $\\mathbb P(\\text{Health}=sick),$ which counts the proportion of all probability mass (water) allocated to possibilities (cups) that have $sick$ in the Health column of their label.\n\nWhat's the point of doing all this setup? Once we've made a probability distribution, we can hook it up to the outside world such that, when the world interacts with the probability distribution, the probability mass is shifted around inside the cups. For example, if you have a rule which says "whenever a person shows me a passport from country X, I throw out all water except the water in cups with X in the Country column", then, whenever you see a passport, the probability distribution will get more accurate.\n\nThe natural question here is, what are the best ways to manipulate the probability mass in $\\mathbb P$ (in response to observations), if the goal is to have $\\mathbb P$ get more and more accurate over time? That's exactly the sort of question that [-1bv] can be used to answer (and it has implications both for artificial intelligence, and for understanding human intelligence — after all, _we ourselves_ are a physical system that manages uncertainty, and updates beliefs in response to observations).\n\nAt this point, there are two big objections to answer. First objection:\n\n> Whoa now, the number of cups in $\\mathbb P$ got pretty big pretty quickly, and this was a simple example. In a realistic probability distribution $\\mathbb P$ intended to represent the real world (which has way more than 3 variables worth tracking), the number of necessary possibilities would be _ridiculous._ Why do we define probabilities in terms of these huge impractical "probability distributions"?\n\nThis is an important question, which is answered by three points:\n\n1. In practice, there are a number of tricks for exploiting regularities in the structure of the world in order to drastically reduce the number of cups you need to track. We won't be covering those tricks in this guide, but you can check out [ Realistic probabilities] and [ Arbital's guide to Bayes nets] if you're interested in the topic.\n2. Even so, full-fledged probabilistic reasoning _is_ computationally infeasible on complex problems. In practice, physical reasoning systems (such as brains or artificial intelligence algorithms) use lots of approximations and shortcuts.\n3. Nevertheless, reasoning according to a full probability distribution is the _theoretical ideal_ for how to do good reasoning. [ You can't do better than probabilistic reasoning] (unless you're born knowing the right answers to everything), and [ insofar as you don't use probabilistic reasoning, you can be exploited]. Even if complex probability distribution are too big to manage in practice, they tell give lots of hints about how to reason right or wrong that we can follow in our day-to-day lives.\n\nSecond objection:\n\n> You basically just said "given a bunch of cups and some water, we define the probability of a person being sick as the amount of water in some suggestively-labeled cups." How does that have anything to do with whether or not the person is actually sick? Just because you put a $sick$ label on there doesn't magically give the water meaning!\n\nThis is an important point. For $\\mathbb P$ to be useful, we want to design a reasoning procedure such that the more we interact with a person, the more probability mass starts to reflect how healthy the person actually is. That is, we want the water to go into $sick$ cups if they're sick, and $healthy$ cups if they're healthy. If our reasoning procedure has that property, and we have $\\mathbb P$ interact with the world for a while, then its probabilities will get pretty accurate — at which point $\\mathbb P$ can be used to answer questions and/or make decisions. (This is the principle that makes brains and artificial intelligence algorithms tick.)\n\nHow do we design reasoning mechanisms that cause $\\mathbb P$ to become more accurate the more it interacts with the world? That's a [how_to_get_accurate_probabilities big question], and the answer has many parts. One of the most important parts of the answer, though, is a law of probability theory which tells us the correct way to move the probability mass around in response to new observations (assuming the goal is to make $\\mathbb P$ more accurate). For more on that law, see [1lz Bayes' rule].', 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: 'When discussing probabilities, people will often (informally) say things like "well, the probability $\\mathbb P(sick)$ of the patient being sick is about 20%." What does this $\\mathbb P(sick)$ notation mean?' }, creatorIds: [ 'NateSoares' ], childIds: [], parentIds: [ 'probability_theory', 'subjective_probability' ], commentIds: [], questionIds: [], tagIds: [ 'b_class_meta_tag' ], relatedIds: [], markIds: [], explanations: [], learnMore: [ { id: '5849', parentId: 'probability_distribution_motivated_definition', childId: 'probability_distribution_motivated_definition', type: 'subject', creatorId: 'AlexeiAndreev', createdAt: '2016-08-02 17:27:31', level: '1', isStrong: 'false', everPublished: 'true' } ], requirements: [ { id: '5850', parentId: 'probability', childId: 'probability_distribution_motivated_definition', type: 'requirement', creatorId: 'AlexeiAndreev', createdAt: '2016-08-02 17:27:39', level: '2', isStrong: 'true', everPublished: 'true' } ], subjects: [ { id: '5849', parentId: 'probability_distribution_motivated_definition', childId: 'probability_distribution_motivated_definition', type: 'subject', creatorId: 'AlexeiAndreev', createdAt: '2016-08-02 17:27:31', level: '1', isStrong: 'false', everPublished: 'true' }, { id: '5851', parentId: 'probability', childId: 'probability_distribution_motivated_definition', type: 'subject', creatorId: 'AlexeiAndreev', createdAt: '2016-08-02 17:27:52', level: '2', isStrong: 'false', everPublished: 'true' } ], lenses: [], lensParentId: '', pathPages: [], learnMoreTaughtMap: {}, learnMoreCoveredMap: { '1rf': [ '1y6', '4vr', '561', '6cj' ] }, 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: '18345', pageId: 'probability_distribution_motivated_definition', userId: 'EricBruylant', edit: '0', type: 'newTag', createdAt: '2016-08-04 14:12:38', auxPageId: 'b_class_meta_tag', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '18143', pageId: 'probability_distribution_motivated_definition', userId: 'AlexeiAndreev', edit: '0', type: 'newSubject', createdAt: '2016-08-02 17:27:53', auxPageId: 'probability', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '18141', pageId: 'probability_distribution_motivated_definition', userId: 'AlexeiAndreev', edit: '0', type: 'newRequirement', createdAt: '2016-08-02 17:27:40', auxPageId: 'probability', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '18139', pageId: 'probability_distribution_motivated_definition', userId: 'AlexeiAndreev', edit: '0', type: 'newTeacher', createdAt: '2016-08-02 17:27:32', auxPageId: 'probability_distribution_motivated_definition', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '18140', pageId: 'probability_distribution_motivated_definition', userId: 'AlexeiAndreev', edit: '0', type: 'newSubject', createdAt: '2016-08-02 17:27:32', auxPageId: 'probability_distribution_motivated_definition', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '15874', pageId: 'probability_distribution_motivated_definition', userId: 'NateSoares', edit: '0', type: 'newParent', createdAt: '2016-07-07 00:49:29', auxPageId: 'subjective_probability', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '15872', pageId: 'probability_distribution_motivated_definition', userId: 'NateSoares', edit: '0', type: 'newParent', createdAt: '2016-07-07 00:49:28', auxPageId: 'probability_theory', oldSettingsValue: '', newSettingsValue: '' }, { likeableId: '0', likeableType: 'changeLog', myLikeValue: '0', likeCount: '0', dislikeCount: '0', likeScore: '0', individualLikes: [], id: '15870', pageId: 'probability_distribution_motivated_definition', userId: 'NateSoares', edit: '1', type: 'newEdit', createdAt: '2016-07-07 00:49:26', auxPageId: '', oldSettingsValue: '', newSettingsValue: '' } ], feedSubmissions: [], searchStrings: {}, hasChildren: 'false', hasParents: 'true', redAliases: {}, improvementTagIds: [], nonMetaTagIds: [], todos: [], slowDownMap: 'null', speedUpMap: 'null', arcPageIds: 'null', contentRequests: {} }