Difference between revisions of "TI-BASIC:Geometpdf"

From Learn @ Cemetech
Jump to navigationJump to search
(Initial automated import)
 
 
Line 34: Line 34:
 
The value of geometpdf( is given by the formula
 
The value of geometpdf( is given by the formula
  
[[TI-BASIC:Math|Math]]
+
<math>
 
\operatorname{geometpdf}(p,n) = p(1-p)^{n-1}
 
\operatorname{geometpdf}(p,n) = p(1-p)^{n-1}
[[TI-BASIC:/math|/math]]
+
</math>
  
 
This formula can be intuitively understood: the probability that the first success is the nth trial is the probability of getting a success - <math>p</math> - times the probability of missing it the first n-1 times - <math>(1-p)^{n-1}</math>.
 
This formula can be intuitively understood: the probability that the first success is the nth trial is the probability of getting a success - <math>p</math> - times the probability of missing it the first n-1 times - <math>(1-p)^{n-1}</math>.

Latest revision as of 19:22, 24 February 2016

GEOMETPDF.GIF

Command Summary

Calculates the geometric probability for a single value

Command Syntax

geometpdf(probability, trials)

Menu Location

Press:

  1. 2ND DISTR to access the distribution menu
  2. ALPHA D to select geometpdf(, or use arrows.

Press ALPHA E instead of ALPHA D on a TI-84+/SE with OS 2.30 or higher.

Calculator Compatibility

TI-83/84/+/SE

Token Size

2 bytes

This command is used to calculate geometric probability. In plainer language, it solves a specific type of often-encountered probability problem, that occurs under the following conditions:

  1. A specific event has only two outcomes, which we will call "success" and "failure"
  2. The event is going to keep happening until a success occurs
  3. Success or failure is determined randomly with the same probability of success each time the event occurs
  4. We're interested in the probability that it takes a specific amount of trials to get a success.

For example, consider a basketball player that always makes a shot with 1/3 probability. He will keep throwing the ball until he makes a shot. What is the probability that it takes him 3 shots?

  1. The event here is throwing the ball. A "success", obviously, is making the shot, and a "failure" is missing.
  2. The event is going to happen until he makes the shot: a success.
  3. The probability of a success - making a shot - is 1/3
  4. We're interested in the probability that it takes 3 trials to get a success

The syntax here is geometpdf(probability, trials). In this case:

:geometpdf(1/3,3

This will give about .148 when you run it, so there's a .148 probability that it will take him 3 shots until he makes one (he'll make it on the 3rd try).

Formulas

The value of geometpdf( is given by the formula

<math> \operatorname{geometpdf}(p,n) = p(1-p)^{n-1} </math>

This formula can be intuitively understood: the probability that the first success is the nth trial is the probability of getting a success - <math>p</math> - times the probability of missing it the first n-1 times - <math>(1-p)^{n-1}</math>.

For the trivial value of n=0, however, the above formula gives the incorrect value of 1. It should actually be 0, since the first success can never be the 0th trial. However, since you're not likely to ever be interested in this probability, this drawback doesn't really matter.

Related Commands