The sum of the probabilities of all x values in a discrete distribution equals

Author: Daniel

Dan graduated from the University of Oxford with a First class degree in mathematics. As well as teaching maths for over 8 years, Dan has marked a range of exams for Edexcel, tutored students and taught A Level Accounting. Dan has a keen interest in statistics and probability and their real-life applications.

Video Transcript

Let 𝑋 denote a discrete random variable which can take the values one, two, three, four, five, and six. Given that 𝑋 has probability distribution function 𝑓 of π‘₯ equals π‘Žπ‘₯ over five, find the value of π‘Ž.

In order to answer this problem, let’s recall some of the key properties of discrete random variables. When described by a probability distribution function 𝑓 of π‘₯, we know that the sum of all 𝑓 of π‘₯ values must be equal to one. In other words, the sum of all possible probabilities is equal to one. We also know that each individual value must be in the closed interval from zero to one. In other words, it can be no smaller than zero and no greater than one. So this helps us answer the problem. We are going to begin by finding the corresponding probability of each event occurring, in other words, the probability that 𝑋 takes any of the values given. Then, we’ll have expressions in terms of π‘Ž which we can sum to one and solve for π‘Ž.

We’ll begin by constructing a table showing all the possible values of 𝑓 of π‘₯. 𝑓 of π‘₯ is given by the expression π‘Žπ‘₯ over five. So when 𝑋 is equal to one, we get π‘Ž times one over five, which is simply π‘Ž over five. Then when 𝑋 is equal to two, it’s π‘Ž times two over five, which is two π‘Ž over five. And then, in a similar way, it’s three π‘Ž over five when 𝑋 is equal to three, four π‘Ž over five, five π‘Ž over five, and six π‘Ž over five. Now we could simplify the expression five π‘Ž over five, but we’re actually going to add all of these values. We know they sum to one, so π‘Ž over five plus two π‘Ž over five plus three π‘Ž over five plus four π‘Ž over five plus five π‘Ž over five plus six π‘Ž over five equals one. These sum to 21π‘Ž over five, so 21π‘Ž over five equals one.

To find the value of π‘Ž, we could divide by 21 over five. Or equivalently, we can do this in two steps by multiplying by five and then dividing by 21 to give us π‘Ž equals five over 21. It is worth double-checking that this value of π‘Ž satisfies the second property; that is, any individual probability must be greater than or equal to zero and less than or equal to one. Beginning with π‘Ž over five, when π‘Ž is five over 21, π‘Ž over five is one over 21. And this is in the correct interval. Two π‘Ž over five is two over 21, three π‘Ž over five is three over 21, four π‘Ž over five is four over 21, and so on. Every single value of 𝑓 of π‘₯ is between zero and one inclusive. And in fact, they sum to make one as required. π‘Ž is equal to five over 21.

In this section we learn about discrete random variables and probability distribution functions, which allow us to calculate the probabilities associated to a discrete random variable.

We start by defining discrete random variables and then define their probability distribution functions (pdf) and learn how they are used to calculate probabilities.

Tutorial

In the following tutorial, we learn more about what discrete random variables and probability distribution functions are and how to use them. Watch it before carrying-on.

Definition: Discrete Random Variable

Discrete Variables

A discrete variable is a variable that can "only" take-on certain numbers on the number line.
We usually refer to discrete variables with capital letters: \[X, \ Y, \ Z, \ \dots \] A typical example would be a variable that can only be an integer, or a variable that can only by a positive whole number.

Discrete variables can either take-on an infinite number of values or they can be limited to a finite number of values.

For instance the number we obtain , when rolling a dice is a discrete variable, which is limited to a finite number of values:\(1, \ 2, \ 3, \ 4, \ 5, \) or \(6\).

An example of a discrete variable that can take-on an "infinite" number of values could be: the number of rain drops that fall over a square kilometer in Sweden on November 25th.
Note: although this quantity can technically not be infinite, it is common practice and acceptable to assume so.

Discrete Random Variables

A discrete variable is a discrete random variable if the sum of the probabilities of each of its possible values is equal to \(1\).

Example

When we roll a single dice, the possible outcomes are: \[1, \ 2, \ 3, \ 4, \ 5, \ 6\] The probability of each of these outcomes is \(\frac{1}{6}\).
If we define the discrete variable \(X\) as: \(X:\) the number obtained when rolling a dice. Then this is a discrete random variable since the sum of the probabilities of each of these possible outcomes is equal to \(1\), indeed: \[\frac{1}{6}+\frac{1}{6}+\frac{1}{6}+\frac{1}{6}+\frac{1}{6}+\frac{1}{6} = 1 \]

Probability Distribution Function (PDF)

