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

« back to all changes in this revision

Viewing changes to man/dcd/cdff.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
cdff             Scilab Group             Scilab Function              cdff
2
 
NAME
3
 
   cdff - cumulative distribution function F distribution 
4
 
  
5
 
CALLING SEQUENCE
6
 
 [P,Q]=cdff("PQ",F,Dfn,Dfd)
7
 
 [F]=cdff("F",Dfn,Dfd,P,Q);
8
 
 [Dfn]=cdff("Dfn",Dfd,P,Q,F);
9
 
 [Dfd]=cdff("Dfd",P,Q,F,Dfn)
10
 
PARAMETERS
11
 
 P,Q,F,Dfn,Dfd
12
 
             : five real vectors of the same size.
13
 
            
14
 
 P,Q (Q=1-P)
15
 
             :  The integral from 0 to F of the f-density. Input range: [0,1].
16
 
            
17
 
 F          : Upper limit of integration of the f-density. Input range:
18
 
            [0, +infinity). Search range: [0,1E300]
19
 
            
20
 
 Dfn        : Degrees of freedom of the numerator sum of squares. Input
21
 
            range: (0, +infinity). Search range: [ 1E-300, 1E300]
22
 
            
23
 
 Dfd        : Degrees of freedom of the denominator sum of squares. Input
24
 
            range: (0, +infinity). Search range: [ 1E-300, 1E300]
25
 
            
26
 
DESCRIPTION
27
 
   Calculates any one parameter of the F distribution given values for the
28
 
  others.
29
 
  
30
 
   Formula   26.6.2   of   Abramowitz   and   Stegun,  Handbook  of
31
 
  Mathematical  Functions (1966) is used to reduce the computation of the 
32
 
  cumulative  distribution function for the  F  variate to that of an
33
 
  incomplete beta.
34
 
  
35
 
   Computation of other parameters involve a seach for a value that produces
36
 
   the desired  value  of P.   The search relies  on  the monotinicity of P
37
 
  with the other parameter.
38
 
  
39
 
   The value of the  cumulative  F distribution is  not necessarily monotone
40
 
  in  either degrees of freedom.  There  thus may  be two values  that 
41
 
  provide a given CDF  value.   This routine assumes monotonicity and will
42
 
  find an arbitrary one of the two values.
43
 
  
44
 
   From DCDFLIB: Library of Fortran Routines for Cumulative Distribution
45
 
  Functions, Inverses, and Other Parameters (February, 1994) Barry W.
46
 
  Brown, James Lovato and Kathy Russell. The University of Texas.
47