Random variables describe the outcomes of statistical experiments.

Random Variable Notation

  • Uppercase letters ( or ) denote random variables
  • Lowercase letters ( or ) denote the values of random variables
  • Example:
    • the number of heads when three fair coins are tossed (words)
    • (numbers)

Probability Distribution Function (PDF) for Discrete Random Variables

For discrete PDFs:

  • Each probability is between 0 and 1 (inclusive)
  • The sum of probabilities is 1

Example

Jeremiah has basketball practice 2x/week. 90% of the time, he attends both practices. 8% of the time, he attends one practice. 2% of the time, he does not attend either practice.

Identify and the values it takes on.

the number of practices that Jeremiah will attend

| | | | --- | ----------- | | 0 | | | 1 | | | 2 | |

This is a discrete PDF because:

  • Each probability is between 0 and 1 (inclusive)
  • The sum of the probabilities is 1 (0.02 + 0.08 + 0.9 = 1)

Mean, Expected Value, Standard Deviation

  • Expected value is referred to as the long-term mean/average ()
    • After conducting the experiment many times, this value is expected

The standard deviation () of the PDF has the formula

Earthquake

On May 11, 2013 at 9:30 PM, the probability that moderate seismic activity (one moderate earthquake) would occur in the next 48 hours in Japan was about 1.08%. You bet that a moderate earthquake will occur in Japan during this period. If you win the bet, you win $100. If you lose the bet, you pay $10. LetΒ  = the amount of profit from a bet.

Find the mean and standard deviation ofΒ .

| | | | | | ------ | -------- | ------------- | --------------------- | | $100 | 0.0108 | 1.08 | 127.873 | | ($10) | 0.9892 | (9.892) | 1.396 |

Transforming Random Variables

Multiplication (division) by some constant

  • Mean is multiplied by
  • Stdev is multiplied by

Addition (subtraction) of some constant

  • is added to the mean
  • Stdev not affected

Combining Random Variables

  • Can only be combined if independent
  • Mean is combined (addition or subtraction)
  • Stdev cannot be combined
  • Variance can be added
    • Take sqrt of combined variance to get stdev

Example

Let the number of shirts Albert sells on a given day and the number of jackets albert sells on a given day.

Day
1129
2412
3314
4925
5316
6819
7321
  • What are the means of shirts and pants sold on any given day?

  • What are the standard deviations?

  • Shirts sell for $20 and jackets sell for $50. What is the mean total revenue?

  • What is the standard deviation of the total revenue?

Binomial Distribution

Characteristics of a binomial experiment:

  • The number of trials is fixed

  • There are only two possible outcomes

    • success-
    • failure
  • The trials are independent and repeated under identical conditions

    • and remain the same between trials
  • Mean () =

  • Variance () =

  • Standard deviation () =

An experiment with trial is called a Bernoulli trial.

Notation

is read as ” is a random variable with a binomial distribution”.

  • number of trials
  • probability of success

Example

It has been stated that about 41% of adult workers have a high school diploma but do not pursue any further education. If 20 adult workers are randomly selected, find the probability that at most 12 of them have a high school diploma but do not pursue any further education. How many adult workers do you expect to have a high school diploma but do not pursue any further education?

LetΒ Β = the number of workers who have a high school diploma but do not pursue any further education.

takes on the values 0, 1, 2, …, 20 whereΒ Β = 20,Β Β = 0.41, andΒ Β = 1 – 0.41 = 0.59.Β 

FindΒ .Β (calculator or computer)

>>> BinomialCD(12, 20, 0.41)
0.9738

Geometric Distribution

Characteristics of a geometric experiment:

  • Repeated until success occurs

  • Repeated trials are independent

  • and remain the same between trials

  • number of trials until the first success

  • Mean () =

  • Stdev () = or

where is the probability of a success for each trial.

Example

Assume that the probability of a defective computer component is 0.02. Components are randomly selected. Find the probability that the first defect is caused by the seventh component tested. How many components do you expect to test until one is found to be defective?

Let = the number of computer components tested until the first defect is found.

takes on the values 1, 2, 3, … where = 0.02. Find .

>>> GeoPD(7, 0.02)
0.0177