|
Chart FX 7 for Java Server | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.softwarefx.chartfx.server.statistical.Calculator
public class Calculator
Provides access to the Calculator 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 a selected chart series. The CalculatorMulti
class allows developers to perform calculations on multiple data series in a chart.
Nested Class Summary | |
---|---|
static class |
Calculator.Interval
Error: D:\Dev\CfxJava70\JavaDoc\docsource\\Objects\Interval.xml |
Constructor Summary | |
---|---|
Calculator()
|
|
Calculator(double[] data)
|
|
Calculator(double[] dataY,
double[] dataX)
|
Method Summary | |
---|---|
void |
calculateMeanInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateMeanInterval_Double_Double_r_Double_r _p_)
Used to calculate the Mean Interval for a selected series. |
double |
calculateRegression(double x)
Used to calculate the Regression of a single X Value of a selected series. |
void |
calculateStandardDeviationInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateStandardDeviationInterval_Double_Double_r_Double_r _p_)
Used to calculate the Standard Deviation Interval for a selected series. |
void |
calculateVarianceInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateVarianceInterval_Double_Double_r_Double_r _p_)
Used to calculate the Variance Interval for a selected series. |
double |
calculateZScore(double x)
Used to calculate the Z Score values for a selected series. |
double |
calculateZScoreInverse(double z)
Used to calculate the Inverse Z Score values for a selected series. |
static com.softwarefx.sfxnet.System.Double[] |
Calculator_Parameters(double[] data)
Error: Member Calculator.Calculator_Parameters member not found |
double |
get(Analysis calculation)
Returns the selected analysis calculation (double) for the Calculator object. |
double[] |
getData()
Gets the array of data associated with this Calculator. |
double[] |
getDataX()
Gets the array of data associated with the calculator. |
double |
getLsl()
Gets the Lsl. |
double |
getSigma()
Gets the Sigma. |
double |
getUsl()
Gets the Usl. |
double |
performTest(Test test)
Returns the P-Value (double) or Boolean specifying whether the configured test has passed for failed for the configured series. |
boolean |
performTest(Test test,
double confidence)
Returns the P-Value (double) or Boolean specifying whether the configured test has passed for failed for the configured series. |
void |
setLsl(double value)
Sets a value indicating the Lower Specification Limit for a sample. |
void |
setSigma(double value)
Sets the standard deviation of the process. |
void |
setUsl(double value)
Sets a value indicating the Upper Specification Limit for a sample. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Calculator()
public Calculator(double[] data)
public Calculator(double[] dataY, double[] dataX)
Method Detail |
---|
public static com.softwarefx.sfxnet.System.Double[] Calculator_Parameters(double[] data)
Error: Member Calculator.Calculator_Parameters member not found
ERROR: Doc member not found
public void calculateMeanInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateMeanInterval_Double_Double_r_Double_r _p_)
Used to calculate the Mean Interval for a selected series.
In order to access this method, you must first instaciate a Calculator object, which accepts a series index specifying the data series you wish to preform this calculation.
_p_
- calculateRegression(double)
,
calculateStandardDeviationInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateStandardDeviationInterval_Double_Double_r_Double_r)
,
calculateVarianceInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateVarianceInterval_Double_Double_r_Double_r)
,
calculateZScore(double)
,
calculateZScoreInverse(double)
,
get(com.softwarefx.chartfx.server.statistical.Analysis)
,
performTest(com.softwarefx.chartfx.server.statistical.Test)
,
CalculatorMulti
public double calculateRegression(double x)
Used to calculate the Regression of a single X Value of a selected series.
In order to access this method, you must first instaciate a Calculator object, which accepts a series index specifying the data series you wish to preform this calculation.
x
- X Axis value to find the Linear Regression value.calculateRegression(double)
,
calculateStandardDeviationInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateStandardDeviationInterval_Double_Double_r_Double_r)
,
calculateVarianceInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateVarianceInterval_Double_Double_r_Double_r)
,
calculateZScore(double)
,
calculateZScoreInverse(double)
,
get(com.softwarefx.chartfx.server.statistical.Analysis)
,
performTest(com.softwarefx.chartfx.server.statistical.Test)
,
CalculatorMulti
public void calculateStandardDeviationInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateStandardDeviationInterval_Double_Double_r_Double_r _p_)
Used to calculate the Standard Deviation Interval for a selected series.
In order to access this method, you must first instaciate a Calculator object, which accepts a series index specifying the data series you wish to preform this calculation.
_p_
- calculateRegression(double)
,
calculateStandardDeviationInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateStandardDeviationInterval_Double_Double_r_Double_r)
,
calculateVarianceInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateVarianceInterval_Double_Double_r_Double_r)
,
calculateZScore(double)
,
calculateZScoreInverse(double)
,
get(com.softwarefx.chartfx.server.statistical.Analysis)
,
performTest(com.softwarefx.chartfx.server.statistical.Test)
,
CalculatorMulti
public void calculateVarianceInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateVarianceInterval_Double_Double_r_Double_r _p_)
Used to calculate the Variance Interval for a selected series.
In order to access this method, you must first instaciate a Calculator object, which accepts a series index specifying the data series you wish to preform this calculation.
_p_
- calculateRegression(double)
,
calculateStandardDeviationInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateStandardDeviationInterval_Double_Double_r_Double_r)
,
calculateVarianceInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateVarianceInterval_Double_Double_r_Double_r)
,
calculateZScore(double)
,
calculateZScoreInverse(double)
,
get(com.softwarefx.chartfx.server.statistical.Analysis)
,
performTest(com.softwarefx.chartfx.server.statistical.Test)
,
CalculatorMulti
public double calculateZScore(double x)
Used to calculate the Z Score values for a selected series.
In order to access this method, you must first instaciate a Calculator object, which accepts a series index specifying the data series you wish to preform this calculation.
x
- X Value in which to calculate the z-score.calculateRegression(double)
,
calculateStandardDeviationInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateStandardDeviationInterval_Double_Double_r_Double_r)
,
calculateVarianceInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateVarianceInterval_Double_Double_r_Double_r)
,
calculateZScore(double)
,
calculateZScoreInverse(double)
,
get(com.softwarefx.chartfx.server.statistical.Analysis)
,
performTest(com.softwarefx.chartfx.server.statistical.Test)
,
CalculatorMulti
public double calculateZScoreInverse(double z)
Used to calculate the Inverse Z Score values for a selected series.
In order to access this method, you must first instaciate a Calculator object, which accepts a series index specifying the data series you wish to preform this calculation.
z
- Z-score used to find the inverse x value.calculateRegression(double)
,
calculateStandardDeviationInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateStandardDeviationInterval_Double_Double_r_Double_r)
,
calculateVarianceInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateVarianceInterval_Double_Double_r_Double_r)
,
calculateZScore(double)
,
calculateZScoreInverse(double)
,
get(com.softwarefx.chartfx.server.statistical.Analysis)
,
performTest(com.softwarefx.chartfx.server.statistical.Test)
,
CalculatorMulti
public double get(Analysis calculation)
Returns the selected analysis calculation (double) for the Calculator object.
In order to access this method, you must first instaciate a Calculator object, which accepts a series index specifying the data series you wish to preform this calculation.
This method exposes additional calculations you may apply to a single data series in the chart. The CalculatorMulti.get(com.softwarefx.chartfx.server.statistical.AnalysisMulti)
method of the CalculatorMulti
class allows you to perform calculations on all the data series in a chart.
The PerformTest method allows users to perform statistical tests on a single data series. However, if you wish to perform tests on the entire collection of data in a chart, you may use the #PerformTest
method of the CalculatorMulti
class.
calculation
- Specifies the analysis to perform.calculateRegression(double)
,
calculateStandardDeviationInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateStandardDeviationInterval_Double_Double_r_Double_r)
,
calculateVarianceInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateVarianceInterval_Double_Double_r_Double_r)
,
calculateZScore(double)
,
calculateZScoreInverse(double)
,
CalculatorMulti.get(com.softwarefx.chartfx.server.statistical.AnalysisMulti)
,
performTest(com.softwarefx.chartfx.server.statistical.Test)
,
CalculatorMulti.performTest(com.softwarefx.chartfx.server.statistical.TestMulti)
,
CalculatorMulti
public double[] getData()
Gets the array of data associated with this Calculator.
A Calculator must be instantiated with a particular series of data.
Calculator
public double[] getDataX()
Gets the array of data associated with the calculator.
public double getLsl()
Gets the Lsl. For more detail see setLsl(double)
.
public double getSigma()
Gets the Sigma. For more detail see setSigma(double)
.
public double getUsl()
Gets the Usl. For more detail see setUsl(double)
.
public double performTest(Test test)
Returns the P-Value (double) or Boolean specifying whether the configured test has passed for failed for the configured series.
This method is overload; If you specify only one parameter (the test), then the P-Value will be returned. If two parameters are configured (test and confidence), then a Boolean will be returned indicating whether the test passed or failed.
In order to access this method, you must first instaciate a Calculator object, which accepts a series index specifying the data series you wish to preform this calculation.
This method allows users to perform statistical tests on a single data series. However, if you wish to perform tests on the entire collection of data in a chart, you may use the CalculatorMulti.performTest(com.softwarefx.chartfx.server.statistical.TestMulti)
method of the CalculatorMulti
class.
The get(com.softwarefx.chartfx.server.statistical.Analysis)
method exposes additional calculations you may apply to a single data series in the chart. The CalculatorMulti.get(com.softwarefx.chartfx.server.statistical.AnalysisMulti)
method of the CalculatorMulti
class allows you to perform calculations on all the data series in a chart.
test
- Specifies the test to perform.calculateRegression(double)
,
calculateStandardDeviationInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateStandardDeviationInterval_Double_Double_r_Double_r)
,
calculateVarianceInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateVarianceInterval_Double_Double_r_Double_r)
,
calculateZScore(double)
,
calculateZScoreInverse(double)
,
get(com.softwarefx.chartfx.server.statistical.Analysis)
,
CalculatorMulti.get(com.softwarefx.chartfx.server.statistical.AnalysisMulti)
,
CalculatorMulti.performTest(com.softwarefx.chartfx.server.statistical.TestMulti)
public boolean performTest(Test test, double confidence)
Returns the P-Value (double) or Boolean specifying whether the configured test has passed for failed for the configured series.
This method is overload; If you specify only one parameter (the test), then the P-Value will be returned. If two parameters are configured (test and confidence), then a Boolean will be returned indicating whether the test passed or failed.
In order to access this method, you must first instaciate a Calculator object, which accepts a series index specifying the data series you wish to preform this calculation.
This method allows users to perform statistical tests on a single data series. However, if you wish to perform tests on the entire collection of data in a chart, you may use the CalculatorMulti.performTest(com.softwarefx.chartfx.server.statistical.TestMulti)
method of the CalculatorMulti
class.
The get(com.softwarefx.chartfx.server.statistical.Analysis)
method exposes additional calculations you may apply to a single data series in the chart. The CalculatorMulti.get(com.softwarefx.chartfx.server.statistical.AnalysisMulti)
method of the CalculatorMulti
class allows you to perform calculations on all the data series in a chart.
test
- Specifies the test to perform.confidence
- Confidence level.calculateRegression(double)
,
calculateStandardDeviationInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateStandardDeviationInterval_Double_Double_r_Double_r)
,
calculateVarianceInterval(com.softwarefx.chartfx.server.statistical.Calculator.CalculateVarianceInterval_Double_Double_r_Double_r)
,
calculateZScore(double)
,
calculateZScoreInverse(double)
,
get(com.softwarefx.chartfx.server.statistical.Analysis)
,
CalculatorMulti.get(com.softwarefx.chartfx.server.statistical.AnalysisMulti)
,
CalculatorMulti.performTest(com.softwarefx.chartfx.server.statistical.TestMulti)
public void setLsl(double value)
Sets a value indicating the Lower Specification Limit for a sample.
This property is used to get or set the Lower Specification Limit for Statistical Process Control (SPC) charts. The setUsl(double)
property may be used to get or set the Upper Specification Limit.
The setSigma(double)
property may be used get or set the Sigma value for SPC charts.
The get(com.softwarefx.chartfx.server.statistical.Analysis)
method of the Calculator
class may be used to get the Lsl analysis for a sample. The Add method of the StudiesCollection
could be used to add this analysis as well.
setUsl(double)
,
setSigma(double)
,
get(com.softwarefx.chartfx.server.statistical.Analysis)
,
Calculator
,
StudiesCollection
,
Study
,
StudyConstant
,
StudyStripe
public void setSigma(double value)
Sets the standard deviation of the process.
A Statistical Process Control (SPC) or control chart provides basis for deciding whether the variation in the output is due to common causes (in control) or assignable causes (out of control). Whenever an out-of-control situation is detected, adjustments and/or other corrective action will be taken to bring the process back into control. The Sigma value is commonly known as the standard deviation of the process.
The setUsl(double)
and setLsl(double)
properties may be used to get or set the Upper and Lower Specification Limits for SPC charts.
The get(com.softwarefx.chartfx.server.statistical.Analysis)
method of the Calculator
class may be used to get the Sigma for a sample. The Add method of the StudiesCollection
could be used to add the Sigma1, Sigma2 and Sigma3 analysis studies to the interactive statistical legend.
setUsl(double)
,
setLsl(double)
,
get(com.softwarefx.chartfx.server.statistical.Analysis)
,
Calculator
,
StudiesCollection
public void setUsl(double value)
Sets a value indicating the Upper Specification Limit for a sample.
This property is used to get or set the Upper Specification Limit for Statistical Process Control (SPC) charts. The setLsl(double)
property may be used to get or set the Lower Specification Limit.
The setSigma(double)
property may be used get or set the Sigma value for SPC charts.
The get(com.softwarefx.chartfx.server.statistical.Analysis)
method of the Calculator
class may be used to get the Usl analysis for a sample. The Add method of the StudiesCollection
could be used to add this analysis as well.
#setLsi
,
setSigma(double)
,
get(com.softwarefx.chartfx.server.statistical.Analysis)
,
Calculator
,
StudiesCollection
,
Study
,
StudyConstant
,
StudyStripe
|
http://www.softwarefx.com | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |