Skip to content Skip to navigation

Connexions

You are here: Home » Content » Discrete Random Variables: Geometric (optional)

Navigation

Content Actions

  • Download module PDF
  • Add to ...
    Add the module to:
    • My Favorites
    • A lens
    • An external social bookmarking service
    • My Favorites (What is 'My Favorites'?)
      'My Favorites' is a special kind of lens which you can use to bookmark modules and collections directly in Connexions. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need a Connexions account to use 'My Favorites'.
    • A lens (What is a lens?)

      Definition of a lens

      Lenses

      A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

      What is in a lens?

      Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

      Who can create a lens?

      Any individual Connexions member, a community, or a respected organization.

    • External bookmarks
  • E-mail the authors

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of Connexions content. You can think of it as a fancy kind of list that will let you see Connexions through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to Connexions materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual Connexions member, a community, or a respected organization.

This content is ...

In these lenses

  • CCOTP

    This module is included inLens: CCOTP Lens
    By: Tahiya MaromeAs a part of collection:"Collaborative Statistics"

    Comments:

    "Part of the Books featured on Community College Open Textbook Project"

    Click the "CCOTP" link to see all content selected in this lens.

  • Bio 502 at CSUDH

    This module is included inLens: Bio 502
    By: Terrence McGlynnAs a part of collection:"Collaborative Statistics"

    Comments:

    "This is the course textbook for Biology 502 at CSU Dominguez Hills"

    Click the "Bio 502 at CSUDH" link to see all content selected in this lens.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.

Discrete Random Variables: Geometric (optional)

Module by: Susan Dean, Dr. Barbara Illowsky

Summary: This module describes the geometric experiment and the geometric probability distribution. This module is included in the Collaborative Statistics textbook/collection as an optional lesson.

The characteristics of a geometric experiment are:

  1. There are one or more Bernoulli trials with all failures except the last one, which is a success. In other words, you keep repeating what you are doing until the first success. Then you stop. For example, you throw a dart at a bull's eye until you hit the bull's eye. The first time you hit the bull's eye is a "success" so you stop throwing the dart. It might take you 6 tries until you hit the bull's eye. You can think of the trials as failure, failure, failure, failure, failure, success. STOP.
  2. In theory, the number of trials could go on forever. There must be at least one trial.
  3. The probability,pp, of a success and the probability, qq, of a failure is the same for each trial. p+q=1 p+q 1 and q=1-p q 1-p . For example, the probability of rolling a 3 when you throw one fair die is 1616. This is true no matter how many times you roll the die. Suppose you want to know the probability of getting the first 3 on the fifth roll. On rolls 1, 2, 3, and 4, you do not get a face with a 3. The probability for each of rolls 1, 2, 3, and 4 is q=56 q 56 , the probability of a failure. The probability of getting a 3 on the fifth roll is 56 56 56 56 16 =0.0804 56 56 56 56 16 0.0804
The outcomes of a geometric experiment fit a geometric probability distribution. The mean and variance are in the summary in this chapter.

Example 1

You play a game of chance that you can either win or lose (there are no other possibilities) until you lose. Your probability of winning is p = 0.43p = 0.43. What is the probability that it takes 5 games until you win? Let XX = the number of games you play until you win (includes the winning game). Then XX takes on the values 1, 2, 3, ... (could go on indefinitely). Since p = 0.43p = 0.43, q = 1 - 0.43 = 0.57q = 1 - 0.43 = 0.57. The probability question is P(X=5) P(X 5) .

Example 2

A safety engineer feels that 35% of all industrial accidents in her plant are caused by failure of employees to follow instructions. She decides to look at the accident reports until she finds one that shows an accident caused by failure of employees to follow instructions. On the average, how many reports would the safety engineer expect to look at until she finds a report showing an accident caused by employee failure to follow instructions? What is the probability that the safety engineer will have to examine at least 3 reports until she finds a report showing an accident caused by employee failure to follow instructions?

Let XX = the number of accidents the safety engineer must examine until she finds a report showing an accident caused by employee failure to follow instructions. XX takes on the values 1, 2, 3, .... The first question asks you to find the expected value or the mean. The second question asks you to find P(X3) P(X 3) . ("At least" translates as a "greater than or equal to" symbol).

Example 3

Suppose that you are looking for a chemistry lab partner. The probability that someone agrees to be your lab partner is 0.55. Since you need a lab partner very soon, you ask every chemistry student you are acquainted with until one says that he/she will be your lab partner. What is the probability that the fourth person says yes?

This is a geometric problem because you may have a number of failures before you have the one success you desire. Also, the probability of a success stays the same each time you ask a chemistry student to be your lab partner. There is no definite number of trials (number of times you ask a chemistry student to be your partner).

Problem 1

Let XX = the number of ____________ you must ask ____________ one says yes.

Solution 1

Let XX = the number of chemistry students you must ask until one says yes.

Problem 2

What values does XX take on?

Solution 2

0, 1, 2, …, (total number of chemistry students)

Problem 3

What are pp and qq?

Solution 3

  • pp = 0.55
  • qq = 0.45

Problem 4

The probability question is P(_______).

Solution 4

P ( X  =  4 )P(X = 4)

Notation for the Geometric: G = Geometric Probability Distribution Function

XX ~ G(p)G(p)

Read this as "XX is a random variable with a geometric distribution." The parameter is pp. pp = the probability of a success for each trial.

Example 4

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

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

XX takes on the values 1, 2, 3, ... where p = 0.02p= 0.02. XX ~ G(0.02)G(0.02)

Find P(X=7) P(X 7) . P(X=7)=0.0177 P(X 7) 0.0177 . (calculator or computer)

TI-83+ and TI-84: For a general discussion, see this example (binomial). The syntax is similar. The geometric parameter list is (p, number) If "number" is left out, the result is the geometric probability table. For this problem: After you are in 2nd DISTR, arrow down to D:geometpdf. Press ENTER. Enter .02,7). The result is P(X=7)=0.0177 P(X 7) 0.0177 .

The probability that the 7th component is the first defect is 0.0177.

The graph of XX ~ G(0.02)G(0.02) is:

The geometric probability distribution function graph consists of bars sloping downwards with each successive bar to the right. The x-axis is from 1-∞ and the y-axis is from 0-0.02 in increments of 0.005. The x-axis is equal to the number of computer components tested until the defect is found.

The yy-axis contains the probability of XX, where XX = the number of computer components tested.

The number of components that you would expect to test until you find the first defective one is the mean, μμ = 50.

The formula for the mean is μ=1p=10.02=50 μ 1p 10.02 50

The formula for the variance is σ2= 1p ( 1p - 1 ) = 10.02 ( 10.02 - 1 ) =2450 σ2 1p ( 1p - 1 ) 10.02 ( 10.02 - 1 ) 2450

The standard deviation is σ= 1p ( 1p - 1 ) = 10.02 ( 10.02 - 1 ) = 49.5 σ 1p ( 1p - 1 ) 10.02 ( 10.02 - 1 ) 49.5

Comments, questions, feedback, criticisms?

Send feedback