| Home | Libraries | People | FAQ | More

## 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:

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

## Description

Intervals become wider as the deviation value increases.

### `confidence_level` public member functions

1.     explicit confidence_level(double cl);

   constructor from confidence level (a probability)

2.     template<typename T> explicit operator T() const noexcept;

   explicit conversion to numerical confidence level

3.     operator deviation() const noexcept;

   implicit conversion to units of standard deviation