| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <title>DescriptiveStatistics</title> |
| <link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="DescriptiveStatistics"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":9,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/apache/openejb/math/stat/descriptive/AbstractUnivariateStatistic.html" title="class in org.apache.openejb.math.stat.descriptive"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html" title="interface in org.apache.openejb.math.stat.descriptive"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html" target="_top">Frames</a></li> |
| <li><a href="DescriptiveStatistics.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.apache.openejb.math.stat.descriptive</div> |
| <h2 title="Class DescriptiveStatistics" class="title">Class DescriptiveStatistics</h2> |
| </div> |
| <div class="contentContainer"> |
| <ul class="inheritance"> |
| <li>java.lang.Object</li> |
| <li> |
| <ul class="inheritance"> |
| <li>org.apache.openejb.math.stat.descriptive.DescriptiveStatistics</li> |
| </ul> |
| </li> |
| </ul> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <dl> |
| <dt>All Implemented Interfaces:</dt> |
| <dd>java.io.Serializable, <a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html" title="interface in org.apache.openejb.math.stat.descriptive">StatisticalSummary</a></dd> |
| </dl> |
| <dl> |
| <dt>Direct Known Subclasses:</dt> |
| <dd><a href="../../../../../../org/apache/openejb/math/stat/descriptive/SynchronizedDescriptiveStatistics.html" title="class in org.apache.openejb.math.stat.descriptive">SynchronizedDescriptiveStatistics</a></dd> |
| </dl> |
| <hr> |
| <br> |
| <pre>public class <span class="typeNameLabel">DescriptiveStatistics</span> |
| extends java.lang.Object |
| implements <a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html" title="interface in org.apache.openejb.math.stat.descriptive">StatisticalSummary</a>, java.io.Serializable</pre> |
| <div class="block">Maintains a dataset of values of a single variable and computes descriptive |
| statistics based on stored data. The <a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getWindowSize--"><code>windowSize</code></a> |
| property sets a limit on the number of values that can be stored in the |
| dataset. The default value, INFINITE_WINDOW, puts no limit on the size of |
| the dataset. This value should be used with caution, as the backing store |
| will grow without bound in this case. For very large datasets, |
| <code>org.apache.commons.math3.stat.descriptive.SummaryStatistics</code>, which does not store the dataset, should be used |
| instead of this class. If <code>windowSize</code> is not INFINITE_WINDOW and |
| more values are added than can be stored in the dataset, new values are |
| added in a "rolling" manner, with new values replacing the "oldest" values |
| in the dataset. |
| |
| <p>Note: this class is not threadsafe. Use |
| <a href="../../../../../../org/apache/openejb/math/stat/descriptive/SynchronizedDescriptiveStatistics.html" title="class in org.apache.openejb.math.stat.descriptive"><code>SynchronizedDescriptiveStatistics</code></a> if concurrent access from multiple |
| threads is required.</p></div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../serialized-form.html#org.apache.openejb.math.stat.descriptive.DescriptiveStatistics">Serialized Form</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- =========== FIELD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.summary"> |
| <!-- --> |
| </a> |
| <h3>Field Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> |
| <caption><span>Fields</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Field and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected <a href="../../../../../../org/apache/openejb/math/util/ResizableDoubleArray.html" title="class in org.apache.openejb.math.util">ResizableDoubleArray</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#eDA">eDA</a></span></code> |
| <div class="block">Stored data values</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colFirst"><code>static int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#INFINITE_WINDOW">INFINITE_WINDOW</a></span></code> |
| <div class="block">Represents an infinite window size.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>protected int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#windowSize">windowSize</a></span></code> |
| <div class="block">hold the window size *</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.summary"> |
| <!-- --> |
| </a> |
| <h3>Constructor Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> |
| <caption><span>Constructors</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colOne" scope="col">Constructor and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#DescriptiveStatistics--">DescriptiveStatistics</a></span>()</code> |
| <div class="block">Construct a DescriptiveStatistics instance with an infinite window</div> |
| </td> |
| </tr> |
| <tr class="rowColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#DescriptiveStatistics-org.apache.openejb.math.stat.descriptive.DescriptiveStatistics-">DescriptiveStatistics</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html" title="class in org.apache.openejb.math.stat.descriptive">DescriptiveStatistics</a> original)</code> |
| <div class="block">Copy constructor.</div> |
| </td> |
| </tr> |
| <tr class="altColor"> |
| <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#DescriptiveStatistics-int-">DescriptiveStatistics</a></span>(int window)</code> |
| <div class="block">Construct a DescriptiveStatistics instance with the specified window</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#addValue-double-">addValue</a></span>(double v)</code> |
| <div class="block">Adds the value to the dataset.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#apply-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-">apply</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> stat)</code> |
| <div class="block">Apply the given statistic to the data associated with this set of statistics.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#clear--">clear</a></span>()</code> |
| <div class="block">Resets all statistics and storage</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html" title="class in org.apache.openejb.math.stat.descriptive">DescriptiveStatistics</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#copy--">copy</a></span>()</code> |
| <div class="block">Returns a copy of this DescriptiveStatistics instance with the same internal state.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>static void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#copy-org.apache.openejb.math.stat.descriptive.DescriptiveStatistics-org.apache.openejb.math.stat.descriptive.DescriptiveStatistics-">copy</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html" title="class in org.apache.openejb.math.stat.descriptive">DescriptiveStatistics</a> source, |
| <a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html" title="class in org.apache.openejb.math.stat.descriptive">DescriptiveStatistics</a> dest)</code> |
| <div class="block">Copies source to dest.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getElement-int-">getElement</a></span>(int index)</code> |
| <div class="block">Returns the element at the specified index</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getGeometricMean--">getGeometricMean</a></span>()</code> |
| <div class="block">Returns the <a href="http://www.xycoon.com/geometric_mean.htm"> |
| geometric mean </a> of the available values</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getGeometricMeanImpl--">getGeometricMeanImpl</a></span>()</code> |
| <div class="block">Returns the currently configured geometric mean implementation.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getKurtosis--">getKurtosis</a></span>()</code> |
| <div class="block">Returns the Kurtosis of the available values.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getKurtosisImpl--">getKurtosisImpl</a></span>()</code> |
| <div class="block">Returns the currently configured kurtosis implementation.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getMax--">getMax</a></span>()</code> |
| <div class="block">Returns the maximum of the available values</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getMaxImpl--">getMaxImpl</a></span>()</code> |
| <div class="block">Returns the currently configured maximum implementation.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getMean--">getMean</a></span>()</code> |
| <div class="block">Returns the <a href="http://www.xycoon.com/arithmetic_mean.htm"> |
| arithmetic mean </a> of the available values</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getMeanImpl--">getMeanImpl</a></span>()</code> |
| <div class="block">Returns the currently configured mean implementation.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getMin--">getMin</a></span>()</code> |
| <div class="block">Returns the minimum of the available values</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getMinImpl--">getMinImpl</a></span>()</code> |
| <div class="block">Returns the currently configured minimum implementation.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code>long</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getN--">getN</a></span>()</code> |
| <div class="block">Returns the number of available values</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getPercentile-double-">getPercentile</a></span>(double p)</code> |
| <div class="block">Returns an estimate for the pth percentile of the stored values.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getPercentileImpl--">getPercentileImpl</a></span>()</code> |
| <div class="block">Returns the currently configured percentile implementation.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getSkewness--">getSkewness</a></span>()</code> |
| <div class="block">Returns the skewness of the available values.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getSkewnessImpl--">getSkewnessImpl</a></span>()</code> |
| <div class="block">Returns the currently configured skewness implementation.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>double[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getSortedValues--">getSortedValues</a></span>()</code> |
| <div class="block">Returns the current set of values in an array of double primitives, |
| sorted in ascending order.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getStandardDeviation--">getStandardDeviation</a></span>()</code> |
| <div class="block">Returns the standard deviation of the available values.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getSum--">getSum</a></span>()</code> |
| <div class="block">Returns the sum of the values that have been added to Univariate.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getSumImpl--">getSumImpl</a></span>()</code> |
| <div class="block">Returns the currently configured sum implementation.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getSumsq--">getSumsq</a></span>()</code> |
| <div class="block">Returns the sum of the squares of the available values.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getSumsqImpl--">getSumsqImpl</a></span>()</code> |
| <div class="block">Returns the currently configured sum of squares implementation.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>double[]</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getValues--">getValues</a></span>()</code> |
| <div class="block">Returns the current set of values in an array of double primitives.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getVariance--">getVariance</a></span>()</code> |
| <div class="block">Returns the variance of the available values.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getVarianceImpl--">getVarianceImpl</a></span>()</code> |
| <div class="block">Returns the currently configured variance implementation.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code>int</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getWindowSize--">getWindowSize</a></span>()</code> |
| <div class="block">Returns the maximum number of values that can be stored in the |
| dataset, or INFINITE_WINDOW (-1) if there is no limit.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#removeMostRecentValue--">removeMostRecentValue</a></span>()</code> |
| <div class="block">Removes the most recent value from the dataset.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>double</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#replaceMostRecentValue-double-">replaceMostRecentValue</a></span>(double v)</code> |
| <div class="block">Replaces the most recently stored value with the given value.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#setGeometricMeanImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-">setGeometricMeanImpl</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> geometricMeanImpl)</code> |
| <div class="block">Sets the implementation for the gemoetric mean.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#setKurtosisImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-">setKurtosisImpl</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> kurtosisImpl)</code> |
| <div class="block">Sets the implementation for the kurtosis.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#setMaxImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-">setMaxImpl</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> maxImpl)</code> |
| <div class="block">Sets the implementation for the maximum.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#setMeanImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-">setMeanImpl</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> meanImpl)</code> |
| <div class="block">Sets the implementation for the mean.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#setMinImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-">setMinImpl</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> minImpl)</code> |
| <div class="block">Sets the implementation for the minimum.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#setPercentileImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-">setPercentileImpl</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> percentileImpl)</code> |
| <div class="block">Sets the implementation to be used by <a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getPercentile-double-"><code>getPercentile(double)</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#setSkewnessImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-">setSkewnessImpl</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> skewnessImpl)</code> |
| <div class="block">Sets the implementation for the skewness.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#setSumImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-">setSumImpl</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> sumImpl)</code> |
| <div class="block">Sets the implementation for the sum.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#setSumsqImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-">setSumsqImpl</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> sumsqImpl)</code> |
| <div class="block">Sets the implementation for the sum of squares.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#setVarianceImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-">setVarianceImpl</a></span>(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> varianceImpl)</code> |
| <div class="block">Sets the implementation for the variance.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#setWindowSize-int-">setWindowSize</a></span>(int windowSize)</code> |
| <div class="block">WindowSize controls the number of values which contribute |
| to the reported statistics.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#toString--">toString</a></span>()</code> |
| <div class="block">Generates a text report displaying univariate statistics from values |
| that have been added.</div> |
| </td> |
| </tr> |
| </table> |
| <ul class="blockList"> |
| <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> |
| <!-- --> |
| </a> |
| <h3>Methods inherited from class java.lang.Object</h3> |
| <code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ FIELD DETAIL =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="field.detail"> |
| <!-- --> |
| </a> |
| <h3>Field Detail</h3> |
| <a name="INFINITE_WINDOW"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>INFINITE_WINDOW</h4> |
| <pre>public static final int INFINITE_WINDOW</pre> |
| <div class="block">Represents an infinite window size. When the <a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getWindowSize--"><code>getWindowSize()</code></a> |
| returns this value, there is no limit to the number of data values |
| that can be stored in the dataset.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../../../constant-values.html#org.apache.openejb.math.stat.descriptive.DescriptiveStatistics.INFINITE_WINDOW">Constant Field Values</a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="windowSize"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>windowSize</h4> |
| <pre>protected int windowSize</pre> |
| <div class="block">hold the window size *</div> |
| </li> |
| </ul> |
| <a name="eDA"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>eDA</h4> |
| <pre>protected <a href="../../../../../../org/apache/openejb/math/util/ResizableDoubleArray.html" title="class in org.apache.openejb.math.util">ResizableDoubleArray</a> eDA</pre> |
| <div class="block">Stored data values</div> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ========= CONSTRUCTOR DETAIL ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="constructor.detail"> |
| <!-- --> |
| </a> |
| <h3>Constructor Detail</h3> |
| <a name="DescriptiveStatistics--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DescriptiveStatistics</h4> |
| <pre>public DescriptiveStatistics()</pre> |
| <div class="block">Construct a DescriptiveStatistics instance with an infinite window</div> |
| </li> |
| </ul> |
| <a name="DescriptiveStatistics-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>DescriptiveStatistics</h4> |
| <pre>public DescriptiveStatistics(int window)</pre> |
| <div class="block">Construct a DescriptiveStatistics instance with the specified window</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>window</code> - the window size.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="DescriptiveStatistics-org.apache.openejb.math.stat.descriptive.DescriptiveStatistics-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>DescriptiveStatistics</h4> |
| <pre>public DescriptiveStatistics(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html" title="class in org.apache.openejb.math.stat.descriptive">DescriptiveStatistics</a> original)</pre> |
| <div class="block">Copy constructor. Construct a new DescriptiveStatistics instance that |
| is a copy of original.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>original</code> - DescriptiveStatistics instance to copy</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="addValue-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>addValue</h4> |
| <pre>public void addValue(double v)</pre> |
| <div class="block">Adds the value to the dataset. If the dataset is at the maximum size |
| (i.e., the number of stored elements equals the currently configured |
| windowSize), the first (oldest) element in the dataset is discarded |
| to make room for the new value.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>v</code> - the value to be added</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeMostRecentValue--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeMostRecentValue</h4> |
| <pre>public void removeMostRecentValue()</pre> |
| <div class="block">Removes the most recent value from the dataset.</div> |
| </li> |
| </ul> |
| <a name="replaceMostRecentValue-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>replaceMostRecentValue</h4> |
| <pre>public double replaceMostRecentValue(double v)</pre> |
| <div class="block">Replaces the most recently stored value with the given value. |
| There must be at least one element stored to call this method.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>v</code> - the value to replace the most recent stored value</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>replaced value</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMean--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMean</h4> |
| <pre>public double getMean()</pre> |
| <div class="block">Returns the <a href="http://www.xycoon.com/arithmetic_mean.htm"> |
| arithmetic mean </a> of the available values</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html#getMean--">getMean</a></code> in interface <code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html" title="interface in org.apache.openejb.math.stat.descriptive">StatisticalSummary</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The mean or Double.NaN if no values have been added.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getGeometricMean--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGeometricMean</h4> |
| <pre>public double getGeometricMean()</pre> |
| <div class="block">Returns the <a href="http://www.xycoon.com/geometric_mean.htm"> |
| geometric mean </a> of the available values</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The geometricMean, Double.NaN if no values have been added, |
| or if the product of the available values is less than or equal to 0.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getVariance--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getVariance</h4> |
| <pre>public double getVariance()</pre> |
| <div class="block">Returns the variance of the available values.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html#getVariance--">getVariance</a></code> in interface <code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html" title="interface in org.apache.openejb.math.stat.descriptive">StatisticalSummary</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The variance, Double.NaN if no values have been added |
| or 0.0 for a single value set.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getStandardDeviation--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getStandardDeviation</h4> |
| <pre>public double getStandardDeviation()</pre> |
| <div class="block">Returns the standard deviation of the available values.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html#getStandardDeviation--">getStandardDeviation</a></code> in interface <code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html" title="interface in org.apache.openejb.math.stat.descriptive">StatisticalSummary</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The standard deviation, Double.NaN if no values have been added |
| or 0.0 for a single value set.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSkewness--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSkewness</h4> |
| <pre>public double getSkewness()</pre> |
| <div class="block">Returns the skewness of the available values. Skewness is a |
| measure of the asymmetry of a given distribution.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The skewness, Double.NaN if no values have been added |
| or 0.0 for a value set <=2.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getKurtosis--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getKurtosis</h4> |
| <pre>public double getKurtosis()</pre> |
| <div class="block">Returns the Kurtosis of the available values. Kurtosis is a |
| measure of the "peakedness" of a distribution</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The kurtosis, Double.NaN if no values have been added, or 0.0 |
| for a value set <=3.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMax--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMax</h4> |
| <pre>public double getMax()</pre> |
| <div class="block">Returns the maximum of the available values</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html#getMax--">getMax</a></code> in interface <code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html" title="interface in org.apache.openejb.math.stat.descriptive">StatisticalSummary</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The max or Double.NaN if no values have been added.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMin--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMin</h4> |
| <pre>public double getMin()</pre> |
| <div class="block">Returns the minimum of the available values</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html#getMin--">getMin</a></code> in interface <code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html" title="interface in org.apache.openejb.math.stat.descriptive">StatisticalSummary</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The min or Double.NaN if no values have been added.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getN--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getN</h4> |
| <pre>public long getN()</pre> |
| <div class="block">Returns the number of available values</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html#getN--">getN</a></code> in interface <code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html" title="interface in org.apache.openejb.math.stat.descriptive">StatisticalSummary</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The number of available values</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSum--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSum</h4> |
| <pre>public double getSum()</pre> |
| <div class="block">Returns the sum of the values that have been added to Univariate.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Specified by:</span></dt> |
| <dd><code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html#getSum--">getSum</a></code> in interface <code><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html" title="interface in org.apache.openejb.math.stat.descriptive">StatisticalSummary</a></code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The sum or Double.NaN if no values have been added</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSumsq--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSumsq</h4> |
| <pre>public double getSumsq()</pre> |
| <div class="block">Returns the sum of the squares of the available values.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The sum of the squares or Double.NaN if no |
| values have been added.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="clear--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>clear</h4> |
| <pre>public void clear()</pre> |
| <div class="block">Resets all statistics and storage</div> |
| </li> |
| </ul> |
| <a name="getWindowSize--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getWindowSize</h4> |
| <pre>public int getWindowSize()</pre> |
| <div class="block">Returns the maximum number of values that can be stored in the |
| dataset, or INFINITE_WINDOW (-1) if there is no limit.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>The current window size or -1 if its Infinite.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setWindowSize-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setWindowSize</h4> |
| <pre>public void setWindowSize(int windowSize)</pre> |
| <div class="block">WindowSize controls the number of values which contribute |
| to the reported statistics. For example, if |
| windowSize is set to 3 and the values {1,2,3,4,5} |
| have been added <strong> in that order</strong> |
| then the <i>available values</i> are {3,4,5} and all |
| reported statistics will be based on these values</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>windowSize</code> - sets the size of the window.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getValues--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getValues</h4> |
| <pre>public double[] getValues()</pre> |
| <div class="block">Returns the current set of values in an array of double primitives. |
| The order of addition is preserved. The returned array is a fresh |
| copy of the underlying data -- i.e., it is not a reference to the |
| stored data.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>returns the current set of numbers in the order in which they |
| were added to this set</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSortedValues--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSortedValues</h4> |
| <pre>public double[] getSortedValues()</pre> |
| <div class="block">Returns the current set of values in an array of double primitives, |
| sorted in ascending order. The returned array is a fresh |
| copy of the underlying data -- i.e., it is not a reference to the |
| stored data.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>returns the current set of |
| numbers sorted in ascending order</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getElement-int-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getElement</h4> |
| <pre>public double getElement(int index)</pre> |
| <div class="block">Returns the element at the specified index</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>index</code> - The Index of the element</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>return the element at the specified index</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPercentile-double-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPercentile</h4> |
| <pre>public double getPercentile(double p)</pre> |
| <div class="block">Returns an estimate for the pth percentile of the stored values. |
| <p> |
| The implementation provided here follows the first estimation procedure presented |
| <a href="http://www.itl.nist.gov/div898/handbook/prc/section2/prc252.htm">here.</a> |
| <p> |
| <strong>Preconditions</strong>:<ul> |
| <li><code>0 < p ≤ 100</code> (otherwise an |
| <code>IllegalArgumentException</code> is thrown)</li> |
| <li>at least one value must be stored (returns <code>Double.NaN |
| </code> otherwise)</li> |
| </ul></p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>p</code> - the requested percentile (scaled from 0 - 100)</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>An estimate for the pth percentile of the stored data</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalStateException</code> - if percentile implementation has been |
| overridden and the supplied implementation does not support setQuantile |
| values</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="toString--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>toString</h4> |
| <pre>public java.lang.String toString()</pre> |
| <div class="block">Generates a text report displaying univariate statistics from values |
| that have been added. Each statistic is displayed on a separate |
| line.</div> |
| <dl> |
| <dt><span class="overrideSpecifyLabel">Overrides:</span></dt> |
| <dd><code>toString</code> in class <code>java.lang.Object</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>String with line feeds displaying statistics</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="apply-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>apply</h4> |
| <pre>public double apply(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> stat)</pre> |
| <div class="block">Apply the given statistic to the data associated with this set of statistics.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>stat</code> - the statistic to apply</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the computed value of the statistic.</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMeanImpl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMeanImpl</h4> |
| <pre>public <a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> getMeanImpl()</pre> |
| <div class="block">Returns the currently configured mean implementation.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the UnivariateStatistic implementing the mean</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setMeanImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMeanImpl</h4> |
| <pre>public void setMeanImpl(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> meanImpl)</pre> |
| <div class="block"><p>Sets the implementation for the mean.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>meanImpl</code> - the UnivariateStatistic instance to use |
| for computing the mean</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getGeometricMeanImpl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGeometricMeanImpl</h4> |
| <pre>public <a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> getGeometricMeanImpl()</pre> |
| <div class="block">Returns the currently configured geometric mean implementation.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the UnivariateStatistic implementing the geometric mean</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setGeometricMeanImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setGeometricMeanImpl</h4> |
| <pre>public void setGeometricMeanImpl(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> geometricMeanImpl)</pre> |
| <div class="block"><p>Sets the implementation for the gemoetric mean.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>geometricMeanImpl</code> - the UnivariateStatistic instance to use |
| for computing the geometric mean</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getKurtosisImpl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getKurtosisImpl</h4> |
| <pre>public <a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> getKurtosisImpl()</pre> |
| <div class="block">Returns the currently configured kurtosis implementation.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the UnivariateStatistic implementing the kurtosis</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setKurtosisImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setKurtosisImpl</h4> |
| <pre>public void setKurtosisImpl(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> kurtosisImpl)</pre> |
| <div class="block"><p>Sets the implementation for the kurtosis.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>kurtosisImpl</code> - the UnivariateStatistic instance to use |
| for computing the kurtosis</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMaxImpl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMaxImpl</h4> |
| <pre>public <a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> getMaxImpl()</pre> |
| <div class="block">Returns the currently configured maximum implementation.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the UnivariateStatistic implementing the maximum</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setMaxImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMaxImpl</h4> |
| <pre>public void setMaxImpl(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> maxImpl)</pre> |
| <div class="block"><p>Sets the implementation for the maximum.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>maxImpl</code> - the UnivariateStatistic instance to use |
| for computing the maximum</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMinImpl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMinImpl</h4> |
| <pre>public <a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> getMinImpl()</pre> |
| <div class="block">Returns the currently configured minimum implementation.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the UnivariateStatistic implementing the minimum</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setMinImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setMinImpl</h4> |
| <pre>public void setMinImpl(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> minImpl)</pre> |
| <div class="block"><p>Sets the implementation for the minimum.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>minImpl</code> - the UnivariateStatistic instance to use |
| for computing the minimum</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getPercentileImpl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getPercentileImpl</h4> |
| <pre>public <a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> getPercentileImpl()</pre> |
| <div class="block">Returns the currently configured percentile implementation.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the UnivariateStatistic implementing the percentile</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setPercentileImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setPercentileImpl</h4> |
| <pre>public void setPercentileImpl(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> percentileImpl)</pre> |
| <div class="block">Sets the implementation to be used by <a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html#getPercentile-double-"><code>getPercentile(double)</code></a>. |
| The supplied <code>UnivariateStatistic</code> must provide a |
| <code>setQuantile(double)</code> method; otherwise |
| <code>IllegalArgumentException</code> is thrown.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>percentileImpl</code> - the percentileImpl to set</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - if the supplied implementation does not |
| provide a <code>setQuantile</code> method</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSkewnessImpl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSkewnessImpl</h4> |
| <pre>public <a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> getSkewnessImpl()</pre> |
| <div class="block">Returns the currently configured skewness implementation.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the UnivariateStatistic implementing the skewness</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSkewnessImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSkewnessImpl</h4> |
| <pre>public void setSkewnessImpl(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> skewnessImpl)</pre> |
| <div class="block"><p>Sets the implementation for the skewness.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>skewnessImpl</code> - the UnivariateStatistic instance to use |
| for computing the skewness</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getVarianceImpl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getVarianceImpl</h4> |
| <pre>public <a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> getVarianceImpl()</pre> |
| <div class="block">Returns the currently configured variance implementation.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the UnivariateStatistic implementing the variance</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setVarianceImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setVarianceImpl</h4> |
| <pre>public void setVarianceImpl(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> varianceImpl)</pre> |
| <div class="block"><p>Sets the implementation for the variance.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>varianceImpl</code> - the UnivariateStatistic instance to use |
| for computing the variance</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSumsqImpl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSumsqImpl</h4> |
| <pre>public <a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> getSumsqImpl()</pre> |
| <div class="block">Returns the currently configured sum of squares implementation.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the UnivariateStatistic implementing the sum of squares</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSumsqImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSumsqImpl</h4> |
| <pre>public void setSumsqImpl(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> sumsqImpl)</pre> |
| <div class="block"><p>Sets the implementation for the sum of squares.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>sumsqImpl</code> - the UnivariateStatistic instance to use |
| for computing the sum of squares</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSumImpl--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSumImpl</h4> |
| <pre>public <a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> getSumImpl()</pre> |
| <div class="block">Returns the currently configured sum implementation.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the UnivariateStatistic implementing the sum</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setSumImpl-org.apache.openejb.math.stat.descriptive.UnivariateStatistic-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setSumImpl</h4> |
| <pre>public void setSumImpl(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/UnivariateStatistic.html" title="interface in org.apache.openejb.math.stat.descriptive">UnivariateStatistic</a> sumImpl)</pre> |
| <div class="block"><p>Sets the implementation for the sum.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>sumImpl</code> - the UnivariateStatistic instance to use |
| for computing the sum</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.2</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copy--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>copy</h4> |
| <pre>public <a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html" title="class in org.apache.openejb.math.stat.descriptive">DescriptiveStatistics</a> copy()</pre> |
| <div class="block">Returns a copy of this DescriptiveStatistics instance with the same internal state.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a copy of this</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="copy-org.apache.openejb.math.stat.descriptive.DescriptiveStatistics-org.apache.openejb.math.stat.descriptive.DescriptiveStatistics-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>copy</h4> |
| <pre>public static void copy(<a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html" title="class in org.apache.openejb.math.stat.descriptive">DescriptiveStatistics</a> source, |
| <a href="../../../../../../org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html" title="class in org.apache.openejb.math.stat.descriptive">DescriptiveStatistics</a> dest)</pre> |
| <div class="block">Copies source to dest. |
| <p>Neither source nor dest can be null.</p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>source</code> - DescriptiveStatistics to copy</dd> |
| <dd><code>dest</code> - DescriptiveStatistics to copy to</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.NullPointerException</code> - if either source or dest is null</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../../../org/apache/openejb/math/stat/descriptive/AbstractUnivariateStatistic.html" title="class in org.apache.openejb.math.stat.descriptive"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../../../org/apache/openejb/math/stat/descriptive/StatisticalSummary.html" title="interface in org.apache.openejb.math.stat.descriptive"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../../../index.html?org/apache/openejb/math/stat/descriptive/DescriptiveStatistics.html" target="_top">Frames</a></li> |
| <li><a href="DescriptiveStatistics.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li>Nested | </li> |
| <li><a href="#field.summary">Field</a> | </li> |
| <li><a href="#constructor.summary">Constr</a> | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li><a href="#field.detail">Field</a> | </li> |
| <li><a href="#constructor.detail">Constr</a> | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |