Chart FX for Java 6.5

SoftwareFX.ChartFX.Statistical
Class StudyErrorBars

java.lang.Object
  extended by SoftwareFX.ChartFX.Statistical.Study
      extended by SoftwareFX.ChartFX.Statistical.StudyInteractive
          extended by SoftwareFX.ChartFX.Statistical.StudyLine
              extended by SoftwareFX.ChartFX.Statistical.StudyErrorBars

public final class StudyErrorBars
extends StudyLine

Provides access to the StudyErrorBars object.

This class is specifically used to control attributes of studies that include error bars for display. The supported members allow developers to control what the errors will represent, size, color, etc.


Constructor Summary
StudyErrorBars()
           
 
Method Summary
 int getAnalysis()
          Gets the Analysis.
 int getMarkerSize()
          Gets the MarkerSize.
 void setAnalysis(int value)
          Gets or sets the Anaylsis study the StudyErrorBars will represent.
 void setMarkerSize(int value)
          Gets or sets a value for the size (width) of the selected ErrorBar markers.
 
Methods inherited from class SoftwareFX.ChartFX.Statistical.StudyLine
getLine, isBehind, setBehind
 
Methods inherited from class SoftwareFX.ChartFX.Statistical.StudyInteractive
getAxis, isInteractive, isVisible, setAxis, setInteractive, setVisible
 
Methods inherited from class SoftwareFX.ChartFX.Statistical.Study
createStudyAnalysis, createStudyAnalysisMulti, createStudyDistributionFormula, createStudyTest, createStudyTestMulti, getDecimals, getID, getText, getValue, isBold, isIndented, setBold, setDecimals, setIndented, setText, setValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StudyErrorBars

public StudyErrorBars()
Method Detail

getAnalysis

public int getAnalysis()

Gets the Analysis. For more detail see setAnalysis(int).


getMarkerSize

public int getMarkerSize()

Gets the MarkerSize. For more detail see setMarkerSize(int).


setAnalysis

public void setAnalysis(int value)

Gets or sets the Anaylsis study the StudyErrorBars will represent.

Values:
Analysis : Defines the statistical Analysis studies.
ValueDescription
Analysis.NData size (n).
Analysis.MINMinumum value.
Analysis.MAXMaximum value.
Analysis.SUMSum of all values.
Analysis.MEDIANThe middle value in an array of values.
Analysis.MEANAverage of all values.
Analysis.MODEA measure of central tendency that is the value that occurs most frequently in a group of values.
Analysis.VARIANCEA measure of dispersion for a random variable or group of numbers.
Analysis.STANDARD_DEVIATIONThe square root of the variance.
Analysis.COEFFICIENT_OF_VARIATIONThe standard deviation divided by the mean.
Analysis.STANDARD_ERRORThe estimated standard deviation for a sample statistic which is also the standard deviation of a sampling distribution of means. The statistical bridge that connects the sample and the population and forms on of the bases of inferential statistics. (Standard Error for Mean)
Analysis.LOWER_QUARTILEThe median of the lower half of a set of values.
Analysis.UPPER_QUARTILEThe median of the upper half of a set of values.
Analysis.IQRInterquartile Range.
Analysis.SKEWNESSThe degree of asymmetry of a distribution.
Analysis.RANGEThe covariance of two features measures their tendency to vary together, i.e., to co-vary. The covariance is the average of the products of the deviations of feature values from their means.
Analysis.PEARSON_CORRELATION_COEFFICIENTPearson Product Moment Correlation Coefficient.
Analysis.LINEAR_REGRESSION_MLinear Regression slope m (y = m.x + b).
Analysis.LINEAR_REGRESSION_BLinear Regression displacement b (y = m.x + b).
Analysis.COEFFICIENT_OF_DETERMINATIONCoefficient of Determiniation (SSR/SST).
Analysis.STANDARD_ERROR_OF_ESTIMATEA measure of the accuracy of predictions made with a regression line.
Analysis.SSRSum of Squares Due to Regression.
Analysis.SSESum of Squares Due to Error.
Analysis.SSTTotal Sum of Squares.
Analysis.MSRMean Square Due to Regression.
Analysis.MSEMean Square Due to Error.
Analysis.LINEAR_REGRESSION_Tt Test statistic for significance in Simple Linear Regression.
Analysis.LINEAR_REGRESSION_FF Test statistic for significance in Simple Linear Regression.
Analysis.REGRESSION_LINELinear Regression Study. A line calculated in regression analysis that is usd to estimate the relation between two quantities (the independent variable and dependent variable).
Analysis.ZSCORESz-Score zones. Displays zones of size Standard Deviation from the mean.
Analysis.ERROR_BARSError bars are a graphic that visually represents the confidence interval around the mean value of the item.
Analysis.RANGERange (Max - Min).
Analysis.KURTOISThe degree of peakedness of a distribution, defined as a normalized form of the fourth central moment of a distribution.
Analysis.LOWESSLocally Weighted Scatter plot Smoothing.
Analysis.SIGMA_33*Sigma. Can Be displayed in the chart as a color zone.
Analysis.SIGMA_22*Sigma. Can Be displayed in the chart as a color zone.
Analysis.SIGMA_1Sigma. Calculated by the appropriate gallery type or supplied by you through the Sigma property (Calculator Class). Can be displayed in the chart as a color zone.
Analysis.USLUpper Specification Limit. Set by the through the Usl property (Calculator Class). Can be displayed in the chart as a constant line.
Analysis.LSLLower Specification Limit. Set by the through the Lsl property (Calculator Class). Can be displayed in the chart as a constant line.
Analysis.PPKProcess Performance Index (Ppk).
Analysis.PPProcess Performance (Pp).
Analysis.CPKProcess Capability Index (Cpk).
Analysis.CPProcess Capability (Cp).
Analysis.WECOWestern Electric Company Rules (WECO). This analysis will contain 1 if all the rules are met and 0 if not.

Remarks:
  • You can obtain the StudyErrorBars object for a selected study when adding the study to the Studies collection as follows:

    StudyErrorBars seb1 = (StudyErrorBars) statistics1.getStudies().addAnalysis(Analysis.ERROR_BARS);

  • While this property affects the range of the error bars vertically, the length of the error bars is determined by the setMarkerSize(int) property.

  • See Also:
    setMarkerSize(int), Statistics.getStudies(), StudiesCollection.add(java.lang.Object), StudiesCollection, Statistics

    setMarkerSize

    public void setMarkerSize(int value)

    Gets or sets a value for the size (width) of the selected ErrorBar markers.

    Remarks:
  • You can obtain the StudyErrorBars object for a selected study when adding the study to the Studies collection as follows:

    StudyErrorBars seb1 = (StudyErrorBars) statistics1.getStudies().addAnalysis(Analysis.ERROR_BARS);

  • The setAnalysis(int) property may be used to assign the value/calculation the error bars represent. This value will affect the height of the error bars.

  • See Also:
    setAnalysis(int), StudiesCollection.add(java.lang.Object), Statistics, StudiesCollection

    http://www.softwarefx.com

    2007 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.