void QCRChart(TMtx Data, TVec DrawVec, ref Double CL, ref Double UCL, ref Double LCL, Double Confidence)
R-Chart.
| # | Name | Description |
|---|---|---|
| 1 | Data | Each Data row contains replicated observation taken at specific time. |
| 2 | Confidence | Confidence level for upper and lower control limit. Confidence must lie in the (0,1) interval. |
| 3 | DrawVec | Returns values to be drawn. |
| 4 | CL | Returns control Chart centerline. |
| 5 | UCL | Returns control Chart upper control limit. |
| 6 | LCL | Returns control Chart lower control limit. |
Result: stored in self (calling object)
Remarks:
Calculates R-Chart drawing values, center line, upper and lower control limit.
Examples
using Dew.Math;
using Dew.Math.Units;
using Dew.Stats.Units;
namespace Dew.Examples
{
private void Example()
{
Matrix Data = new Matrix(0,0);
Vector DrawVec = new Vector(0);
double cl,ucl,lcl;
Data.LoadFromFile("data.mtx");
StatControlCharts.QCRChart(Data,DrawVec,out cl, out ucl, out lcl, 0.025);
}
}