~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/dcd/cdfgam.man

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2002-03-21 16:57:43 UTC
  • Revision ID: james.westby@ubuntu.com-20020321165743-e9mv12c1tb1plztg
Tags: upstream-2.6
ImportĀ upstreamĀ versionĀ 2.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH cdfgam 1 "Dec 1997" "Scilab Group" "Scilab Function"
 
2
.so ../sci.an
 
3
.SH NAME
 
4
cdfgam - cumulative distribution function gamma distribution 
 
5
.SH CALLING SEQUENCE
 
6
.nf
 
7
[P,Q]=cdfgam("PQ",X,Shape,Scale)
 
8
[X]=cdfgam("X",Shape,Scale,P,Q)
 
9
[Shape]=cdfgam("Shape",Scale,P,Q,X)
 
10
[Scale]=cdfgam("Scale",P,Q,X,Shape)
 
11
.fi 
 
12
.SH PARAMETERS
 
13
.TP 10
 
14
P,Q,X,Shape,Scale
 
15
: five real vectors of the same size.
 
16
.TP
 
17
P,Q (Q=1-P)
 
18
  The integral from 0 to X of the gamma density.
 
19
Input range: [0,1].
 
20
.TP
 
21
X
 
22
:  The upper limit of integration of the gamma density.
 
23
Input range: [0, +infinity).
 
24
Search range: [0,1E300]
 
25
.TP
 
26
Shape
 
27
:  The shape parameter of the gamma density.
 
28
Input range: (0, +infinity).
 
29
Search range: [1E-300,1E300]
 
30
.TP
 
31
Scale
 
32
:  The scale parameter of the gamma density.
 
33
Input range: (0, +infinity).
 
34
Search range: (1E-300,1E300]
 
35
.SH DESCRIPTION
 
36
Calculates any one parameter of the gamma
 
37
distribution given values for the others.
 
38
.LP
 
39
Cumulative distribution function (P) is calculated directly by
 
40
the code associated with:
 
41
.LP
 
42
DiDinato, A. R. and Morris, A. H. Computation of the  incomplete
 
43
gamma function  ratios  and their  inverse.   ACM  Trans.  Math.
 
44
Softw. 12 (1986), 377-393.
 
45
.LP
 
46
Computation of other parameters involve a seach for a value that
 
47
produces  the desired  value  of P.   The search relies  on  the
 
48
monotinicity of P with the other parameter.
 
49
.LP
 
50
The gamma density is proportional to
 
51
\fVT**(SHAPE - 1) * EXP(- SCALE * T)\fR
 
52
.LP
 
53
From DCDFLIB: Library of Fortran Routines for Cumulative Distribution
 
54
Functions, Inverses, and Other Parameters (February, 1994)
 
55
Barry W. Brown, James Lovato and Kathy Russell. The University of
 
56
Texas.