~ubuntu-branches/ubuntu/trusty/scilab/trusty

« back to all changes in this revision

Viewing changes to modules/statistics/help/en_US/cdf/cdfbin.xml

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-08-02 11:02:49 UTC
  • mfrom: (1.4.6)
  • Revision ID: package-import@ubuntu.com-20120802110249-0v5953emkp25geuz
Tags: 5.4.0-beta-2-1~exp1
* New upstream release
* Remove libscilab-java (remove upstream). Use libscilab2-java instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<!--
 
3
 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
 
4
 * Copyright (C) 2000 - INRIA - Carlos Klimann
 
5
 * 
 
6
 * This file must be used under the terms of the CeCILL.
 
7
 * This source file is licensed as described in the file COPYING, which
 
8
 * you should have received as part of this distribution.  The terms
 
9
 * are also available at    
 
10
 * http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
 
11
 *
 
12
 -->
 
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="cdfbin">
 
14
  <refnamediv>
 
15
    <refname>cdfbin</refname>
 
16
    <refpurpose> cumulative distribution function Binomial distribution</refpurpose>
 
17
  </refnamediv>
 
18
  <refsynopsisdiv>
 
19
    <title>Calling Sequence</title>
 
20
    <synopsis>[P,Q]=cdfbin("PQ",S,Xn,Pr,Ompr)
 
21
      [S]=cdfbin("S",Xn,Pr,Ompr,P,Q)
 
22
      [Xn]=cdfbin("Xn",Pr,Ompr,P,Q,S)
 
23
      [Pr,Ompr]=cdfbin("PrOmpr",P,Q,S,Xn)
 
24
    </synopsis>
 
25
  </refsynopsisdiv>
 
26
  <refsection>
 
27
    <title>Arguments</title>
 
28
    <variablelist>
 
29
      <varlistentry>
 
30
        <term>P,Q,S,Xn,Pr,Ompr</term>
 
31
        <listitem>
 
32
          <para>six real vectors of the same size.</para>
 
33
        </listitem>
 
34
      </varlistentry>
 
35
      <varlistentry>
 
36
        <term>P,Q (Q=1-P)  </term>
 
37
        <listitem>
 
38
          <para>The cumulation from 0 to S of the binomial distribution. (Probablility of S or fewer successes in XN trials each with probability of success PR.) Input range: [0,1].</para>
 
39
        </listitem>
 
40
      </varlistentry>
 
41
      <varlistentry>
 
42
        <term>S</term>
 
43
        <listitem>
 
44
          <para>The number of successes observed. Input range: [0, XN] Search range: [0, XN]</para>
 
45
        </listitem>
 
46
      </varlistentry>
 
47
      <varlistentry>
 
48
        <term>Xn</term>
 
49
        <listitem>
 
50
          <para>The number of binomial trials. Input range: (0, +infinity). Search range: [1E-300, 1E300]</para>
 
51
        </listitem>
 
52
      </varlistentry>
 
53
      <varlistentry>
 
54
        <term>Pr,Ompr (Ompr=1-Pr)  </term>
 
55
        <listitem>
 
56
          <para>The probability of success in each binomial trial. Input range: [0,1]. Search range: [0,1]</para>
 
57
        </listitem>
 
58
      </varlistentry>
 
59
    </variablelist>
 
60
  </refsection>
 
61
  <refsection>
 
62
    <title>Description</title>
 
63
    <para>
 
64
      Calculates any one parameter of the binomial
 
65
      distribution given values for the others.
 
66
    </para>
 
67
    <para>
 
68
      Formula  26.5.24    of   Abramowitz  and    Stegun,  Handbook   of
 
69
      Mathematical   Functions (1966) is   used  to reduce the  binomial
 
70
      distribution  to  the  cumulative incomplete    beta distribution.
 
71
    </para>
 
72
    <para>
 
73
      Computation of other parameters involve a seach for a value that
 
74
      produces  the desired  value  of P.   The search relies  on  the
 
75
      monotinicity of P with the other parameter.
 
76
    </para>
 
77
    <para>
 
78
      From DCDFLIB: Library of Fortran Routines for Cumulative Distribution
 
79
      Functions, Inverses, and Other Parameters (February, 1994)
 
80
      Barry W. Brown, James Lovato and Kathy Russell. The University of
 
81
      Texas.
 
82
    </para>
 
83
  </refsection>
 
84
</refentry>