~ubuntu-branches/ubuntu/karmic/scilab/karmic

« back to all changes in this revision

Viewing changes to man/dcd/cdfbet.cat

  • 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
cdfbet            Scilab Group            Scilab Function            cdfbet
 
2
NAME
 
3
   cdfbet - cumulative distribution function Beta distribution 
 
4
  
 
5
CALLING SEQUENCE
 
6
 [P,Q]=cdfbet("PQ",X,Y,A,B)
 
7
 [X,Y]=cdfbet("XY",A,B,P,Q)
 
8
 [A]=cdfbet("A",B,P,Q,X,Y)
 
9
 [B]=cdfbet("B",P,Q,X,Y,A)
 
10
PARAMETERS
 
11
 P,Q,X,Y,A,B
 
12
             : five real vectors of the same size.
 
13
            
 
14
 P,Q (Q=1-P)
 
15
             : The integral from 0 to X of the beta distribution (Input range: [0,
 
16
            1].)
 
17
            
 
18
 Q          : 1-P
 
19
            
 
20
 X,Y (Y=1-X)
 
21
             : Upper limit of integration of beta density (Input range: [0,1],  Search
 
22
            range: [0,1]) A,B : The two parameters of the beta density
 
23
            (input range: (0, +infinity), Search range: [1D-300,1D300] ) 
 
24
            
 
25
DESCRIPTION
 
26
   Calculates any one parameter of the beta distribution given values for
 
27
  the others (The beta density is proportional to  t^(A-1) * (1-t)^(B-1).
 
28
  
 
29
   Cumulative distribution function  (P)  is calculated directly by code
 
30
  associated with the following reference.
 
31
  
 
32
   DiDinato, A. R. and Morris,  A.   H.  Algorithm 708: Significant Digit
 
33
  Computation of the Incomplete  Beta  Function Ratios.  ACM Trans. Math. 
 
34
  Softw. 18 (1993), 360-373.
 
35
  
 
36
   Computation of other parameters involve a seach for a value that produces
 
37
   the desired  value  of P.   The search relies  on  the monotinicity of P
 
38
  with the other parameter.
 
39
  
 
40
   From DCDFLIB: Library of Fortran Routines for Cumulative Distribution
 
41
  Functions, Inverses, and Other Parameters (February, 1994) Barry W.
 
42
  Brown, James Lovato and Kathy Russell. The University of Texas.
 
43