1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96
|
<?xml version="1.0" encoding="UTF-8"?>
<!--
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
* Copyright (C) 2000 - INRIA - Carlos Klimann
*
* This file must be used under the terms of the CeCILL.
* This source file is licensed as described in the file COPYING, which
* you should have received as part of this distribution. The terms
* are also available at
* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
*
-->
<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="fr" xml:id="cdfgam">
<info>
<pubdate>$LastChangedDate$</pubdate>
</info>
<refnamediv>
<refname>cdfgam</refname>
<refpurpose> fonction de répartition de la distribution gamma </refpurpose>
</refnamediv>
<refsynopsisdiv>
<title>Séquence d'appel</title>
<synopsis>[P,Q]=cdfgam("PQ",X,Shape,Scale)
[X]=cdfgam("X",Shape,Scale,P,Q)
[Shape]=cdfgam("Shape",Scale,P,Q,X)
[Scale]=cdfgam("Scale",P,Q,X,Shape)</synopsis>
</refsynopsisdiv>
<refsection>
<title>Paramètres</title>
<variablelist>
<varlistentry>
<term>P,Q,X,Shape,Scale </term>
<listitem>
<para>5 vecteurs réels de même taille.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>P,Q (Q=1-P) </term>
<listitem>
<para> L'intégrale de 0 à X de la distribution gamma En entrée : [0,1].
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>X </term>
<listitem>
<para> Borne supérieure d'intégration En entrée : [0, +infini). En recherche : [0,1E300]
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Shape </term>
<listitem>
<para> Le paramètre de forme de la distribution En entrée : (0, +infini). En recherche : [1E-300,1E300]
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Scale </term>
<listitem>
<para> le paramètre d'échelle de la distribution En entrée : (0, +infini). En recherche : (1E-300,1E300]
</para>
</listitem>
</varlistentry>
</variablelist>
</refsection>
<refsection>
<title>Description</title>
<para>
Étant donnés les autres, calcule un paramètre de la distribution gamma.
</para>
<para>
La fonction de répartition (P) est calculée directement par
le code associé à
</para>
<para>
DiDinato, A. R. and Morris, A. H. Computation of the incomplete
gamma function ratios and their inverse. ACM Trans. Math.
Softw. 12 (1986), 377-393.
</para>
<para>
Le calcul des autres paramètres implique une recherche d'une valeur conduisant à la valeur désirée pour P. La recherche dépend de la monotonicité de P par rapport aux autres paramètres.
</para>
<para>
La distribution gamma est proportionnelle à
<literal>T**(SHAPE - 1) * EXP(- SCALE * T)</literal>
</para>
<para>
Tiré de la librairie DCDFLIB: Library of Fortran Routines for Cumulative Distribution
Functions, Inverses, and Other Parameters (February, 1994)
Barry W. Brown, James Lovato and Kathy Russell. The University of
Texas.
</para>
</refsection>
</refentry>
|