📄 statistics.html
字号:
<!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="Statistics()"><!-- --></A><H3>Statistics</H3><PRE>public <B>Statistics</B>()</PRE><DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="binomialStandardError(double, int)"><!-- --></A><H3>binomialStandardError</H3><PRE>public static double <B>binomialStandardError</B>(double p, int n)</PRE><DL><DD>Computes standard error for observed values of a binomial random variable.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>p</CODE> - the probability of success<DD><CODE>n</CODE> - the size of the sample<DT><B>Returns:</B><DD>the standard error</DL></DD></DL><HR><A NAME="chiSquaredProbability(double, double)"><!-- --></A><H3>chiSquaredProbability</H3><PRE>public static double <B>chiSquaredProbability</B>(double x, double v)</PRE><DL><DD>Returns chi-squared probability for given value and degrees of freedom. (The probability that the chi-squared variate will be greater than x for the given degrees of freedom.)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value<DT><B>Returns:</B><DD>the chi-squared probability</DL></DD></DL><HR><A NAME="FProbability(double, int, int)"><!-- --></A><H3>FProbability</H3><PRE>public static double <B>FProbability</B>(double F, int df1, int df2)</PRE><DL><DD>Computes probability of F-ratio.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>F</CODE> - the F-ratio<DD><CODE>df1</CODE> - the first number of degrees of freedom<DD><CODE>df2</CODE> - the second number of degrees of freedom<DT><B>Returns:</B><DD>the probability of the F-ratio.</DL></DD></DL><HR><A NAME="normalProbability(double)"><!-- --></A><H3>normalProbability</H3><PRE>public static double <B>normalProbability</B>(double a)</PRE><DL><DD>Returns the area under the Normal (Gaussian) probability density function, integrated from minus infinity to <tt>x</tt> (assumes mean is zero, variance is one). <pre> x - 1 | | 2 normal(x) = --------- | exp( - t /2 ) dt sqrt(2pi) | | - -inf. = ( 1 + erf(z) ) / 2 = erfc(z) / 2 </pre> where <tt>z = x/sqrt(2)</tt>. Computation is via the functions <tt>errorFunction</tt> and <tt>errorFunctionComplement</tt>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>a</CODE> - the z-value<DT><B>Returns:</B><DD>the probability of the z value according to the normal pdf</DL></DD></DL><HR><A NAME="normalInverse(double)"><!-- --></A><H3>normalInverse</H3><PRE>public static double <B>normalInverse</B>(double y0)</PRE><DL><DD>Returns the value, <tt>x</tt>, for which the area under the Normal (Gaussian) probability density function (integrated from minus infinity to <tt>x</tt>) is equal to the argument <tt>y</tt> (assumes mean is zero, variance is one). <p> For small arguments <tt>0 < y < exp(-2)</tt>, the program computes <tt>z = sqrt( -2.0 * log(y) )</tt>; then the approximation is <tt>x = z - log(z)/z - (1/z) P(1/z) / Q(1/z)</tt>. There are two rational functions P/Q, one for <tt>0 < y < exp(-32)</tt> and the other for <tt>y</tt> up to <tt>exp(-2)</tt>. For larger arguments, <tt>w = y - 0.5</tt>, and <tt>x/sqrt(2pi) = w + w**3 R(w**2)/S(w**2))</tt>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>y0</CODE> - the area under the normal pdf<DT><B>Returns:</B><DD>the z-value</DL></DD></DL><HR><A NAME="lnGamma(double)"><!-- --></A><H3>lnGamma</H3><PRE>public static double <B>lnGamma</B>(double x)</PRE><DL><DD>Returns natural logarithm of gamma function.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - the value<DT><B>Returns:</B><DD>natural logarithm of gamma function</DL></DD></DL><HR><A NAME="incompleteBeta(double, double, double)"><!-- --></A><H3>incompleteBeta</H3><PRE>public static double <B>incompleteBeta</B>(double aa, double bb, double xx)</PRE><DL><DD>Returns the Incomplete Beta Function evaluated from zero to <tt>xx</tt>.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>aa</CODE> - the alpha parameter of the beta distribution.<DD><CODE>bb</CODE> - the beta parameter of the beta distribution.<DD><CODE>xx</CODE> - the integration end point.</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[] ops)</PRE><DL><DD>Main method for testing this class.<P><DD><DL></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../Tutorial.pdf"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="http://www.cs.waikato.ac.nz/ml/weka/index.html"><FONT CLASS="NavBarFont1"><B>Weka's home</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../weka/core/SpecialFunctions.html" title="class in weka.core"><B>PREV CLASS</B></A> <A HREF="../../weka/core/Stopwords.html" title="class in weka.core"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="Statistics.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -