Lecture 6-Probability Distributions Flashcards
Random Variables
In general, it is usually possible to convert points in the sample space into real values.
*The precise values cannot be known in advance since they depend on outcomes which are themselves random. *It is for this reason that variables like X are called random variables.
In more formal terms, a random variable is defined to be a function that “…assigns exactly one value to each point in a sample space for an experiment” Above, we implicitly defined our random variable to be the amount of money we receive in the game.
*The nature of the assignment gives the random variable its name. In our experiment above, X is the prize money from the game of tossing two ‘fair’ dice.
*Random Variables form the core of Inferential Statistics.
Two types of data and two types of random variables
Discrete Data
Continuous Data
Discrete random variables
Continuous random variables
Discrete random variables
our random variable X could assume any one of eleven possible values.
* This is an example of what is known as a discrete random variable.
*A discrete random variable is one which can take precise values on the real line. It assumes countable values, where the consecutive values are separated by a certain gap.
Continuous random variables
is one which can assume any value contained in one or more intervals on the real number line.
What is a probability distribution
links a random variable X with the probability that X assumes a discrete value or a range of values
*This can be presented by a table, function or formula
*Random variables can be discrete or continuous
*Probability distributions are also correspondingly discrete or continuous
Discrete vs Continuous Random Variables
Every random variable has associated with it a probability distribution.
* As you may imagine, discrete random variables possess discrete probability distributions, and continuous random variables possess continuous probability distributions.
*As both types of random variables can be distinguished by their characteristics, so too can both types of probability distributions be distinguished.
Properties of Discrete Probability Distributions
There are two characteristics that the probability distribution of a discrete random variable must possess
*For any value x on the real line:
(1) Pr(X=x) 0
(2) Pr(X=x) = 1
Properties of Continuous Probability Distributions
Let f(x) be the probability distribution of a continuous random variable.
*Then
(1) f(x) is greater than 0 for each value of x
(2)
*The second criterion means that the area under the curve of f(x), the probability density function, is equal to 1.
Probability Distribution for a Discrete Random Variable
Such a table presents all values taken on by the random variable and their corresponding probabilities.
*Furthermore, the probabilities sum to one.
*Such a table is called a probability distribution for our random variable X.
Another example of a probability distribution for a discrete random variable
Consider the experiment of tossing a ‘fair’ coin twice.
* Suppose that this experiment forms part of a game during a lime among some friends.
*The rules of the game specify that each outcome of a ‘Head’ entitles the player to a $2.00 prize while each outcome of a ‘Tail’ results in the player paying out $2.00. Each time that the experiment is repeated the player stands to get net prize money of $2.00 or $0.00 or pay out $2.00. We may not, however, know the precise prize money in advance as these moneys all depend on outcomes that are also random.
Ppro
Net Prize X Outcome(s) Probability
$-4 TT 0.25
$0 HT, TH 0.25 + 0.25 = 0.50
$4 HH 0.25
Charting the Discrete Probability Distribution
So far we have presented probability distributions in tabular form
*It seems logical that we can also present them in graphical form, charting the values of the random variable against the probability that the random variable assumes those values
*We can proceed to show a chart of the only probability distribution among the three tables.
*We call such a chart the graph of the probability distribution.
Example of a Discrete Cumulative Probability Distribution
Probability Cumulative Probability
Distribution Distribution
x P(x) x P(X < x)
1 .15 1 .15
2 .34 2 .49
3 .28 3 .77
4 .23 4 1.00
Probability Distribution for a Continuous Random Variable
We define the probability distribution for continuous random variables differently.
* Recall that we cannot count the values assumed by a continuous random variable.
* The number of values taken on by the variable in any interval is infinite.
* Accordingly, we modify the approach used for the discrete random variables.
Probability density function
The probability distribution function of a continuous random variable