Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of Boost. Click here to view this page for the latest version.
PrevUpHomeNext

Class confidence_level

boost::histogram::utility::confidence_level — Confidence level for intervals.

Synopsis

// In header: <boost/histogram/utility/binomial_proportion_interval.hpp>


class confidence_level {
public:
  // construct/copy/destruct
  explicit confidence_level(double);

  // public member functions
  template<typename T> explicit operator T() const noexcept;
  operator deviation() const noexcept;
};

Description

Intervals become wider as the deviation value increases.

confidence_level public construct/copy/destruct

  1. explicit confidence_level(double cl);
    constructor from confidence level (a probability)

confidence_level public member functions

  1. template<typename T> explicit operator T() const noexcept;
    explicit conversion to numerical confidence level
  2. operator deviation() const noexcept;
    implicit conversion to units of standard deviation

PrevUpHomeNext