Dataplot Vol 2 Vol 1

# LCTCDF

Name:
LCTCDF (LET)
Type:
Library Function
Purpose:
Compute the leads in coin tossing cumulative distribution function.
Description:
The formula for the leads in coin tossing probability mass function is

with n a non-negative integer denoting the shape parameter.

The cumulative distribution function is computed by summing the probability mass function.

Syntax:
LET <y> = LCTCDF(<x>,<n>)             <SUBSET/EXCEPT/FOR qualification>
where <x> is a variable, a number, or a parameter containing values between 0 and <n>;
<n> is a number or parameter that defines the upper limit of the leads in coin tossing distribution;
<y> is a variable or a parameter (depending on what <x> is) where the computed cdf value is stored;
and where the <SUBSET/EXCEPT/FOR qualification> is optional.
Examples:
LET A = LCTCDF(3,20)
LET Y = LCTCDF(X,100)
Default:
None
Synonyms:
None
Related Commands:
 LCTPDF = Compute the leads in coin tossing probability mass function. LCTPPF = Compute the leads in coin tossing percent point function. DISPDF = Compute the discrete uniform probability mass function. MATPDF = Compute the matching probability mass function. LOSPDF = Compute the lost games probability mass function. ARSPDF = Compute the arcsine probability density function. BETPDF = Compute the beta probability density function. UNIPDF = Compute the uniform probability mass function.
Reference:
Johnson, Kotz, and Kemp (1992), "Univariate Discrete Distributions", Second Edition, Wiley, pp. 274-275.

Feller (1957), "Introduction to Probability Theory", Third Edition, John Wiley and Sons, pp. 78-84.

Applications:
Distributional Modeling
Implementation Date:
2006/6
Program:
```
TITLE CASE ASIS
TITLE Leads in Coin Tossing Cumulative Distribution ...
Function CR() (N = 50)
LABEL CASE ASIS
Y1LABEL Probability
X1LABEL X
LINE BLANK
SPIKE ON
TIC OFFSET UNITS SCREEN
TIC OFFSET 3 3
PLOT LCTCDF(X,50) FOR X = 0 1 50
```

Date created: 6/20/2006
Last updated: 6/20/2006