commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brentwor...@apache.org
Subject cvs commit: jakarta-commons/math/xdocs/userguide distribution.xml index.xml
Date Tue, 09 Nov 2004 02:26:55 GMT
brentworden    2004/11/08 18:26:55

  Modified:    math/xdocs/userguide distribution.xml index.xml
  Log:
  added poisson description to user guide.
  
  Revision  Changes    Path
  1.2       +19 -1     jakarta-commons/math/xdocs/userguide/distribution.xml
  
  Index: distribution.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/xdocs/userguide/distribution.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- distribution.xml	26 Apr 2004 20:06:50 -0000	1.1
  +++ distribution.xml	9 Nov 2004 02:26:55 -0000	1.2
  @@ -60,6 +60,7 @@
               <tr><td>Gamma</td><td>createGammaDistribution</td><td><div>Alpha</div><div>Beta</div></td></tr>
               <tr><td>Hypergeometric</td><td>createHypogeometricDistribution</td><td><div>Population
size</div><div>Number of successes in population</div><div>Sample
size</div></td></tr>
               <tr><td>Normal (Gaussian)</td><td>createNormalDistribution</td><td><div>Mean</div><div>Standard
Deviation</div></td></tr>
  +            <tr><td>Poisson</td><td>createPoissonDistribution</td><td><div>Mean</div></td></tr>
               <tr><td>t</td><td>createTDistribution</td><td><div>Degrees
of freedom</div></td></tr>
             </table>
           </p>
  @@ -87,6 +88,23 @@
             domain value can not be returned.  Only the "best" domain value.  For Commons-Math,
the "best"
             domain value is determined by the largest domain value whose cumulative probability
is
             less-than or equal to the given probability.
  +        </p>
  +      </subsection>
  +      <subsection name="8.3 User Defined Distributions" href="userdefined">
  +        <p>
  +        Since there are numerous distributions and Commons-Math only directly supports
a handfull,
  +        it may be necessary to extend the distribution framework to satisfy individual
needs.  It
  +        is recommended that the <code>Distribution</code>, <code>ContinuousDistribution</code>,
  +        <code>DiscreteDistribution</code>, and <code>IntegerDistribution</code>
interfaces serve as
  +        base types for any extension.  These serve as the basis for all the distributions
directly
  +        supported by Commons-Math and using those interfaces for implementation purposes
will
  +        insure any extension is compatible with the remainder of Commons-Math.  To aid
in
  +        implementing a distribution extension, the <code>AbstractDistribution</code>,
  +        <code>AbstractContinuousDistribution</code>, and <code>AbstractIntegerDistribution</code>
  +        provide implementation building blocks and offer a lot of default distribution
  +        functionality.  By extending these abstract classes directly, a good portion of
the
  +        repetative distribution implementation is already developed and should same time
and effort
  +        in developing user defined distributions.
           </p>
         </subsection>
       </section>
  
  
  
  1.13      +2 -2      jakarta-commons/math/xdocs/userguide/index.xml
  
  Index: index.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/math/xdocs/userguide/index.xml,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- index.xml	8 Oct 2004 05:08:21 -0000	1.12
  +++ index.xml	9 Nov 2004 02:26:55 -0000	1.13
  @@ -43,7 +43,6 @@
                   <li><a href="stat.html#frequency">1.3 Frequency distributions</a></li>
                   <li><a href="stat.html#regression">1.4 Simple regression</a></li>
                   <li><a href="stat.html#tests">1.5 Statistical tests</a></li>
  -                <li><a href="stat.html#distributions">1.6 Distribution framework</a></li>
                   </ul></li>
               <li><a href="random.html">2. Data Generation</a>
                   <ul>
  @@ -91,6 +90,7 @@
                   <ul>
                   <li><a href="distribution.html#overview">8.1 Overview</a></li>
                   <li><a href="distribution.html#distributions">8.2 Distribution
Framework</a></li>
  +                <li><a href="distribution.html#userdefined">8.3 User Defined
Distributions</a></li>
                   </ul></li>                                 
           </ul>
         </section>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message