A summary on random variables, covering: Bernoulli random variable, binomial random variable, negative binomial random variable, geometric random variable, hypergeometric random variable, poisson random variable, uniform random variable, exponential distribution, gamma distribution, and normal dist...
A random variable is essentially a random number. Random variables are upper case letters
and they can take on various values depending on the random outcome of an experiment. If
the random variable is given by a capital letter, the corresponding small letter denotes the
various values that the random variable can take on. Because the random variable depend on
the random outcomes of the experiment given in , the random variable is a function of .
2.1 Discrete Random Variable
Discreet random variable: A random variable X is discreet if it can take on a finite (or infinite
and countable) number of values, usually integers.
Events are often expressed as random variables in statistic, and we have to calculate
probabilities for these events (probability of the random variable).
Probability mass function: Suppose a random variable X can take on the values
(these values are known as mass points). The probability mass function (or frequency
function) of X is defined as the function such that: or
.
Properties of p: i)
ii)
The probability mass function (frequency function) can be represented by a bar chart. The
height of each bar equals the probability of the corresponding value of the random variable.
Example 1
A coin is tossed 3 times.
Sample space:
i) Let the random variable denote the number of heads.
1
, The values (mass points) that the random variable can take on is .
The probability mass function is then:
The probability mass function (frequency function) is represented by a bar chart in
Rice, p.36.
ii) Let the random variable Y denote the number of tails.
The values (mass points) that the random variable can take on is .
The probability mass function is then:
iii) Let the random variable Z denote the number of heads minus the number of tails.
The values (mass points) that the random variable can take on is .
The probability mass function is then:
2
, Example 2
Two socks are selected at random from a drawer containing five brown socks and three
green socks. Let X be the random variable where X is the number of brown socks selected.
The values (mass points) that the random variable can take on is .
The probability mass function is then:
Example 3
Check whether the following function:
can serve as the frequency function of a discreet random variable.
and
Thus, the given function can serve as the frequency function of the random variable with
values {1,2,3,4,5}.
Cumulative distribution function (distribution function)
There are many problems in which it is of interest to know the probability that the value of a
random variable is less than or equal to some real numbers.
Suppose X is a discreet random variable. Define a and b such that , then
.
3
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller mandimngezana. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $9.02. You're not tied to anything after your purchase.