public class CalculatorMulti
extends java.lang.Object
The Chart FX Statistical Extension provides a vast collection of pre-defined calculations for the statistical analysis of data passed to the chart. The supported members of this class allow you to test, analyze and calculate statistical measures for multiple series in a chart. The Calculator
class allows developers to perform calculations on a single series in a chart.
Constructor and Description |
---|
CalculatorMulti()
Constructs a newly allocated CalculatorMulti object
|
Modifier and Type | Method and Description |
---|---|
double |
get(AnalysisMulti calculation)
Returns the selected analysis calculation (double) for the CalculatorMulti object.
|
Calculator |
get(int series)
Returns the selected analysis calculation (double) for the CalculatorMulti object.
|
int |
getCount()
Returns the total number of series in the CalculatorMulti collection.
|
double |
performTest(TestMulti test)
Returns the P-Value (double) or Boolean specifying whether the configured test has passed for failed for the chart data.
|
boolean |
performTest(TestMulti test,
double confidence)
Returns the P-Value (double) or Boolean specifying whether the configured test has passed for failed for the chart data.
|
public CalculatorMulti()
public int getCount()
Returns the total number of series in the CalculatorMulti collection.
public Calculator get(int series)
Returns the selected analysis calculation (double) for the CalculatorMulti object.
series
- public double get(AnalysisMulti calculation)
Returns the selected analysis calculation (double) for the CalculatorMulti object.
In order to access this method, you must first instaciate a CalculatorMulti object. The setCalculators
method of the Statistics class when used with no index will return this object:
This method exposes additional calculations you may apply to all data series in the chart. The get
method of the Calculator
class allows you to perform calculations on a single data series in a chart.
The PerformTest method allows users to perform statistical tests on all data series. However, if you wish to perform tests on the single data series in a chart, you may use the performTest
method of the Calculator
class.
To find the AnovaDF Total for all series contained in the chart:
calculation
- Specifies the analysis to perform.public double performTest(TestMulti test)
Returns the P-Value (double) or Boolean specifying whether the configured test has passed for failed for the chart data.
setCalculators
method of the Statistics class when used with no index will return this object:performTest
method of the Calculator
class.get
method exposes additional calculations you may apply to chart data. The get
method of the Calculator
class allows you to perform calculations on a single series of data in a chart.Perform the AnovaF test on the chart data:
test
- Specifies the test to perform.public boolean performTest(TestMulti test, double confidence)
Returns the P-Value (double) or Boolean specifying whether the configured test has passed for failed for the chart data.
setCalculators
method of the Statistics class when used with no index will return this object:performTest
method of the Calculator
class.get
method exposes additional calculations you may apply to chart data. The get
method of the Calculator
class allows you to perform calculations on a single series of data in a chart.Perform the AnovaF test on the chart data:
test
- Specifies the test to perform.confidence
- Confidence level.2014 Software FX, Inc. All Rights Reserved. Chart FX is a registered trademark of Software FX, Inc
All other names are trademarks or registered trademarks of their respective owners.