moncenterlib.stats.stats_gost_R_8_736_2011.systematic_error module

moncenterlib.stats.stats_gost_R_8_736_2011.systematic_error.systematic_error_confidence(components: list[SystematicComponent], p_conf: float = 0.95, k_value: float | None = None) SystematicErrorResult

Clause 8. Confidence limits for the unexcluded systematic error.

Implementation of Clauses 8.2-8.5 of GOST R 8.736-2011.

Logic: - if m < 3, the linear sum of component magnitudes is used; - if m >= 3, the composition of uniformly distributed systematic

components is used: theta_sum = k * sqrt(sum(theta_i^2));

  • the effect of input quantities is handled through influence_coefficient.

Parameters:
  • components (list[SystematicComponent]) – List of systematic error components.

  • p_conf (float, optional) – Confidence probability. Usually 0.95.

  • k_value (float | None, optional) – Coefficient k. If omitted, it is selected automatically for supported cases.

Raises:
  • ValueError – If p_conf is not in the interval (0, 1).

  • ValueError – If k_value <= 0.

Returns:

Final systematic error result.

Return type:

SystematicErrorResult