|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectlt.monarch.chart.spc.math.ValuesCalculator
lt.monarch.chart.spc.math.ControlValuesCalculator
lt.monarch.chart.spc.math.IMRValuesCalculator
public abstract class IMRValuesCalculator extends ControlValuesCalculator
Calculates values for Individual - X and Moving Range chart. Values are calculated using formulas: http://www.singleton-labs.com/doc/mcharts/guide/#guide/chart-types/4.3.1.html
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Double |
histLcl
|
protected java.lang.Double |
histUcl
|
| Fields inherited from class lt.monarch.chart.spc.math.ValuesCalculator |
|---|
nullName |
| Modifier | Constructor and Description |
|---|---|
protected |
IMRValuesCalculator()
Constructs IMR chart values calculator. |
protected |
IMRValuesCalculator(java.lang.Double lcl,
java.lang.Double ucl)
Constructs IMR chart values calculator. |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.Object> |
getData(ChartDataModel dataModel)
Converts data model to the array list |
protected double |
getMovingRange(ChartDataModel dataModel,
int j)
Calculates a moving range. |
protected boolean |
isNormalDistribution(ChartDataModel dataModel)
Checks if data is distributed according normal distribution. |
protected double |
movingRange(ChartDataModel dataModel)
Calculates moving range. |
protected double |
processSigma(ChartDataModel dataModel)
Calculates process sigma. |
| Methods inherited from class lt.monarch.chart.spc.math.ControlValuesCalculator |
|---|
averageRange, getCenter, getCenter, getChartLine, getChartLine, getLabels, getLCL, getLCL, getN, getRange, getUCL, getUCL, sigmaX |
| Methods inherited from class lt.monarch.chart.spc.math.ValuesCalculator |
|---|
average, fill, fill, fillColumn, fillColumn, fillConstant, fillConstant, getAverage, getc4, getColumn, getd2, getd3, getD3, getD4, getDouble, getE, getF, getG, getH, isEmpty, isNconstant, validateDataModel, validateDataModel, validateDataModel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.Double histUcl
protected java.lang.Double histLcl
| Constructor Detail |
|---|
protected IMRValuesCalculator()
protected IMRValuesCalculator(java.lang.Double lcl,
java.lang.Double ucl)
lcl - lower control limit valueucl - upper control limit value| Method Detail |
|---|
protected double movingRange(ChartDataModel dataModel)
throws DataFormatException
dataModel - source data modelDataFormatException - when the input data are invalid.
protected double getMovingRange(ChartDataModel dataModel,
int j)
throws DataFormatException
dataModel - measurement samples in the data model.j - step number.DataFormatException
protected double processSigma(ChartDataModel dataModel)
throws DataFormatException
dataModel - measurement samples in the data model.DataFormatException - when the input data are incorrect.protected boolean isNormalDistribution(ChartDataModel dataModel)
dataModel - source data model.protected java.util.List<java.lang.Object> getData(ChartDataModel dataModel)
dataModel - input data model.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||