ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

How to Calculate Expected Value Probability

Updated on August 14, 2012

Whenever I think about expected value in probability, I always remember my professor in college talking about a fair coin. A fair coin is a coin that gives equal probability for either a head or tail to occur when you flip it.

For this hub, I will be explaining what expected value is, how to calculate it, and show an example by calculating the expected value of a betting game involving a fair coin.

About the Author

Dez was a mathlete in high school and has a master's degree in Applied Mathematics from one of the best schools in the Philippines.

What is Expected Value Probability?

Based on the literal meaning of the words, it is basically the value you expect to get should you do an experiment whose outcome is represented by the random variable. It uses probability to find out what the expected payoff will be.

In a more formal terms, it is the weighted average of all possible values that a random variable can take on based on the terms given for the experiment. It is the average of all possible outcomes, adjusted for the likelihood that each outcome will occur.

History of Expected Value Probability

I find that learning the history of a mathematical process helps me remember the uses of it better than just blindly memorizing it. According to Wikipedia, expected value probability originated because of this problem: "How do you divide the stakes in a fair way between two people who have to end their game before it is properly finished?"

Blaise Pascal and Pierre de Fermat have exchanged letters trying to solve this problem. They came up with this basic principle: "The value of a future gain should be directly proportional to the chance of getting it." They weren't able to publish this, though. It was only until Christian Huygens published the principle in his book that people learned of this expected value probability. He also added more complicated situations and showed how to calculate their expectations (e.g. having more than two players, more than two possible outcomes, etc.)

Formulas for Expected Value Probability

First, let's look at a discrete random variable. What is a discrete random variable? Basically, it means that the random variable is countable. Examples include the number of students in a classroom, the number of eggs in a basket, etc.

So, suppose your random variable is X, which can take a value of x1 with probability p1, x2 with probability p2, and so on. The formula for the expected value probability of X is:

Source

This formula works for both the finite case and the countable case. A countable set can be counted, but may never actually finish (infinite case). However, in order to find the expected value for an infinite countable set, the series should converge absolutely. This means that if you add the series of infinite numbers, it should have a finite solution.

In the case of a continuous random variable, where the random variable can assume any numerical value in a given interval, the formula uses the integral function:

Source

Finding the Expected Value Probability for a Discrete Random Variable

In order to make this hub more user-friendly, I will only be showing the steps to solve for the discrete (finite) case. This is a very applicable concept we can use in simple things we encounter in our normal lives.

Steps:

  1. Figure out the probabilities and their corresponding outcomes for the problem at hand.
  2. Multiply them together to find the outcome for each probability.
  3. Add all the products and you will get the expected value.

Example (Fair Coin)

Suppose you are betting on a fair coin. A fair coin has equal probability that a head or tail will be on the face of the coin when flipped. You will win $10 if it lands on a head, and get nothing if it lands on tails.

Following the steps, let X be the payout and P represent the probability. For heads, XH = $10 with PH = 0.50. For tails, XT = $0 with PT = 0.50.

Then, we multiply the X's with their corresponding P's:

XH * PH = $10 * 0.50 = $5.

XT * PT = $0 * 0.50 = $0.

Then, adding the products, we get E(X) = $5 + $0 = $5.

Thus, our expected value (of payout) is $5.

If we are asked to pay a fee before being allowed to bet, we would only be willing to pay a fee that is less than the expected payout of $5. If the fee is indeed $5, this is called a fair game. This just means that neither side has the advantage over the other, and the expected value will then be 0.

How did it become 0? You follow the same steps, but when adding the products together, you need to take into account that you paid $5 at the start of the game, so

E(X) = $5 + $0 - $5 (for the betting fee) = $0.

Practical Uses of Expected Value Probability

Based on the example, expected value probability actually gives you the amount you should be willing to pay to join a game involving probabilities. This may include joining the lottery, betting on card games, or even as simple as a game involving flipping coins.

Test Your Knowledge

view quiz statistics

Comments

    0 of 8192 characters used
    Post Comment

    • profile image

      whowas 

      6 years ago

      A fascinating and useful explanation of the subject. Worth bookmarking for any student of science, probability or statistics.

    • dezalyx profile imageAUTHOR

      dezalyx 

      6 years ago from Philippines

      Chi-square test compares observed values vs expected values in its formula. For this hub, it's only about the expected values, which are calculated using possible outcomes and its corresponding probabilities.

    • profile image

      win-winresources 

      6 years ago from Colorado

      Dezalyx-

      Would this also be known as the non-parametric Chi Square test of observed versus expected?

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)