Capability Diagnostics.Analyze Method
Definition
Namespace: Numerics.NET.Statistics.ProcessControl
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 10.4.0
Overload List
| Analyze( | Computes assumption diagnostics for the supplied matrix of subgroup observations. |
| Analyze( | Computes assumption diagnostics for the supplied span of individual observations. |
| Analyze( | Computes assumption diagnostics for the supplied vector of individual observations. |
| Analyze( | Computes assumption diagnostics for the supplied vector of observations with an associated grouping. |
Analyze(Matrix<Double>, ControlRuleSet, Double, NormalityTestKind)
Computes assumption diagnostics for the supplied matrix of subgroup
observations.
public static CapabilityAssumptionDiagnostics Analyze(
Matrix<double> subgroups,
ControlRuleSet? ruleSet = null,
double significanceLevel = 0.05,
NormalityTestKind normalityTest = NormalityTestKind.AndersonDarling
)Parameters
- subgroups Matrix<Double>
- A matrix whose rows are ordered subgroups and whose columns are measurements within each subgroup.
- ruleSet ControlRuleSet (Optional)
- Optional rule set used to detect out-of-control signals.
- significanceLevel Double (Optional)
- The significance level for the normality test. Must be in (0, 1). Defaults to 0.05.
- normalityTest NormalityTestKind (Optional)
- The normality test to apply. Defaults to AndersonDarling.
Return Value
CapabilityAssumptionDiagnosticsA CapabilityAssumptionDiagnostics containing the normality test result and advisory diagnostics.
Exceptions
| Argument | subgroups is null. |
| Argument | significanceLevel is not in (0, 1). |
| Argument | normalityTest is not a valid NormalityTestKind value, or the selected test is incompatible with the supplied data. |
Analyze(ReadOnlySpan<Double>, ControlRuleSet, Double, NormalityTestKind)
Computes assumption diagnostics for the supplied span of individual
observations.
public static CapabilityAssumptionDiagnostics Analyze(
ReadOnlySpan<double> observations,
ControlRuleSet? ruleSet = null,
double significanceLevel = 0.05,
NormalityTestKind normalityTest = NormalityTestKind.AndersonDarling
)Parameters
- observations ReadOnlySpan<Double>
- The ordered sequence of individual measurements.
- ruleSet ControlRuleSet (Optional)
- Optional rule set used to detect out-of-control signals.
- significanceLevel Double (Optional)
- The significance level for the normality test. Must be in (0, 1). Defaults to 0.05.
- normalityTest NormalityTestKind (Optional)
- The normality test to apply. Defaults to AndersonDarling.
Return Value
CapabilityAssumptionDiagnosticsA CapabilityAssumptionDiagnostics containing the normality test result and advisory diagnostics.
Exceptions
| Argument | significanceLevel is not in (0, 1). |
| Argument | normalityTest is not a valid NormalityTestKind value, or the selected test is incompatible with the supplied data. |
Analyze(Vector<Double>, ControlRuleSet, Double, NormalityTestKind)
Computes assumption diagnostics for the supplied vector of
individual observations.
public static CapabilityAssumptionDiagnostics Analyze(
Vector<double> observations,
ControlRuleSet? ruleSet = null,
double significanceLevel = 0.05,
NormalityTestKind normalityTest = NormalityTestKind.AndersonDarling
)Parameters
- observations Vector<Double>
- The ordered sequence of individual measurements.
- ruleSet ControlRuleSet (Optional)
- Optional rule set used to detect out-of-control signals. When nullHasOutOfControlSignals is always false.
- significanceLevel Double (Optional)
- The significance level for the normality test. Must be in (0, 1). Defaults to 0.05.
- normalityTest NormalityTestKind (Optional)
- The normality test to apply. Defaults to AndersonDarling.
Return Value
CapabilityAssumptionDiagnosticsA CapabilityAssumptionDiagnostics containing the normality test result and advisory diagnostics.
Exceptions
| Argument | observations is null. |
| Argument | significanceLevel is not in (0, 1). |
| Argument | normalityTest is not a valid NormalityTestKind value, or the selected test is incompatible with the supplied data. |
Analyze(Vector<Double>, IGrouping, ControlRuleSet, Double, NormalityTestKind)
Computes assumption diagnostics for the supplied vector of
observations with an associated grouping.
public static CapabilityAssumptionDiagnostics Analyze(
Vector<double> observations,
IGrouping grouping,
ControlRuleSet? ruleSet = null,
double significanceLevel = 0.05,
NormalityTestKind normalityTest = NormalityTestKind.AndersonDarling
)Parameters
- observations Vector<Double>
- The ordered sequence of measurements.
- grouping IGrouping
- The grouping that assigns each observation to a subgroup.
- ruleSet ControlRuleSet (Optional)
- Optional rule set used to detect out-of-control signals.
- significanceLevel Double (Optional)
- The significance level for the normality test. Must be in (0, 1). Defaults to 0.05.
- normalityTest NormalityTestKind (Optional)
- The normality test to apply. Defaults to AndersonDarling.
Return Value
CapabilityAssumptionDiagnosticsA CapabilityAssumptionDiagnostics containing the normality test result and advisory diagnostics.
Exceptions
| Argument | observations or grouping is null. |
| Argument | significanceLevel is not in (0, 1). |
| Argument | normalityTest is not a valid NormalityTestKind value, or the selected test is incompatible with the supplied data. |