Given a discrete random variable, \(X\), its probability distribution function, \(f(x)\), is a function that allows us to calculate the probability that \(X=x\).
In other words, \(f(x)\) is a probability calculator with which we can calculate the probability of each possible outcome (value) of \(X\). \[P\begin{pmatrix}X = x \end{pmatrix} = f(x) \]

Example

A bag contains several balls numbered either: \(2\), \(4\) or \(6\) with only one number on each ball. A simple experiment consists of picking a ball, at random, out of the bag and looking at the number written on the ball.

Defining the discrete random variable \(X\) as: \(X\): the number obtained when we pick a ball at random from the bag and given that its probability distribution function is: \[P\begin{pmatrix} X = x \end{pmatrix} = \frac{8x-x^2}{40}\] Answer each of the following:

  1. State the possible values that \(X\) can take.
  2. Calculate the probability of picking a ball with \(2\) on it.
  3. Calculate the probability of picking a ball with \(4\) on it.

Distribution Tables & Graphs

To illustrate the probabilities of each of the possible values a discrete random variable \(X\) can take, it will often be useful to showcase all the possible values of \(X\) alongside the corresponding probability.
This is usually done in either:

  • a probability distribution table, or
  • a bar chart.

Each of these is illustrated in the following tutorial and in the detailed example below.

Example: Distribution Table & Graph

We'll stick to the example we saw further up:

A game of chance consists of picking, at random, a ball from a bag. Each ball is numbered either \(2\), \(4\) or \(6\). The discrete random variable is defined as: \(X\): the number obtained when we pick a ball from the bag.
The probability distribution function associated to the discrete random variable is: \[P\begin{pmatrix} X = x \end{pmatrix} = \frac{8x-x^2}{40}\]

  1. Construct a probability distribution table to illustrate this distribution.
  2. Draw a bar chart to illustrate this probability distribution.
  3. Use the distribution table and bar chart to determine which value the discrete random variable \(X\) is most likely to take.

Tutorial

In the following tutorial we learn how to construct probability distributions tables and their corresponding bar charts. Make sure to watch before working through the exercises below.

Exercise

A discrete random variable \(X\) can take either of the values: \[x = \left \{ 2, \ 4, \ 6 \right \}\] and has a probability distribution function (pdf) defined as: \[P\begin{pmatrix} X = x \end{pmatrix} = \frac{8x-x^2}{40}\]

  1. Construct a probability distribution table for \(X\).
  2. Illustrate this probability distribution with a bar chart.
  3. Using your previous answers, state which value the discrete random variable \(X\) most likely to take?
  1. A discrete random variable \(X\) has a probability distribution function defined as: \[P\begin{pmatrix} X = x \end{pmatrix} = kx^2\] where: \(x = \left \{ 0, \ 1, \ 2, \ 3\right \}\).
    1. Find the value of \(k\).
    2. Calculate the probability that \(X = 2\).

  2. A discrete random variable \(X\) has a probability distribution function defined as: \[P \begin{pmatrix} X = x \end{pmatrix} = \frac{x}{k} \] where: \(x = \left \{ 1, \ 2, \ 3, \ 4, \ 5 \right \}\).
    1. Find the value of \(k\).
    2. Illustrate this discrete probability distribution in a table.

  3. A discrete random variable has a probability distribution function \(f(x)\), its distribution is shown in the following table:
    1. Find the value of \(k\) and draw the corresponding distribution table.
    2. Represent this distribution in a bar chart.
    3. Which value is the discrete random variable most likely to take?

Answers Without Working

    1. \(k = \frac{1}{14}\)
    2. \(P \begin{pmatrix} X = 2 \end{pmatrix} = \frac{2}{7}\) that's \(0.286\) (rounded to 3 significant figures).

    1. \(k = 15\)

    1. \(k=-0.1\)

      The probability distribution therefore becomes:

    2. The graphical representation, of this distribution, is shown in the following bar chart:

    3. The discrete random variable is most likely to take the value \(2\).

What is the sum of all probabilities in a discrete probability distribution?

In a probability distribution, each probability is between 0 and 1, inclusive. Because all possible values of the random variable are included in the probability distribution, the sum of the probabilities is 1.

What is the sum of all probabilities of X?

The probabilities in the probability distribution of a random variable X must satisfy the following two conditions: Each probability P(x) must be between 0 and 1: 0≀P(x)≀1. The sum of all the probabilities is 1: Ξ£P(x)=1.

What is the sum of all the probabilities in a probability distribution equal to?

A probability distribution function indicates the likelihood of an event or outcome. Statisticians use the following notation to describe probabilities: p(x) = the likelihood that random variable takes a specific value of x. The sum of all probabilities for all possible values must equal 1.

What is X in discrete probability distribution?

Section 5.1: Basics of Probability Distributions. As a reminder, a variable or what will be called the random variable from now on, is represented by the letter x and it represents a quantitative (numerical) variable that is measured or observed in an experiment.

Toplist

Neuester Beitrag

Stichworte