1 ! Copyright (C) 2012 John Benediktsson
2 ! See http://factorcode.org/license.txt for BSD license
4 USING: help.markup help.syntax math sequences ;
9 { $values { "p" integer } { "n" rational } }
10 { $description "Return the Bernoulli number " { $snippet "p" } "." } ;
13 { $values { "n" integer } { "k" integer } { "x" integer } }
14 { $description "Return the Stirling number of the second kind for a set with " { $snippet "n" } " elements partitioned into " { $snippet "k" } " disjoint non-empty sets." } ;
17 { $values { "actual" sequence } { "expected" sequence } { "n" real } }
18 { $description "Return the chi-squared metric between " { $snippet "actual" } " and " { $snippet "expected" } " observations." } ;
21 { $values { "chi" real } { "df" real } { "p" real } }
22 { $description "Returns the inverse chi-squared value according to " { $snippet "P(chi|df) = P(df/2,chi/2)" } "." } ;