|
|||||||||
| 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.PValuesCalculator
public class PValuesCalculator extends ControlValuesCalculator
Calculates values for p-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 |
|---|
| Fields inherited from class lt.monarch.chart.spc.math.ValuesCalculator |
|---|
nullName |
| Constructor and Description |
|---|
PValuesCalculator()
|
| Modifier and Type | Method and Description |
|---|---|
protected double |
getAvgP(ChartDataModel dataModel)
Calculates he average p value. |
ChartDataModel |
getCenter(ChartDataModel dataModel)
Calculates the center line data model (usually the average of all data) |
void |
getCenter(ChartDataModel dataModel,
ChartDataModel dstModel)
Fill given data model with center line data. |
ChartDataModel |
getChartLine(ChartDataModel dataModel)
Calculates chart line data model (measurements, averages, standard deviation of sample of measurements, depending on the chart type). |
void |
getChartLine(ChartDataModel dataModel,
ChartDataModel dstModel)
Fill given data model (measurements, averages, standard deviation of sample of measurements, depending on the chart type). |
ChartDataModel |
getLCL(ChartDataModel dataModel)
Calculates chart lower control limit data model. |
void |
getLCL(ChartDataModel dataModel,
ChartDataModel dstModel)
Calculates chart lower control limit data and fills given data model. |
ChartDataModel |
getUCL(ChartDataModel dataModel)
Calculates chart upper control limit data model. |
void |
getUCL(ChartDataModel dataModel,
ChartDataModel dstModel)
Calculates chart upper control limit data and fills given data model. |
protected void |
validateDataModel(ChartDataModel dataModel)
Validates data model. |
| Methods inherited from class lt.monarch.chart.spc.math.ControlValuesCalculator |
|---|
averageRange, getLabels, getN, getRange, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PValuesCalculator()
| Method Detail |
|---|
public ChartDataModel getCenter(ChartDataModel dataModel)
throws DataFormatException
ControlValuesCalculator
getCenter in class ControlValuesCalculatordataModel - input data.DataFormatException
public void getCenter(ChartDataModel dataModel,
ChartDataModel dstModel)
throws DataFormatException
ControlValuesCalculator
getCenter in class ControlValuesCalculatordataModel - input data model.dstModel - destination data modelDataFormatException - when the invalid data is found.
public ChartDataModel getChartLine(ChartDataModel dataModel)
throws DataFormatException
ControlValuesCalculator
getChartLine in class ControlValuesCalculatordataModel - input data model.DataFormatException - when the input data are invalid.
public void getChartLine(ChartDataModel dataModel,
ChartDataModel dstModel)
throws DataFormatException
ControlValuesCalculator
getChartLine in class ControlValuesCalculatordataModel - input data model.dstModel - destination data modelDataFormatException - when the invalid data is found.
public ChartDataModel getLCL(ChartDataModel dataModel)
throws DataFormatException
ControlValuesCalculator
getLCL in class ControlValuesCalculatordataModel - input data model.DataFormatException - when the input data are invalid.
public void getLCL(ChartDataModel dataModel,
ChartDataModel dstModel)
throws DataFormatException
ControlValuesCalculator
getLCL in class ControlValuesCalculatordataModel - input data model.dstModel - lower control limit destination data model.DataFormatException - when the input data are invalid.
public ChartDataModel getUCL(ChartDataModel dataModel)
throws DataFormatException
ControlValuesCalculator
getUCL in class ControlValuesCalculatordataModel - input data model.DataFormatException - when the input data are invalid.
public void getUCL(ChartDataModel dataModel,
ChartDataModel dstModel)
throws DataFormatException
ControlValuesCalculator
getUCL in class ControlValuesCalculatordataModel - input data model.dstModel - upper control limit destination data model.DataFormatException - when the input data are invalid.
protected double getAvgP(ChartDataModel dataModel)
throws DataFormatException
dataModel - input data model.DataFormatException - when input data are invalid.
protected void validateDataModel(ChartDataModel dataModel)
throws DataFormatException
ValuesCalculator
validateDataModel in class ValuesCalculatordataModel - input chart data model.DataFormatException - when the data is invalid.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||