<?xml version="1.0" standalone="yes"?>
<library-reference id="statistics_library_reference"><title>Statistics Library Reference</title><header id="doxygen.statistics_library_reference.statistics_8hpp" name="boost/accumulators/statistics.hpp">
<para>Includes all of the Statistical Accumulators Library </para></header>
<header id="doxygen.statistics_library_reference.count_8hpp" name="boost/accumulators/statistics/count.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a35fdfca7c9185d9d7ebc0347babf3a9a" name="count"><type><classname>extractor</classname>&lt; <classname>tag::count</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1count__impl" name="count_impl"><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1count__impl_1a70edfce66f8463bcd3a7bac58edd4805" name="result_type"><type>std::size_t</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1count__impl_1a25aa609a3651504cab5a2b01b465a9e0"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1count__impl_1affb5d9f08aa9b07ccd51bba93bb3827d" name="operator()"><type>void</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1count__impl_1aa09e723f48d59d57c252fcfbea5afa9e" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1count__impl_1ab9d1e425355c40cde44f0530cd16a47f" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1count" name="count"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.covariance_8hpp" name="boost/accumulators/statistics/covariance.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1covariance_3_01VariateType_00_01VariateTag_01_4_01_4" name="as_weighted_feature"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::covariance&lt; VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1covariance_3_01VariateType_00_01VariateTag_01_4_01_4_1a1a3338c69acd5d8c9e378313b1f4c2cd" name="type"><type><classname>tag::weighted_covariance</classname>&lt; VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1covariance_3_01VariateType_00_01VariateTag_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::covariance&lt; VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::abstract_covariance &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__covariance_3_01VariateType_00_01VariateTag_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::weighted_covariance&lt; VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::covariance&lt; VariateType, VariateTag &gt; &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1afd4d15d3b39d60ab30b576a66e4a41a8" name="covariance"><type><classname>extractor</classname>&lt; <classname>tag::abstract_covariance</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1covariance__impl" name="covariance_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Covariance Estimator. </purpose><description><para>An iterative Monte Carlo estimator for the covariance <inlineequation><alt>$\mathrm{Cov}(X,X')$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_46.png"/></imageobject><textobject role="tex"><phrase>$\mathrm{Cov}(X,X')$</phrase></textobject></inlinemediaobject></inlineequation>, where <inlineequation><alt>$X$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_47.png"/></imageobject><textobject role="tex"><phrase>$X$</phrase></textobject></inlinemediaobject></inlineequation> is a sample and <inlineequation><alt>$X'$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_48.png"/></imageobject><textobject role="tex"><phrase>$X'$</phrase></textobject></inlinemediaobject></inlineequation> is a variate, is given by:</para><para><equation><title/><alt>\[
    \hat{c}_n = \frac{n-1}{n} \hat{c}_{n-1} + \frac{1}{n-1}(X_n - \hat{\mu}_n)(X_n' - \hat{\mu}_n'),\quad n\ge2,\quad\hat{c}_1 = 0,
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_112.png"/></imageobject><textobject role="tex"><phrase>\[
    \hat{c}_n = \frac{n-1}{n} \hat{c}_{n-1} + \frac{1}{n-1}(X_n - \hat{\mu}_n)(X_n' - \hat{\mu}_n'),\quad n\ge2,\quad\hat{c}_1 = 0,
\]</phrase></textobject></mediaobject></equation></para><para><inlineequation><alt>$\hat{\mu}_n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_7.png"/></imageobject><textobject role="tex"><phrase>$\hat{\mu}_n$</phrase></textobject></inlinemediaobject></inlineequation> and <inlineequation><alt>$\hat{\mu}_n'$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_50.png"/></imageobject><textobject role="tex"><phrase>$\hat{\mu}_n'$</phrase></textobject></inlinemediaobject></inlineequation> being the means of the samples and variates. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1covariance__impl_1a8a933725ffc9b4d742eaaa3e4afd7814" name="sample_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1covariance__impl_1a2aadbbc9fde89f8709000a17bd4db186" name="variate_type"><type>numeric::functional::fdiv&lt; VariateType, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1covariance__impl_1a4ad3396ed863283ed38bc5ca4ed31d2c" name="result_type"><type><classname>numeric::functional::outer_product</classname>&lt; sample_type, variate_type &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1covariance__impl_1af2700fe6fe36dc721d3a30c161e22bd7"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1covariance__impl_1af745c7450d2e96a96b3127fcb16de9c3" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1covariance__impl_1ad72e5e9a21f95019397610bf83dda553" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1covariance__impl_1a36d62662c5564f92ab6dd01c28b10b0a" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1abstract__covariance" name="abstract_covariance"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1covariance" name="covariance"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count, mean, mean_of_variates&lt; VariateType, VariateTag &gt; &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1covariance_1a9c31e36e9511837b5fb59217129a147d" name="impl"><type><classname>accumulators::impl::covariance_impl</classname>&lt; mpl::_1, VariateType, VariateTag &gt;</type></typedef>
</struct></namespace>
</namespace>
<namespace name="numeric">
<namespace name="functional">
<struct id="doxygen.statistics_library_reference.structboost_1_1numeric_1_1functional_1_1outer__product" name="outer_product"><template>
      <template-type-parameter name="Left"/>
      <template-type-parameter name="Right"/>
      <template-type-parameter name="LeftTag"><default>typename tag&lt;Left&gt;::type</default></template-type-parameter>
      <template-type-parameter name="RightTag"><default>typename tag&lt;Right&gt;::type</default></template-type-parameter>
    </template><inherit access="public">boost::numeric::functional::outer_product_base&lt; Left, Right, void &gt;</inherit></struct><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1numeric_1_1functional_1_1outer__product_3_01Left_00_01Right_00_01std__vector__tag_00_01std__vector__tag_01_4" name="outer_product"><template>
      <template-type-parameter name="Left"/>
      <template-type-parameter name="Right"/>
    </template><specialization><template-arg>Left</template-arg><template-arg>Right</template-arg><template-arg>std_vector_tag</template-arg><template-arg>std_vector_tag</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1numeric_1_1functional_1_1outer__product_3_01Left_00_01Right_00_01std__vector__tag_00_01std__vector__tag_01_4_1a8d0f64c2130be61d30415923771699b4" name="first_argument_type"><type>Left</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1numeric_1_1functional_1_1outer__product_3_01Left_00_01Right_00_01std__vector__tag_00_01std__vector__tag_01_4_1ae56e3d0ad09ca39d26ac7c9b721d4462" name="second_argument_type"><type>Right</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1numeric_1_1functional_1_1outer__product_3_01Left_00_01Right_00_01std__vector__tag_00_01std__vector__tag_01_4_1a1fbd8edcf27fd89e0e813bbdc8b8bb16" name="result_type"><type>ublas::matrix&lt; typename functional::multiplies&lt; typename Left::value_type, typename Right::value_type &gt;::result_type &gt;</type></typedef>
<method-group name="public member functions">
<method id="doxygen.statistics_library_reference.structboost_1_1numeric_1_1functional_1_1outer__product_3_01Left_00_01Right_00_01std__vector__tag_00_01std__vector__tag_01_4_1ad884540e66a0c834d1d106aba7c3fa05" name="operator()" cv="const"><type>result_type</type><parameter name="left"><paramtype>Left &amp;</paramtype></parameter><parameter name="right"><paramtype>Right &amp;</paramtype></parameter></method>
</method-group>
</struct-specialization><struct id="doxygen.statistics_library_reference.structboost_1_1numeric_1_1functional_1_1outer__product__base" name="outer_product_base"><template>
      <template-type-parameter name="Left"/>
      <template-type-parameter name="Right"/>
      <template-type-parameter name="EnableIf"><default>void</default></template-type-parameter>
    </template><inherit access="public">functional::multiplies&lt; Left, Right &gt;</inherit></struct></namespace>
<namespace name="op">
<struct id="doxygen.statistics_library_reference.structboost_1_1numeric_1_1op_1_1outer__product" name="outer_product"/></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.density_8hpp" name="boost/accumulators/statistics/density.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1density_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::density</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1density_01_4_1ae6a052ad5d8554e9ca969a7b6a39b3e7" name="type"><type><classname>tag::weighted_density</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__density_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_density</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::density &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a08d9fd1653e9d5cbade8bc00fd11cdef" name="density"><type><classname>extractor</classname>&lt; <classname>tag::density</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1density__impl" name="density_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Histogram density estimator. </purpose><description><para>The histogram density estimator returns a histogram of the sample distribution. The positions and sizes of the bins are determined using a specifiable number of cached samples (cache_size). The range between the minimum and the maximum of the cached samples is subdivided into a specifiable number of bins (num_bins) of same size. Additionally, an under- and an overflow bin is added to capture future under- and overflow samples. Once the bins are determined, the cached samples and all subsequent samples are added to the correct bins. At the end, a range of std::pair is return, where each pair contains the position of the bin (lower bound) and the samples count (normalized with the total number of samples).</para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1density__impl_1a2b322b152d1e950575bdd7517f901cbe" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1density__impl_1a50ae2ab13d4f54ca6ddce61974564a91" name="histogram_type"><type>std::vector&lt; std::pair&lt; float_type, float_type &gt; &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1density__impl_1a6cea0e17301980c961be4bf339807ed9" name="array_type"><type>std::vector&lt; float_type &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1density__impl_1a7b26f9c3dd10ece92e08c0c08946a681" name="result_type"><type>iterator_range&lt; typename histogram_type::iterator &gt;</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1density__impl_1a7599d9f0360259e5828aac837b19b213"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1density__impl_1af1e3e2728047853e91d35cbcc56114b8" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1density__impl_1a6a1fd15bc980104ef39d92fcef71d318" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter><description><para>
</para></description><requires><para>The number of samples must meet or exceed the cache size </para>
</requires></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1density__impl_1a1f8b87a7cc9a936336cc08650f610d8a" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1density" name="density"><inherit access="public">boost::accumulators::depends_on&lt; count, min, max &gt;</inherit><inherit access="public">density_cache_size</inherit><inherit access="public">density_num_bins</inherit><data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1density_1a6804ccf41a16592aaca415c91a1a153e" name="cache_size" specifiers="static"><type>boost::parameter::keyword&lt; density_cache_size &gt; const</type><description><para><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1density_1a6804ccf41a16592aaca415c91a1a153e">tag::density::cache_size</link> named parameter <link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1density_1ae904f0494d77dbc41d07b7455d6be3fa">tag::density::num_bins</link> named parameter </para></description></data-member>
<data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1density_1ae904f0494d77dbc41d07b7455d6be3fa" name="num_bins" specifiers="static"><type>boost::parameter::keyword&lt; density_num_bins &gt; const</type></data-member>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.error__of_8hpp" name="boost/accumulators/statistics/error_of.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1error__of_3_01Feature_01_4_01_4" name="as_feature"><template>
      <template-type-parameter name="Feature"/>
    </template><specialization><template-arg>tag::error_of&lt; Feature &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1error__of_3_01Feature_01_4_01_4_1a85fbabbd1e45fa41ae41ae512d7e7337" name="type"><type><classname>tag::error_of</classname>&lt; typename <classname>as_feature</classname>&lt; Feature &gt;::type &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1error__of_3_01Feature_01_4_01_4" name="as_weighted_feature"><template>
      <template-type-parameter name="Feature"/>
    </template><specialization><template-arg>tag::error_of&lt; Feature &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1error__of_3_01Feature_01_4_01_4_1a9a1f16fb1541b2f98eca075fbd785034" name="type"><type><classname>tag::error_of</classname>&lt; typename <classname>as_weighted_feature</classname>&lt; Feature &gt;::type &gt;</type></typedef>
</struct-specialization><namespace name="extract">
</namespace>
<namespace name="impl">

</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1error__of" name="error_of"><template>
      <template-type-parameter name="Feature"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; Feature &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.error__of__mean_8hpp" name="boost/accumulators/statistics/error_of_mean.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1error__of__mean__impl" name="error_of_mean_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Variance"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1error__of__mean__impl_1a90c2a83eaff11e3003c8cbd8830c1b13" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1error__of__mean__impl_1a1517f54b5946fc2e48393756ec3fb8d6"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1error__of__mean__impl_1afbe89238d8c6804685e13314c105a9ee" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1error__of_3_01immediate__mean_01_4" name="error_of"><template>
    </template><specialization><template-arg>immediate_mean</template-arg></specialization><inherit access="public">boost::accumulators::depends_on&lt; variance, count &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1error__of_3_01mean_01_4" name="error_of"><template>
    </template><specialization><template-arg>mean</template-arg></specialization><inherit access="public">boost::accumulators::depends_on&lt; lazy_variance, count &gt;</inherit></struct-specialization></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.extended__p__square_8hpp" name="boost/accumulators/statistics/extended_p_square.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1extended__p__square_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::extended_p_square</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1extended__p__square_01_4_1a21b753fd67698a8e74d2c731eb0ccdd5" name="type"><type><classname>tag::weighted_extended_p_square</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__extended__p__square_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_extended_p_square</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::extended_p_square &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a22a8e13d99a5b863990ba4a65bd4971b" name="extended_p_square"><type><classname>extractor</classname>&lt; <classname>tag::extended_p_square</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__impl" name="extended_p_square_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Multiple quantile estimation with the extended <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm. </purpose><description><para>Extended <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm for estimation of several quantiles without storing samples. Assume that <inlineequation><alt>$m$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_42.png"/></imageobject><textobject role="tex"><phrase>$m$</phrase></textobject></inlinemediaobject></inlineequation> quantiles <inlineequation><alt>$\xi_{p_1}, \ldots, \xi_{p_m}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_43.png"/></imageobject><textobject role="tex"><phrase>$\xi_{p_1}, \ldots, \xi_{p_m}$</phrase></textobject></inlinemediaobject></inlineequation> are to be estimated. Instead of storing the whole sample cumulative distribution, the algorithm maintains only <inlineequation><alt>$m+2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_44.png"/></imageobject><textobject role="tex"><phrase>$m+2$</phrase></textobject></inlinemediaobject></inlineequation> principal markers and <inlineequation><alt>$m+1$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_45.png"/></imageobject><textobject role="tex"><phrase>$m+1$</phrase></textobject></inlinemediaobject></inlineequation> middle markers, whose positions are updated with each sample and whose heights are adjusted (if necessary) using a piecewise-parablic formula. The heights of these central markers are the current estimates of the quantiles and returned as an iterator range.</para><para>For further details, see</para><para>K. E. E. Raatikainen, Simultaneous estimation of several quantiles, Simulation, Volume 49, Number 4 (October), 1986, p. 159-164.</para><para>The extended <inlineequation><alt>$ P^2 $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_37.png"/></imageobject><textobject role="tex"><phrase>$ P^2 $</phrase></textobject></inlinemediaobject></inlineequation> algorithm generalizes the <inlineequation><alt>$ P^2 $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_37.png"/></imageobject><textobject role="tex"><phrase>$ P^2 $</phrase></textobject></inlinemediaobject></inlineequation> algorithm of</para><para>R. Jain and I. Chlamtac, The P^2 algorithm for dynamic calculation of quantiles and histograms without storing observations, Communications of the ACM, Volume 28 (October), Number 10, 1985, p. 1076-1085.</para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__impl_1ae5d15cd468ba931ff40d21220d4b8fd7" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__impl_1a56266f8f489361b7697419abbd704d69" name="array_type"><type>std::vector&lt; float_type &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__impl_1aa733d9f769d8cfd745ed7fd3bf373c41" name="result_type"><type><emphasis>unspecified</emphasis></type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__impl_1ab4e5ce2e08a7736a0d3e1278cdd9117e"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__impl_1a241bffc6843e954b3d0efb9e3a4dc79a" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__impl_1acca7045ced985222ac5f20bfd6484d90" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__impl_1aa016a4af27c4a1d24ea8b046f099dfc1" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1extended__p__square" name="extended_p_square"><inherit access="public">boost::accumulators::depends_on&lt; count &gt;</inherit><inherit access="public">extended_p_square_probabilities</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1extended__p__square_1a70c64b98f916d20f5056e2b354126da5" name="impl"><type><classname>accumulators::impl::extended_p_square_impl</classname>&lt; mpl::_1 &gt;</type></typedef>
<data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1extended__p__square_1aa3f3948e2e1e02ab1551cb568984d0fa" name="probabilities" specifiers="static"><type>boost::parameter::keyword&lt; tag::probabilities &gt; const</type><purpose><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1extended__p__square_1aa3f3948e2e1e02ab1551cb568984d0fa">tag::extended_p_square::probabilities</link> named parameter </purpose></data-member>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.extended__p__square__quantile_8hpp" name="boost/accumulators/statistics/extended_p_square_quantile.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1extended__p__square__quantile_07linear_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::extended_p_square_quantile(linear)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1extended__p__square__quantile_07linear_08_4_1ab95d112d72748008d35a024c8c2f5434" name="type"><type><classname>tag::extended_p_square_quantile</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1extended__p__square__quantile_07quadratic_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::extended_p_square_quantile(quadratic)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1extended__p__square__quantile_07quadratic_08_4_1abc4232c70774951b2cfb3d70a228f5ae" name="type"><type><classname>tag::extended_p_square_quantile_quadratic</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__extended__p__square__quantile_07linear_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::weighted_extended_p_square_quantile(linear)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__extended__p__square__quantile_07linear_08_4_1a2a341dbda08c16f141adc1592a6769eb" name="type"><type><classname>tag::weighted_extended_p_square_quantile</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__extended__p__square__quantile_07quadratic_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::weighted_extended_p_square_quantile(quadratic)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__extended__p__square__quantile_07quadratic_08_4_1a8c935d63857d9d8220372bd216ada5ac" name="type"><type><classname>tag::weighted_extended_p_square_quantile_quadratic</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1extended__p__square__quantile_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::extended_p_square_quantile</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1extended__p__square__quantile_01_4_1a38b471a81406a8b6d5bbef9744fbd9c4" name="type"><type><classname>tag::weighted_extended_p_square_quantile</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1extended__p__square__quantile__quadratic_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::extended_p_square_quantile_quadratic</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1extended__p__square__quantile__quadratic_01_4_1a10e009049f8e4630666de68f3ae2fff6" name="type"><type><classname>tag::weighted_extended_p_square_quantile_quadratic</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1extended__p__square__quantile_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::extended_p_square_quantile</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::quantile &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1extended__p__square__quantile__quadratic_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::extended_p_square_quantile_quadratic</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::quantile &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__extended__p__square__quantile_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_extended_p_square_quantile</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::extended_p_square_quantile &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__extended__p__square__quantile__quadratic_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_extended_p_square_quantile_quadratic</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::extended_p_square_quantile_quadratic &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a0ca407b83932311a7baeaf72cc3ba1c0" name="extended_p_square_quantile"><type><classname>extractor</classname>&lt; <classname>tag::extended_p_square_quantile</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a9e77beeb9b6b74ad9cef0f9d6ca45069" name="extended_p_square_quantile_quadratic"><type><classname>extractor</classname>&lt; <classname>tag::extended_p_square_quantile_quadratic</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ae819b9ab2ec15c7fbf5c9834bbd60100" name="weighted_extended_p_square_quantile"><type><classname>extractor</classname>&lt; <classname>tag::weighted_extended_p_square_quantile</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a8d8e3596e729a70029dc259ca03eb091" name="weighted_extended_p_square_quantile_quadratic"><type><classname>extractor</classname>&lt; <classname>tag::weighted_extended_p_square_quantile_quadratic</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__quantile__impl" name="extended_p_square_quantile_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Impl1"/>
      <template-type-parameter name="Impl2"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Quantile estimation using the extended <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm for weighted and unweighted samples. </purpose><description><para>Uses the quantile estimates calculated by the extended <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm to compute intermediate quantile estimates by means of quadratic interpolation.</para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__quantile__impl_1a1d9d6ba726ece59ec4b81d088c974350" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__quantile__impl_1a0d3df68589b11cad63658aabb8447c77" name="array_type"><type>std::vector&lt; float_type &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__quantile__impl_1a19538b0885316b110189b3bc4a3f761e" name="range_type"><type><emphasis>unspecified</emphasis></type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__quantile__impl_1a5b7baeb3d57ce9b34d80e9e894c9baf0" name="result_type"><type>float_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__quantile__impl_1aba47e5cb2b1095aa3dfd2bffb98ed054"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__quantile__impl_1a3467ac432c730bbafbe66ada34910eee" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1extended__p__square__quantile__impl_1ae18fd8ee949b5bc4e98c0746c32b3bd1" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1extended__p__square__quantile" name="extended_p_square_quantile"><inherit access="public">boost::accumulators::depends_on&lt; extended_p_square &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1extended__p__square__quantile_1a7d7f3e5ab3e9f5628c53d9cb88a393a5" name="impl"><type><classname>accumulators::impl::extended_p_square_quantile_impl</classname>&lt; mpl::_1, <classname>unweighted</classname>, <classname>linear</classname> &gt;</type></typedef>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1extended__p__square__quantile__quadratic" name="extended_p_square_quantile_quadratic"><inherit access="public">boost::accumulators::depends_on&lt; extended_p_square &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1extended__p__square__quantile__quadratic_1a7cb11c382776b0b43e0de1e0326ab9bd" name="impl"><type><classname>accumulators::impl::extended_p_square_quantile_impl</classname>&lt; mpl::_1, <classname>unweighted</classname>, <classname>quadratic</classname> &gt;</type></typedef>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__extended__p__square__quantile" name="weighted_extended_p_square_quantile"><inherit access="public">boost::accumulators::depends_on&lt; weighted_extended_p_square &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__extended__p__square__quantile_1aca1ed73d79149e9c4f8a1c7c1c4d610d" name="impl"><type><classname>accumulators::impl::extended_p_square_quantile_impl</classname>&lt; mpl::_1, <classname>weighted</classname>, <classname>linear</classname> &gt;</type></typedef>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__extended__p__square__quantile__quadratic" name="weighted_extended_p_square_quantile_quadratic"><inherit access="public">boost::accumulators::depends_on&lt; weighted_extended_p_square &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__extended__p__square__quantile__quadratic_1a30f69b10e6b0d25576b903c18e5a490c" name="impl"><type><classname>accumulators::impl::extended_p_square_quantile_impl</classname>&lt; mpl::_1, <classname>weighted</classname>, <classname>quadratic</classname> &gt;</type></typedef>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.kurtosis_8hpp" name="boost/accumulators/statistics/kurtosis.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1kurtosis_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::kurtosis</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1kurtosis_01_4_1a10b9e7d9dffe6ad0ed9c8a995373312c" name="type"><type><classname>tag::weighted_kurtosis</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__kurtosis_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_kurtosis</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::kurtosis &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a28ac4010f6bd2aedc2958a042e44ef3b" name="kurtosis"><type><classname>extractor</classname>&lt; <classname>tag::kurtosis</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1kurtosis__impl" name="kurtosis_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Kurtosis estimation. </purpose><description><para>The kurtosis of a sample distribution is defined as the ratio of the 4th central moment and the square of the 2nd central moment (the variance) of the samples, minus 3. The term <inlineequation><alt>$ -3 $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_40.png"/></imageobject><textobject role="tex"><phrase>$ -3 $</phrase></textobject></inlinemediaobject></inlineequation> is added in order to ensure that the normal distribution has zero kurtosis. The kurtosis can also be expressed by the simple moments:</para><para><equation><title/><alt>\[
    \hat{g}_2 =
        \frac
        {\widehat{m}_n^{(4)}-4\widehat{m}_n^{(3)}\hat{\mu}_n+6\widehat{m}_n^{(2)}\hat{\mu}_n^2-3\hat{\mu}_n^4}
        {\left(\widehat{m}_n^{(2)} - \hat{\mu}_n^{2}\right)^2} - 3,
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_41.png"/></imageobject><textobject role="tex"><phrase>\[
    \hat{g}_2 =
        \frac
        {\widehat{m}_n^{(4)}-4\widehat{m}_n^{(3)}\hat{\mu}_n+6\widehat{m}_n^{(2)}\hat{\mu}_n^2-3\hat{\mu}_n^4}
        {\left(\widehat{m}_n^{(2)} - \hat{\mu}_n^{2}\right)^2} - 3,
\]</phrase></textobject></mediaobject></equation></para><para>where <inlineequation><alt>$ \widehat{m}_n^{(i)} $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_29.png"/></imageobject><textobject role="tex"><phrase>$ \widehat{m}_n^{(i)} $</phrase></textobject></inlinemediaobject></inlineequation> are the <inlineequation><alt>$ i $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_30.png"/></imageobject><textobject role="tex"><phrase>$ i $</phrase></textobject></inlinemediaobject></inlineequation>-th moment and <inlineequation><alt>$ \hat{\mu}_n $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_31.png"/></imageobject><textobject role="tex"><phrase>$ \hat{\mu}_n $</phrase></textobject></inlinemediaobject></inlineequation> the mean (first moment) of the <inlineequation><alt>$ n $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_32.png"/></imageobject><textobject role="tex"><phrase>$ n $</phrase></textobject></inlinemediaobject></inlineequation> samples. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1kurtosis__impl_1a44aa98e2906399015ed5102766e2682c" name="result_type"><type>numeric::functional::fdiv&lt; Sample, Sample &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1kurtosis__impl_1a6919e61620412a950efe41fe432cb49e"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1kurtosis__impl_1a15afc803aa163a59ccd98a8dbbc67fdb" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1kurtosis__impl_1a2ef7ae07692c151d9780d7606634ada6" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1kurtosis" name="kurtosis"><inherit access="public">boost::accumulators::depends_on&lt; mean, moment&lt; 2 &gt;, moment&lt; 3 &gt;, moment&lt; 4 &gt; &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.max_8hpp" name="boost/accumulators/statistics/max.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1af061d6d38d01edfbac84e44ee1f8dd99" name="max"><type><classname>extractor</classname>&lt; <classname>tag::max</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1max__impl" name="max_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1max__impl_1a039bac24568a8d9b321d420484a4559b" name="result_type"><type>Sample</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1max__impl_1ace41ec2136d492739f98af2fc21c0985"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1max__impl_1a9be41341ddda7b978335d55d5cf451f9" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1max__impl_1a9ade5750ef6c70ef1048da9aefed99ca" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1max__impl_1ab4e6d320e87dc629e02a7035316280f2" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1max" name="max"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.mean_8hpp" name="boost/accumulators/statistics/mean.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1mean_07immediate_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::mean(immediate)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1mean_07immediate_08_4_1ad456200cdde3a063a09b82eaca011af0" name="type"><type><classname>tag::immediate_mean</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1mean_07lazy_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::mean(lazy)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1mean_07lazy_08_4_1a1e6df5cacedf4351101cb7fb4db0681b" name="type"><type><classname>tag::mean</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1mean__of__variates_3_01VariateType_00_01VariateTag_01_4_07immediate_08_4" name="as_feature"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::mean_of_variates&lt; VariateType</template-arg><template-arg>VariateTag &gt;(immediate)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1mean__of__variates_3_01VariateType_00_01VariateTag_01_4_07immediate_08_4_1a7a6d5b8793853cbce3df0a5a2a6ea24a" name="type"><type><classname>tag::immediate_mean_of_variates</classname>&lt; VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1mean__of__variates_3_01VariateType_00_01VariateTag_01_4_07lazy_08_4" name="as_feature"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::mean_of_variates&lt; VariateType</template-arg><template-arg>VariateTag &gt;(lazy)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1mean__of__variates_3_01VariateType_00_01VariateTag_01_4_07lazy_08_4_1aba193a0b601e91e8edf691b405431932" name="type"><type><classname>tag::mean_of_variates</classname>&lt; VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1mean__of__weights_07immediate_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::mean_of_weights(immediate)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1mean__of__weights_07immediate_08_4_1ad7fb9f57d988d9e8b924132ba1fac4f2" name="type"><type><classname>tag::immediate_mean_of_weights</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1mean__of__weights_07lazy_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::mean_of_weights(lazy)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1mean__of__weights_07lazy_08_4_1a558e03e1d40168a4a835d4bd15c030a2" name="type"><type><classname>tag::mean_of_weights</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1immediate__mean_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::immediate_mean</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1immediate__mean_01_4_1a18c8d442193801fbd0a8080303af9d4c" name="type"><type><classname>tag::immediate_weighted_mean</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1immediate__mean__of__variates_3_9275df569fba7e8fca0d9d7710bbfe75" name="as_weighted_feature"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::immediate_mean_of_variates&lt; VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1immediate__mean__of__variates_3_9275df569fba7e8fca0d9d7710bbfe75_1af95d9b9ba0c7f7269d1900058158d04f" name="type"><type><classname>tag::immediate_weighted_mean_of_variates</classname>&lt; VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1mean_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::mean</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1mean_01_4_1a02a827802076d7eebf7167a7df456743" name="type"><type><classname>tag::weighted_mean</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1mean__of__variates_3_01VariateType_00_01VariateTag_01_4_01_4" name="as_weighted_feature"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::mean_of_variates&lt; VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1mean__of__variates_3_01VariateType_00_01VariateTag_01_4_01_4_1a94da9460930bf580c1b0be7c08da1224" name="type"><type><classname>tag::weighted_mean_of_variates</classname>&lt; VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1immediate__mean_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::immediate_mean</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::mean &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1immediate__mean__of__variates_3_01VariateType_00_01VariateTag_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::immediate_mean_of_variates&lt; VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::mean_of_variates&lt; VariateType, VariateTag &gt; &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1immediate__mean__of__weights_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::immediate_mean_of_weights</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::mean_of_weights &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1immediate__weighted__mean_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::immediate_weighted_mean</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::immediate_mean &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1immediate__weighted__mean__of__variates_3_f8008fe27465bfdf07ecafd88edffec0" name="feature_of"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::immediate_weighted_mean_of_variates&lt; VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::immediate_mean_of_variates&lt; VariateType, VariateTag &gt; &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__mean_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_mean</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::mean &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__mean__of__variates_3_01VariateType_00_01VariateTag_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::weighted_mean_of_variates&lt; VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::mean_of_variates&lt; VariateType, VariateTag &gt; &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ab860195de3bc2a7d58d2d7700062c1c8" name="mean"><type><classname>extractor</classname>&lt; <classname>tag::mean</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ac71fb5f457714e943360718c2dc9be82" name="mean_of_weights"><type><classname>extractor</classname>&lt; <classname>tag::mean_of_weights</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__mean__impl" name="immediate_mean_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__mean__impl_1ac88e8b9f49d3b4cc1ef090c53bada0c8" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__mean__impl_1a40155635b0acdac7e00d52f4320e7614"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__mean__impl_1a9fec9f643a679af950ac3995af6b9230" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__mean__impl_1a482b5227837a44600a1913a86ea793ea" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__mean__impl_1adb6b60d3a0c084234b9bc105d2cd74f6" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1mean__impl" name="mean_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="SumFeature"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1mean__impl_1a541eaf05501af36b7c9ffe31df763d85" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1mean__impl_1a3f7ee919f319b4185100027990c0008c"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1mean__impl_1a20bb645e76c5a6dec5cd6fb8252c3be6" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1mean__impl_1a1ccea79f4a243bb77954a37b120dbe02" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name=""><paramtype>Archive &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1immediate__mean" name="immediate_mean"><inherit access="public">boost::accumulators::depends_on&lt; count &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1immediate__mean__of__variates" name="immediate_mean_of_variates"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1immediate__mean__of__weights" name="immediate_mean_of_weights"><inherit access="public">boost::accumulators::depends_on&lt; count &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1immediate__mean__of__weights_1a63dbfce236a4182aee314fa767057161" name="is_weight_accumulator"><type>mpl::true_</type></typedef>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1mean" name="mean"><inherit access="public">boost::accumulators::depends_on&lt; count, sum &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1mean__of__variates" name="mean_of_variates"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count, sum_of_variates&lt; VariateType, VariateTag &gt; &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1mean__of__weights" name="mean_of_weights"><inherit access="public">boost::accumulators::depends_on&lt; count, sum_of_weights &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1mean__of__weights_1abe448869bf4296ca1c81d422710daed3" name="is_weight_accumulator"><type>mpl::true_</type></typedef>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.median_8hpp" name="boost/accumulators/statistics/median.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1median_07with__density_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::median(with_density)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1median_07with__density_08_4_1a86f95e4b3a94ce2c2e8b448f1425934e" name="type"><type><classname>tag::with_density_median</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1median_07with__p__square__cumulative__distribution_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::median(with_p_square_cumulative_distribution)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1median_07with__p__square__cumulative__distribution_08_4_1a7122e1bccd433928e16f7a5b57f45d47" name="type"><type><classname>tag::with_p_square_cumulative_distribution_median</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1median_07with__p__square__quantile_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::median(with_p_square_quantile)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1median_07with__p__square__quantile_08_4_1a90fdfd2a5b515e67bd1f583260473b39" name="type"><type><classname>tag::median</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1median_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::median</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1median_01_4_1a30854e90dc67e33fc62b6cd76dd16ddd" name="type"><type><classname>tag::weighted_median</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1with__density__median_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::with_density_median</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1with__density__median_01_4_1a539736f3502f2b63b5e65d962cfc80ca" name="type"><type><classname>tag::with_density_weighted_median</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1with__p__square__cumulative__distribution__median_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::with_p_square_cumulative_distribution_median</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1with__p__square__cumulative__distribution__median_01_4_1a7efafdf5797ec22309f2dc1b561379f6" name="type"><type><classname>tag::with_p_square_cumulative_distribution_weighted_median</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__median_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_median</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::median &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1with__density__median_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::with_density_median</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::median &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1with__density__weighted__median_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::with_density_weighted_median</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::with_density_median &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1with__p__square__cumulative__distribution__median_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::with_p_square_cumulative_distribution_median</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::median &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1with__p__square__cumulative__distribution__weighted__median_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::with_p_square_cumulative_distribution_weighted_median</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::with_p_square_cumulative_distribution_median &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a5882c93175b2e1901bba0ba2a2066ff6" name="median"><type><classname>extractor</classname>&lt; <classname>tag::median</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a5e23e7b2313598f02a9f679f72ddcaec" name="with_density_median"><type><classname>extractor</classname>&lt; <classname>tag::with_density_median</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1abb32431b2694328280936a624a2f20d5" name="with_p_square_cumulative_distribution_median"><type><classname>extractor</classname>&lt; <classname>tag::with_p_square_cumulative_distribution_median</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1median__impl" name="median_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Median estimation based on the <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> quantile estimator. </purpose><description><para>The <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm is invoked with a quantile probability of 0.5. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1median__impl_1a4a0b776771309698764976a3ad1c5a38" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1median__impl_1acf0b644c8266e9145a05b0493c2aa8ab"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1median__impl_1ae2cfaca691df9b5747c52a81c707c0ed" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1median__impl_1a3cddff242d1295c5660d6631d6c98ef3" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__median__impl" name="with_density_median_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Median estimation based on the density estimator. </purpose><description><para>The algorithm determines the bin in which the <inlineequation><alt>$0.5*cnt$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_38.png"/></imageobject><textobject role="tex"><phrase>$0.5*cnt$</phrase></textobject></inlinemediaobject></inlineequation>-th sample lies, <inlineequation><alt>$cnt$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_39.png"/></imageobject><textobject role="tex"><phrase>$cnt$</phrase></textobject></inlinemediaobject></inlineequation> being the total number of samples. It returns the approximate horizontal position of this sample, based on a linear interpolation inside the bin. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__median__impl_1abac2ca13f4402b845ccc27995815a66d" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__median__impl_1a3811ed8e5bbf5203878386939039483d" name="histogram_type"><type>std::vector&lt; std::pair&lt; float_type, float_type &gt; &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__median__impl_1af37e4662e66c7e845debaaa2d97ab894" name="range_type"><type>iterator_range&lt; typename histogram_type::iterator &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__median__impl_1a14f3d810e6da76947b991e23cd138e38" name="result_type"><type>float_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__median__impl_1a9bfc1ab1d2e44d6fa696199ec708b008"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__median__impl_1adedbc5eaa6e53335e6fb7994639a13eb" name="operator()"><type>void</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__median__impl_1a0df54bd83cdf6d5100f3c199c70e5b1d" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__median__impl_1a1f053345cfaf361a6fed2c71ab42948b" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__median__impl" name="with_p_square_cumulative_distribution_median_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Median estimation based on the <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> cumulative distribution estimator. </purpose><description><para>The algorithm determines the first (leftmost) bin with a height exceeding 0.5. It returns the approximate horizontal position of where the cumulative distribution equals 0.5, based on a linear interpolation inside the bin. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__median__impl_1af6b7a426babd9c5dad20bb16ffffd620" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__median__impl_1afebd77bae64fd5a7fe6a41ca8d787257" name="histogram_type"><type>std::vector&lt; std::pair&lt; float_type, float_type &gt; &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__median__impl_1ae363837d3468d1b3e3aff16953e90a1a" name="range_type"><type>iterator_range&lt; typename histogram_type::iterator &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__median__impl_1afc32a5cbf3529c4e87845bb5182b6e3a" name="result_type"><type>float_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__median__impl_1a992bede23779d7820af0bd1aa95c9749"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__median__impl_1adc3565e2ac4de1f41d6433ba5505eb5a" name="operator()"><type>void</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__median__impl_1a8917a641c5bc9d08c8de659050e8d174" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__median__impl_1a671ae704a89389d875761bbb7cd3a7ce" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1median" name="median"><inherit access="public">boost::accumulators::depends_on&lt; p_square_quantile_for_median &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1with__density__median" name="with_density_median"><inherit access="public">boost::accumulators::depends_on&lt; count, density &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1with__p__square__cumulative__distribution__median" name="with_p_square_cumulative_distribution_median"><inherit access="public">boost::accumulators::depends_on&lt; p_square_cumulative_distribution &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.min_8hpp" name="boost/accumulators/statistics/min.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a53eeb6c929cc957501585f828a5b00f2" name="min"><type><classname>extractor</classname>&lt; <classname>tag::min</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1min__impl" name="min_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1min__impl_1a3bc9b36a45f0921c90748b5e282b44a9" name="result_type"><type>Sample</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1min__impl_1a262896cebc63236e8729431bff30c75c"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1min__impl_1a351c774ee3f324cde3e6a9edd04f3aa9" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1min__impl_1a292c9d43c90b02c6e11589ae7c903d9b" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1min__impl_1a36acb5c96af53b043cb02dddee6fd84f" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1min" name="min"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.moment_8hpp" name="boost/accumulators/statistics/moment.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1moment_3_01N_01_4_01_4" name="as_weighted_feature"><template>
      <template-nontype-parameter name="N"><type>int</type></template-nontype-parameter>
    </template><specialization><template-arg>tag::moment&lt; N &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1moment_3_01N_01_4_01_4_1a6216e2c4403eb1b8de4280b3eda2650b" name="type"><type><classname>tag::weighted_moment</classname>&lt; N &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__moment_3_01N_01_4_01_4" name="feature_of"><template>
      <template-nontype-parameter name="N"><type>int</type></template-nontype-parameter>
    </template><specialization><template-arg>tag::weighted_moment&lt; N &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::moment&lt; N &gt; &gt;</inherit></struct-specialization><namespace name="extract">
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1moment__impl" name="moment_impl"><template>
      <template-type-parameter name="N"/>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1moment__impl_1a12f015f05d3caefa033cc3c19301d700" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<method-group name="public member functions">
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1moment__impl_1a4c3ce0c1aa4f71975c7cdba8e6f64873" name="BOOST_MPL_ASSERT_RELATION"><type/><parameter name=""><paramtype>N::value</paramtype></parameter><parameter name=""><paramtype>0</paramtype></parameter></method>
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1moment__impl_1a8a71aab7a6ea9e21677b143988838808"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1moment__impl_1a5aa3e45e858fd5f6a1a9b7d42e41990d" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1moment__impl_1a0e96834bcfb36682f47fa5d51e280be4" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1moment__impl_1a9474fae0d6d8bd43d9982ce06f56fe02" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1moment" name="moment"><template>
      <template-nontype-parameter name="N"><type>int</type></template-nontype-parameter>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count &gt;</inherit></struct></namespace>
</namespace>
<namespace name="numeric">
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.p__square__cumul__dist_8hpp" name="boost/accumulators/statistics/p_square_cumul_dist.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1p__square__cumulative__distribution_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::p_square_cumulative_distribution</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1p__square__cumulative__distribution_01_4_1a367f91b3ca6192b5f5ccff79883473d4" name="type"><type><classname>tag::weighted_p_square_cumulative_distribution</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__p__square__cumulative__distribution_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_p_square_cumulative_distribution</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::p_square_cumulative_distribution &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a441a2d1d840376508719e65bad12a553" name="p_square_cumulative_distribution"><type><classname>extractor</classname>&lt; <classname>tag::p_square_cumulative_distribution</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__cumulative__distribution__impl" name="p_square_cumulative_distribution_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Histogram calculation of the cumulative distribution with the <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm. </purpose><description><para>A histogram of the sample cumulative distribution is computed dynamically without storing samples based on the <inlineequation><alt>$ P^2 $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_37.png"/></imageobject><textobject role="tex"><phrase>$ P^2 $</phrase></textobject></inlinemediaobject></inlineequation> algorithm. The returned histogram has a specifiable amount (num_cells) equiprobable (and not equal-sized) cells.</para><para>For further details, see</para><para>R. Jain and I. Chlamtac, The P^2 algorithm for dynamic calculation of quantiles and histograms without storing observations, Communications of the ACM, Volume 28 (October), Number 10, 1985, p. 1076-1085.</para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__cumulative__distribution__impl_1aca3c4f1788f5e1e410625561023fa8fe" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__cumulative__distribution__impl_1af0d7cc957d58a955bf1cf2c365cc6a08" name="array_type"><type>std::vector&lt; float_type &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__cumulative__distribution__impl_1af979b89963eb43f1650ff9541c199f37" name="histogram_type"><type>std::vector&lt; std::pair&lt; float_type, float_type &gt; &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__cumulative__distribution__impl_1a5f70a4dbbd723840f45c61de99886f9d" name="result_type"><type>iterator_range&lt; typename histogram_type::iterator &gt;</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__cumulative__distribution__impl_1a5d60d53405a5136a3048b45f75ad7c23"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__cumulative__distribution__impl_1ac982ece146a9f24740e8ae21b48be628" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__cumulative__distribution__impl_1a4966ab077387fd3522c96f696d72313c" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__cumulative__distribution__impl_1ae20fdb3989c627837d6474876635feb8" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1p__square__cumulative__distribution" name="p_square_cumulative_distribution"><inherit access="public">boost::accumulators::depends_on&lt; count &gt;</inherit><inherit access="public">p_square_cumulative_distribution_num_cells</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.p__square__cumulative__distribution_8hpp" name="boost/accumulators/statistics/p_square_cumulative_distribution.hpp">
</header>
<header id="doxygen.statistics_library_reference.p__square__quantile_8hpp" name="boost/accumulators/statistics/p_square_quantile.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1p__square__quantile_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::p_square_quantile</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1p__square__quantile_01_4_1a0947971d30191691c2df15b6a127ec17" name="type"><type><classname>tag::weighted_p_square_quantile</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__p__square__quantile_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_p_square_quantile</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::p_square_quantile &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a6595fafdf62b950197bb4507abd55520" name="p_square_quantile"><type><classname>extractor</classname>&lt; <classname>tag::p_square_quantile</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a69fe8be84c7f9134e026f35293d9a118" name="p_square_quantile_for_median"><type><classname>extractor</classname>&lt; <classname>tag::p_square_quantile_for_median</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__quantile__impl" name="p_square_quantile_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Impl"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Single quantile estimation with the <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm. </purpose><description><para>The <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm estimates a quantile dynamically without storing samples. Instead of storing the whole sample cumulative distribution, only five points (markers) are stored. The heights of these markers are the minimum and the maximum of the samples and the current estimates of the <inlineequation><alt>$(p/2)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_34.png"/></imageobject><textobject role="tex"><phrase>$(p/2)$</phrase></textobject></inlinemediaobject></inlineequation>-, <inlineequation><alt>$p$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_35.png"/></imageobject><textobject role="tex"><phrase>$p$</phrase></textobject></inlinemediaobject></inlineequation>- and <inlineequation><alt>$(1+p)/2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_36.png"/></imageobject><textobject role="tex"><phrase>$(1+p)/2$</phrase></textobject></inlinemediaobject></inlineequation>-quantiles. Their positions are equal to the number of samples that are smaller or equal to the markers. Each time a new samples is recorded, the positions of the markers are updated and if necessary their heights are adjusted using a piecewise- parabolic formula.</para><para>For further details, see</para><para>R. Jain and I. Chlamtac, The P^2 algorithm for dynamic calculation of quantiles and histograms without storing observations, Communications of the ACM, Volume 28 (October), Number 10, 1985, p. 1076-1085.</para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__quantile__impl_1a23c20f6f63e01b56c3746e529d7e14ed" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__quantile__impl_1a6553f663c54d60315761f6cf88308873" name="array_type"><type>array&lt; float_type, 5 &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__quantile__impl_1a71adf3d9c88a4cc56d2467f71aeb6cf9" name="result_type"><type>float_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__quantile__impl_1a5b408a021da6b1b59b1ecb2291ede26a"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__quantile__impl_1ad65875ff952a9ad78635b2ff5aceb165" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__quantile__impl_1a99d2cbb88c9dd9ce77825b626dc158ae" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1p__square__quantile__impl_1afb56ad8ef4af4e855bd429ef64d24a97" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1p__square__quantile" name="p_square_quantile"><inherit access="public">boost::accumulators::depends_on&lt; count &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1p__square__quantile__for__median" name="p_square_quantile_for_median"><inherit access="public">boost::accumulators::depends_on&lt; count &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.peaks__over__threshold_8hpp" name="boost/accumulators/statistics/peaks_over_threshold.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1peaks__over__threshold_3_01LeftRight_01_4_3b7cda1e8d964f5662d23fe5e2767b13" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::peaks_over_threshold&lt; LeftRight &gt;(with_threshold_probability)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1peaks__over__threshold_3_01LeftRight_01_4_3b7cda1e8d964f5662d23fe5e2767b13_1a931caa9ae6f50a56100a6b1965aacff9" name="type"><type><classname>tag::peaks_over_threshold_prob</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1peaks__over__threshold_3_01LeftRight_01_4_07with__threshold__value_08_4" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::peaks_over_threshold&lt; LeftRight &gt;(with_threshold_value)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1peaks__over__threshold_3_01LeftRight_01_4_07with__threshold__value_08_4_1a4417c5572533888ffa455f52deed99ae" name="type"><type><classname>tag::peaks_over_threshold</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1peaks__over__threshold_3_01LeftRight_01_4_01_4" name="as_weighted_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::peaks_over_threshold&lt; LeftRight &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1peaks__over__threshold_3_01LeftRight_01_4_01_4_1a049d2dd47671155516c2b927d2753061" name="type"><type><classname>tag::weighted_peaks_over_threshold</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1peaks__over__threshold__prob_3_01LeftRight_01_4_01_4" name="as_weighted_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::peaks_over_threshold_prob&lt; LeftRight &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1peaks__over__threshold__prob_3_01LeftRight_01_4_01_4_1a8e5feba6f10b3532818d67d2f6723530" name="type"><type><classname>tag::weighted_peaks_over_threshold_prob</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1peaks__over__threshold_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::peaks_over_threshold&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::abstract_peaks_over_threshold &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1peaks__over__threshold__prob_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::peaks_over_threshold_prob&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::abstract_peaks_over_threshold &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__peaks__over__threshold_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_peaks_over_threshold&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::peaks_over_threshold&lt; LeftRight &gt; &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__peaks__over__threshold__prob_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_peaks_over_threshold_prob&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::peaks_over_threshold_prob&lt; LeftRight &gt; &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ac5c4a5c9b1a92daffffca92d40aae3f5" name="peaks_over_threshold"><type><classname>extractor</classname>&lt; <classname>tag::abstract_peaks_over_threshold</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__impl" name="peaks_over_threshold_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Peaks over Threshold Method for Quantile and Tail Mean Estimation. </purpose><description><para>According to the theorem of Pickands-Balkema-de Haan, the distribution function <inlineequation><alt>$F_u(x)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_89.png"/></imageobject><textobject role="tex"><phrase>$F_u(x)$</phrase></textobject></inlinemediaobject></inlineequation> of the excesses <inlineequation><alt>$x$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_90.png"/></imageobject><textobject role="tex"><phrase>$x$</phrase></textobject></inlinemediaobject></inlineequation> over some sufficiently high threshold <inlineequation><alt>$u$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_91.png"/></imageobject><textobject role="tex"><phrase>$u$</phrase></textobject></inlinemediaobject></inlineequation> of a distribution function <inlineequation><alt>$F(x)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_92.png"/></imageobject><textobject role="tex"><phrase>$F(x)$</phrase></textobject></inlinemediaobject></inlineequation> may be approximated by a generalized Pareto distribution  <equation><title/><alt>\[
    G_{\xi,\beta}(x) =
    \left\{
    \begin{array}{ll}
        \beta^{-1}\left(1+\frac{\xi x}{\beta}\right)^{-1/\xi-1} &amp; \textrm{if }\xi\neq0\\
        \beta^{-1}\exp\left(-\frac{x}{\beta}\right) &amp; \textrm{if }\xi=0,
    \end{array}
    \right.
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_93.png"/></imageobject><textobject role="tex"><phrase>\[
    G_{\xi,\beta}(x) =
    \left\{
    \begin{array}{ll}
        \beta^{-1}\left(1+\frac{\xi x}{\beta}\right)^{-1/\xi-1} &amp; \textrm{if }\xi\neq0\\
        \beta^{-1}\exp\left(-\frac{x}{\beta}\right) &amp; \textrm{if }\xi=0,
    \end{array}
    \right.
\]</phrase></textobject></mediaobject></equation> with suitable parameters <inlineequation><alt>$\xi$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_87.png"/></imageobject><textobject role="tex"><phrase>$\xi$</phrase></textobject></inlinemediaobject></inlineequation> and <inlineequation><alt>$\beta$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_94.png"/></imageobject><textobject role="tex"><phrase>$\beta$</phrase></textobject></inlinemediaobject></inlineequation> that can be estimated, e.g., with the method of moments, cf. Hosking and Wallis (1987),  <equation><title/><alt>\[
    \begin{array}{lll}
    \hat{\xi} &amp; = &amp; \frac{1}{2}\left[1-\frac{(\hat{\mu}-u)^2}{\hat{\sigma}^2}\right]\\
    \hat{\beta} &amp; = &amp; \frac{\hat{\mu}-u}{2}\left[\frac{(\hat{\mu}-u)^2}{\hat{\sigma}^2}+1\right],
    \end{array}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_95.png"/></imageobject><textobject role="tex"><phrase>\[
    \begin{array}{lll}
    \hat{\xi} &amp; = &amp; \frac{1}{2}\left[1-\frac{(\hat{\mu}-u)^2}{\hat{\sigma}^2}\right]\\
    \hat{\beta} &amp; = &amp; \frac{\hat{\mu}-u}{2}\left[\frac{(\hat{\mu}-u)^2}{\hat{\sigma}^2}+1\right],
    \end{array}
\]</phrase></textobject></mediaobject></equation> <inlineequation><alt>$\hat{\mu}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_96.png"/></imageobject><textobject role="tex"><phrase>$\hat{\mu}$</phrase></textobject></inlinemediaobject></inlineequation> and <inlineequation><alt>$\hat{\sigma}^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_97.png"/></imageobject><textobject role="tex"><phrase>$\hat{\sigma}^2$</phrase></textobject></inlinemediaobject></inlineequation> being the empirical mean and variance of the samples over the threshold <inlineequation><alt>$u$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_91.png"/></imageobject><textobject role="tex"><phrase>$u$</phrase></textobject></inlinemediaobject></inlineequation>. Equivalently, the distribution function <inlineequation><alt>$F_u(x-u)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_98.png"/></imageobject><textobject role="tex"><phrase>$F_u(x-u)$</phrase></textobject></inlinemediaobject></inlineequation> of the exceedances <inlineequation><alt>$x-u$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_99.png"/></imageobject><textobject role="tex"><phrase>$x-u$</phrase></textobject></inlinemediaobject></inlineequation> can be approximated by <inlineequation><alt>$G_{\xi,\beta}(x-u)=G_{\xi,\beta,u}(x)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_100.png"/></imageobject><textobject role="tex"><phrase>$G_{\xi,\beta}(x-u)=G_{\xi,\beta,u}(x)$</phrase></textobject></inlinemediaobject></inlineequation>. Since for <inlineequation><alt>$x\geq u$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_101.png"/></imageobject><textobject role="tex"><phrase>$x\geq u$</phrase></textobject></inlinemediaobject></inlineequation> the distribution function <inlineequation><alt>$F(x)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_92.png"/></imageobject><textobject role="tex"><phrase>$F(x)$</phrase></textobject></inlinemediaobject></inlineequation> can be written as  <equation><title/><alt>\[
    F(x) = [1 - \P(X \leq u)]F_u(x - u) + \P(X \leq u)
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_102.png"/></imageobject><textobject role="tex"><phrase>\[
    F(x) = [1 - \P(X \leq u)]F_u(x - u) + \P(X \leq u)
\]</phrase></textobject></mediaobject></equation> and the probability <inlineequation><alt>$\P(X \leq u)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_103.png"/></imageobject><textobject role="tex"><phrase>$\P(X \leq u)$</phrase></textobject></inlinemediaobject></inlineequation> can be approximated by the empirical distribution function <inlineequation><alt>$F_n(u)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_104.png"/></imageobject><textobject role="tex"><phrase>$F_n(u)$</phrase></textobject></inlinemediaobject></inlineequation> evaluated at <inlineequation><alt>$u$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_91.png"/></imageobject><textobject role="tex"><phrase>$u$</phrase></textobject></inlinemediaobject></inlineequation>, an estimator of <inlineequation><alt>$F(x)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_92.png"/></imageobject><textobject role="tex"><phrase>$F(x)$</phrase></textobject></inlinemediaobject></inlineequation> is given by  <equation><title/><alt>\[
    \widehat{F}(x) = [1 - F_n(u)]G_{\xi,\beta,u}(x) + F_n(u).
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_105.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{F}(x) = [1 - F_n(u)]G_{\xi,\beta,u}(x) + F_n(u).
\]</phrase></textobject></mediaobject></equation> It can be shown that <inlineequation><alt>$\widehat{F}(x)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_106.png"/></imageobject><textobject role="tex"><phrase>$\widehat{F}(x)$</phrase></textobject></inlinemediaobject></inlineequation> is a generalized Pareto distribution <inlineequation><alt>$G_{\xi,\bar{\beta},\bar{u}}(x)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_107.png"/></imageobject><textobject role="tex"><phrase>$G_{\xi,\bar{\beta},\bar{u}}(x)$</phrase></textobject></inlinemediaobject></inlineequation> with <inlineequation><alt>$\bar{\beta}=\beta[1-F_n(u)]^{\xi}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_108.png"/></imageobject><textobject role="tex"><phrase>$\bar{\beta}=\beta[1-F_n(u)]^{\xi}$</phrase></textobject></inlinemediaobject></inlineequation> and <inlineequation><alt>$\bar{u}=u-\bar{\beta}\left\{[1-F_n(u)]^{-\xi}-1\right\}/\xi$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_109.png"/></imageobject><textobject role="tex"><phrase>$\bar{u}=u-\bar{\beta}\left\{[1-F_n(u)]^{-\xi}-1\right\}/\xi$</phrase></textobject></inlinemediaobject></inlineequation>. By inverting <inlineequation><alt>$\widehat{F}(x)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_106.png"/></imageobject><textobject role="tex"><phrase>$\widehat{F}(x)$</phrase></textobject></inlinemediaobject></inlineequation>, one obtains an estimator for the <inlineequation><alt>$\alpha$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_20.png"/></imageobject><textobject role="tex"><phrase>$\alpha$</phrase></textobject></inlinemediaobject></inlineequation>-quantile,  <equation><title/><alt>\[
    \hat{q}_{\alpha} = \bar{u} + \frac{\bar{\beta}}{\xi}\left[(1-\alpha)^{-\xi}-1\right],
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_110.png"/></imageobject><textobject role="tex"><phrase>\[
    \hat{q}_{\alpha} = \bar{u} + \frac{\bar{\beta}}{\xi}\left[(1-\alpha)^{-\xi}-1\right],
\]</phrase></textobject></mediaobject></equation> and similarly an estimator for the (coherent) tail mean,  <equation><title/><alt>\[
    \widehat{CTM}_{\alpha} = \hat{q}_{\alpha} - \frac{\bar{\beta}}{\xi-1}(1-\alpha)^{-\xi},
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_84.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{CTM}_{\alpha} = \hat{q}_{\alpha} - \frac{\bar{\beta}}{\xi-1}(1-\alpha)^{-\xi},
\]</phrase></textobject></mediaobject></equation> cf. McNeil and Frey (2000).</para><para>Note that in case extreme values of the left tail are fitted, the distribution is mirrored with respect to the <inlineequation><alt>$y$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_111.png"/></imageobject><textobject role="tex"><phrase>$y$</phrase></textobject></inlinemediaobject></inlineequation> axis such that the left tail can be treated as a right tail. The computed fit parameters thus define the Pareto distribution that fits the mirrored left tail. When quantities like a quantile or a tail mean are computed using the fit parameters obtained from the mirrored data, the result is mirrored back, yielding the correct result.</para><para>For further details, see</para><para>J. R. M. Hosking and J. R. Wallis, Parameter and quantile estimation for the generalized Pareto distribution, Technometrics, Volume 29, 1987, p. 339-349</para><para>A. J. McNeil and R. Frey, Estimation of Tail-Related Risk Measures for Heteroscedastic Financial Time Series: an Extreme Value Approach, Journal of Empirical Finance, Volume 7, 2000, p. 271-300</para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__impl_1aae815f065445bdc3d8d50c2c734dc730" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__impl_1aab65476543d16960581a7d3615b7bbae" name="result_type"><type>boost::tuple&lt; float_type, float_type, float_type &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__impl_1a6ad1f99ff2accc23a46406634e3eef59" name="sign"><type>mpl::int_&lt; is_same&lt; LeftRight, <classname>left</classname> &gt;::value ? -1 :1 &gt;</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__impl_1aa9fe636253db3def7f75526b652d9b22"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__impl_1a72237dad1c55334323524afa8e25e3de" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__impl_1a57eb01a332d8039f08307c43d7bcfb0d" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__impl_1a7f729db9efea68d93af2d0732bdb9a13" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__prob__impl" name="peaks_over_threshold_prob_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Peaks over Threshold Method for Quantile and Tail Mean Estimation. </purpose><description><para><formalpara><title>See Also:</title><para><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__impl">peaks_over_threshold_impl</link></para>
</formalpara>

</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__prob__impl_1aa40a03e6941d646ab7ee99c7b07e17ac" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__prob__impl_1a355fdfc2a64b2d17bfecfacca9cc8ab5" name="result_type"><type>boost::tuple&lt; float_type, float_type, float_type &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__prob__impl_1a0d59edec6c271189b12a903b8097c3f2" name="sign"><type>mpl::int_&lt; is_same&lt; LeftRight, <classname>left</classname> &gt;::value ? -1 :1 &gt;</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__prob__impl_1ab13750d8b229bd25ce1fec78adbb5951"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__prob__impl_1aa67cc12b346082c2395b600835186a91" name="operator()"><type>void</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__prob__impl_1a1f21d0b67c5c8c561ba719b4faa7d627" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__prob__impl_1a2bdbe0ef9c5e3ce1c8337b6d5b6cfda0" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1abstract__peaks__over__threshold" name="abstract_peaks_over_threshold"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1peaks__over__threshold" name="peaks_over_threshold"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count &gt;</inherit><inherit access="public">pot_threshold_value</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1peaks__over__threshold__prob" name="peaks_over_threshold_prob"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count, tail&lt; LeftRight &gt; &gt;</inherit><inherit access="public">pot_threshold_probability</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.pot__quantile_8hpp" name="boost/accumulators/statistics/pot_quantile.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1pot__quantile_3_01LeftRight_01_4_07with__threshold__probability_08_4" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::pot_quantile&lt; LeftRight &gt;(with_threshold_probability)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1pot__quantile_3_01LeftRight_01_4_07with__threshold__probability_08_4_1a341c25b6f939b8c50131a7d718fc0b3b" name="type"><type><classname>tag::pot_quantile_prob</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1pot__quantile_3_01LeftRight_01_4_07with__threshold__value_08_4" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::pot_quantile&lt; LeftRight &gt;(with_threshold_value)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1pot__quantile_3_01LeftRight_01_4_07with__threshold__value_08_4_1a844cdd0285610646149581dd486344df" name="type"><type><classname>tag::pot_quantile</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__pot__quantile_3_01LeftRight_01_4a2b9c2d0b40c65c697e5c8bd7cd77111" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_pot_quantile&lt; LeftRight &gt;(with_threshold_probability)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__pot__quantile_3_01LeftRight_01_4a2b9c2d0b40c65c697e5c8bd7cd77111_1aa566fea5274e364b1c4c1aa0a87eea0b" name="type"><type><classname>tag::weighted_pot_quantile_prob</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__pot__quantile_3_01LeftRight_01_4_07with__threshold__value_08_4" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_pot_quantile&lt; LeftRight &gt;(with_threshold_value)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__pot__quantile_3_01LeftRight_01_4_07with__threshold__value_08_4_1abbe0371b473e6a286feea5b8fa85157d" name="type"><type><classname>tag::weighted_pot_quantile</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1pot__quantile_3_01LeftRight_01_4_01_4" name="as_weighted_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::pot_quantile&lt; LeftRight &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1pot__quantile_3_01LeftRight_01_4_01_4_1a5700a67cd97a122df9fe1c45208e9de1" name="type"><type><classname>tag::weighted_pot_quantile</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1pot__quantile__prob_3_01LeftRight_01_4_01_4" name="as_weighted_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::pot_quantile_prob&lt; LeftRight &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1pot__quantile__prob_3_01LeftRight_01_4_01_4_1aae4aa9cabba461c3e659e9ceae7f9240" name="type"><type><classname>tag::weighted_pot_quantile_prob</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1pot__quantile_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::pot_quantile&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::quantile &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1pot__quantile__prob_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::pot_quantile_prob&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::quantile &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__pot__quantile_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_pot_quantile&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::pot_quantile&lt; LeftRight &gt; &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__pot__quantile__prob_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_pot_quantile_prob&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::pot_quantile_prob&lt; LeftRight &gt; &gt;</inherit></struct-specialization><namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1pot__quantile__impl" name="pot_quantile_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Impl"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Quantile Estimation based on Peaks over Threshold Method (for both left and right tails) </purpose><description><para>Computes an estimate  <equation><title/><alt>\[
    \hat{q}_{\alpha} = \bar{u} + \frac{\bar{\beta}}{\xi}\left[(1-\alpha)^{-\xi}-1\right]
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_88.png"/></imageobject><textobject role="tex"><phrase>\[
    \hat{q}_{\alpha} = \bar{u} + \frac{\bar{\beta}}{\xi}\left[(1-\alpha)^{-\xi}-1\right]
\]</phrase></textobject></mediaobject></equation> for a right or left extreme quantile, <inlineequation><alt>$\bar[u]$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_85.png"/></imageobject><textobject role="tex"><phrase>$\bar[u]$</phrase></textobject></inlinemediaobject></inlineequation>, <inlineequation><alt>$\bar{\beta}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_86.png"/></imageobject><textobject role="tex"><phrase>$\bar{\beta}$</phrase></textobject></inlinemediaobject></inlineequation> and <inlineequation><alt>$\xi$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_87.png"/></imageobject><textobject role="tex"><phrase>$\xi$</phrase></textobject></inlinemediaobject></inlineequation> being the parameters of the generalized Pareto distribution that approximates the right tail of the distribution (or the mirrored left tail, in case the left tail is used). In the latter case, the result is mirrored back, yielding the correct result. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1pot__quantile__impl_1a3b85a17de9334c8d5fe3dc94e50d8db3" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1pot__quantile__impl_1a48a75616dc26ed58c10fe7d419f7b25b" name="result_type"><type>float_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1pot__quantile__impl_1a4ed965c4d2cc70ad8cd7a43469fab7eb"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1pot__quantile__impl_1a199a4f72b9e717d695d3050606417133" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1pot__quantile__impl_1a2383e7df70526b285c9f146e8a5b9100" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1pot__quantile" name="pot_quantile"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; peaks_over_threshold&lt; LeftRight &gt; &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1pot__quantile__prob" name="pot_quantile_prob"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; peaks_over_threshold_prob&lt; LeftRight &gt; &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__pot__quantile" name="weighted_pot_quantile"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; weighted_peaks_over_threshold&lt; LeftRight &gt; &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__pot__quantile__prob" name="weighted_pot_quantile_prob"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; weighted_peaks_over_threshold_prob&lt; LeftRight &gt; &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.pot__tail__mean_8hpp" name="boost/accumulators/statistics/pot_tail_mean.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1pot__tail__mean_3_01LeftRight_01_4_07with__threshold__probability_08_4" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::pot_tail_mean&lt; LeftRight &gt;(with_threshold_probability)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1pot__tail__mean_3_01LeftRight_01_4_07with__threshold__probability_08_4_1a20bacc3160369f6fbaea2794d1a2cae7" name="type"><type><classname>tag::pot_tail_mean_prob</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1pot__tail__mean_3_01LeftRight_01_4_07with__threshold__value_08_4" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::pot_tail_mean&lt; LeftRight &gt;(with_threshold_value)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1pot__tail__mean_3_01LeftRight_01_4_07with__threshold__value_08_4_1a03cf384de6ea68985f9580ed846ffee6" name="type"><type><classname>tag::pot_tail_mean</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__pot__tail__mean_3_01LeftRight_0114a0ec98eeae99f3518f7e4f4ba4e5cc" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_pot_tail_mean&lt; LeftRight &gt;(with_threshold_probability)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__pot__tail__mean_3_01LeftRight_0114a0ec98eeae99f3518f7e4f4ba4e5cc_1ae866dcf5b1f39aa5189e777878e89ed8" name="type"><type><classname>tag::weighted_pot_tail_mean_prob</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__pot__tail__mean_3_01LeftRight_015659249109fc5c61c02b2c3cf9b4e2b0" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_pot_tail_mean&lt; LeftRight &gt;(with_threshold_value)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__pot__tail__mean_3_01LeftRight_015659249109fc5c61c02b2c3cf9b4e2b0_1a783c14b8557d29ed8bde7a096f2fffde" name="type"><type><classname>tag::weighted_pot_tail_mean</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1pot__tail__mean_3_01LeftRight_01_4_01_4" name="as_weighted_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::pot_tail_mean&lt; LeftRight &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1pot__tail__mean_3_01LeftRight_01_4_01_4_1aefc7cc51c78eb3a9a4e21a4ac3defb8e" name="type"><type><classname>tag::weighted_pot_tail_mean</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1pot__tail__mean__prob_3_01LeftRight_01_4_01_4" name="as_weighted_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::pot_tail_mean_prob&lt; LeftRight &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1pot__tail__mean__prob_3_01LeftRight_01_4_01_4_1a77b654f8ab29f4a8fc04509d36c84806" name="type"><type><classname>tag::weighted_pot_tail_mean_prob</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1pot__tail__mean_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::pot_tail_mean&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::tail_mean &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1pot__tail__mean__prob_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::pot_tail_mean_prob&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::tail_mean &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__pot__tail__mean_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_pot_tail_mean&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::pot_tail_mean&lt; LeftRight &gt; &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__pot__tail__mean__prob_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_pot_tail_mean_prob&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::pot_tail_mean_prob&lt; LeftRight &gt; &gt;</inherit></struct-specialization><namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1pot__tail__mean__impl" name="pot_tail_mean_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Impl"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Estimation of the (coherent) tail mean based on the peaks over threshold method (for both left and right tails) </purpose><description><para>Computes an estimate for the (coherent) tail mean  <equation><title/><alt>\[
    \widehat{CTM}_{\alpha} = \hat{q}_{\alpha} - \frac{\bar{\beta}}{\xi-1}(1-\alpha)^{-\xi},
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_84.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{CTM}_{\alpha} = \hat{q}_{\alpha} - \frac{\bar{\beta}}{\xi-1}(1-\alpha)^{-\xi},
\]</phrase></textobject></mediaobject></equation> where <inlineequation><alt>$\bar[u]$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_85.png"/></imageobject><textobject role="tex"><phrase>$\bar[u]$</phrase></textobject></inlinemediaobject></inlineequation>, <inlineequation><alt>$\bar{\beta}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_86.png"/></imageobject><textobject role="tex"><phrase>$\bar{\beta}$</phrase></textobject></inlinemediaobject></inlineequation> and <inlineequation><alt>$\xi$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_87.png"/></imageobject><textobject role="tex"><phrase>$\xi$</phrase></textobject></inlinemediaobject></inlineequation> are the parameters of the generalized Pareto distribution that approximates the right tail of the distribution (or the mirrored left tail, in case the left tail is used). In the latter case, the result is mirrored back, yielding the correct result. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1pot__tail__mean__impl_1a4ecc094408966aa27d5e12907c41a622" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1pot__tail__mean__impl_1a13aefa9271a3a6b5557ffaf696982f6f" name="result_type"><type>float_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1pot__tail__mean__impl_1a6e292267112d44813025078ec9cb6aa2"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1pot__tail__mean__impl_1ad66cc208da10402dac336e8d3154bd2e" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1pot__tail__mean__impl_1a1f3ad1fdd1930f15e1155432c28a8550" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1pot__tail__mean" name="pot_tail_mean"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; peaks_over_threshold&lt; LeftRight &gt;, pot_quantile&lt; LeftRight &gt; &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1pot__tail__mean__prob" name="pot_tail_mean_prob"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; peaks_over_threshold_prob&lt; LeftRight &gt;, pot_quantile_prob&lt; LeftRight &gt; &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__pot__tail__mean" name="weighted_pot_tail_mean"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; weighted_peaks_over_threshold&lt; LeftRight &gt;, weighted_pot_quantile&lt; LeftRight &gt; &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__pot__tail__mean__prob" name="weighted_pot_tail_mean_prob"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; weighted_peaks_over_threshold_prob&lt; LeftRight &gt;, weighted_pot_quantile_prob&lt; LeftRight &gt; &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.rolling__count_8hpp" name="boost/accumulators/statistics/rolling_count.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a6d12784f8343c7fc1fe3d5f7b07c90d9" name="rolling_count"><type><classname>extractor</classname>&lt; <classname>tag::rolling_count</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__count__impl" name="rolling_count_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__count__impl_1a0cbf543b7bdfd26d62dd9bd96319fb68" name="result_type"><type>std::size_t</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__count__impl_1a67c9d9bc51c17cebc3f8cdc541dc06b0"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__count__impl_1a98d38b388eb49c19c2687474eb910b98" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__count__impl_1ad91ddf6adf0911354765dfb83d3e07a1" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__count" name="rolling_count"><inherit access="public">boost::accumulators::depends_on&lt; rolling_window_plus1 &gt;</inherit><data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__count_1a00a91a63b986df649b0a746f65fff155" name="window_size" specifiers="static"><type>boost::parameter::keyword&lt; tag::rolling_window_size &gt; const</type><purpose><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__window_1a0b57262bb7a211ba7ab6bdb92e436559">tag::rolling_window::window_size</link> named parameter </purpose></data-member>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.rolling__mean_8hpp" name="boost/accumulators/statistics/rolling_mean.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1rolling__mean_07immediate_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::rolling_mean(immediate)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1rolling__mean_07immediate_08_4_1a41a5c5dcc50a40cc794bbc5a8d6c6a11" name="type"><type><classname>tag::immediate_rolling_mean</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1rolling__mean_07lazy_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::rolling_mean(lazy)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1rolling__mean_07lazy_08_4_1ae6a6bacffcae8d549192612668567868" name="type"><type><classname>tag::lazy_rolling_mean</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1immediate__rolling__mean_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::immediate_rolling_mean</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::rolling_mean &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1lazy__rolling__mean_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::lazy_rolling_mean</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::rolling_mean &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ae4d7ab890651ae8c16aeb06bb937289f" name="lazy_rolling_mean"><type><classname>extractor</classname>&lt; <classname>tag::lazy_rolling_mean</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a811544486841b8c459b4e77970aae68f" name="immediate_rolling_mean"><type><classname>extractor</classname>&lt; <classname>tag::immediate_rolling_mean</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a4d03f8c63f0f333512b74715698176e9" name="rolling_mean"><type><classname>extractor</classname>&lt; <classname>tag::rolling_mean</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__mean__impl" name="immediate_rolling_mean_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__mean__impl_1a1edb6008459117c732ee7705e11142c6" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__mean__impl_1a73dccaf4dae3edeac2310b6a375fdc3c"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__mean__impl_1a762f4c8346a6781e7a1fe6e0eb2ebea9" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__mean__impl_1a630ad059975aa77985b43ae6465deb8a" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name=""><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__mean__impl_1acdd2c5c754dbb53547b31484f93aa607" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__rolling__mean__impl" name="lazy_rolling_mean_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__rolling__mean__impl_1a0eb2ee8db24043104f7c99ffadc8af1f" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t, void, void &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__rolling__mean__impl_1a5da8943343512f1d3b51c8d921d73280"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__rolling__mean__impl_1a472a9aae2c97412f9e6f144240fce084" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__rolling__mean__impl_1ad592e654f01c722c3e209700fe08b923" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1immediate__rolling__mean" name="immediate_rolling_mean"><inherit access="public">boost::accumulators::depends_on&lt; rolling_window_plus1, rolling_count &gt;</inherit><data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1immediate__rolling__mean_1a37789a1ec341cd6a0ffcab844b46476a" name="window_size" specifiers="static"><type>boost::parameter::keyword&lt; tag::rolling_window_size &gt; const</type><purpose><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__window_1a0b57262bb7a211ba7ab6bdb92e436559">tag::rolling_window::window_size</link> named parameter </purpose></data-member>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1lazy__rolling__mean" name="lazy_rolling_mean"><inherit access="public">boost::accumulators::depends_on&lt; rolling_sum, rolling_count &gt;</inherit><data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1lazy__rolling__mean_1a13be654c95b031ac57c75e59ac8181f3" name="window_size" specifiers="static"><type>boost::parameter::keyword&lt; tag::rolling_window_size &gt; const</type><purpose><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__window_1a0b57262bb7a211ba7ab6bdb92e436559">tag::rolling_window::window_size</link> named parameter </purpose></data-member>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__mean" name="rolling_mean"><inherit access="public">boost::accumulators::tag::immediate_rolling_mean</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.rolling__moment_8hpp" name="boost/accumulators/statistics/rolling_moment.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__moment__impl" name="rolling_moment_impl"><template>
      <template-type-parameter name="N"/>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__moment__impl_1ae9a6641ef68638cd51af2bdb0b89f419" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t, void, void &gt;::result_type</type></typedef>
<method-group name="public member functions">
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__moment__impl_1a5e8413f14072d4dc714bfd33af86191e" name="BOOST_MPL_ASSERT_RELATION"><type/><parameter name=""><paramtype>N::value</paramtype></parameter><parameter name=""><paramtype>0</paramtype></parameter></method>
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__moment__impl_1ab67ef5321ec6358f04ef340e2b45ecd7"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__moment__impl_1a8287a9827197003e5c35447e39658f77" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__moment__impl_1aa8bcc10d3d1aefa5bda7b8c6eebf664f" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__moment__impl_1a65fd3c7dff2530744acfa14ecee0ead0" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__moment" name="rolling_moment"><template>
      <template-nontype-parameter name="N"><type>int</type></template-nontype-parameter>
    </template><inherit access="public">boost::accumulators::depends_on&lt; rolling_window_plus1, rolling_count &gt;</inherit><data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__moment_1ab31688551b1c8da394122b61da9ced29" name="window_size" specifiers="static"><type>boost::parameter::keyword&lt; tag::rolling_window_size &gt; const</type><purpose><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__window_1a0b57262bb7a211ba7ab6bdb92e436559">tag::rolling_window::window_size</link> named parameter </purpose></data-member>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.rolling__sum_8hpp" name="boost/accumulators/statistics/rolling_sum.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a8f8004f2f5fe6d9eed92ea43994561b9" name="rolling_sum"><type><classname>extractor</classname>&lt; <classname>tag::rolling_sum</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__sum__impl" name="rolling_sum_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__sum__impl_1a937c6e7a27663e936703a6956e21db98" name="result_type"><type>Sample</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__sum__impl_1ab9359bcf41a7717c199437e6a3c670f2"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__sum__impl_1af058ef56445dffed0b8e76f0cc113478" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__sum__impl_1a60ba8f89ce131916f3b132b973e4e740" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name=""><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__sum__impl_1ab5432ba86a010df00b8b78c1813338fd" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__sum" name="rolling_sum"><inherit access="public">boost::accumulators::depends_on&lt; rolling_window_plus1 &gt;</inherit><data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__sum_1a0e3824f74379d832d8134735503cf72d" name="window_size" specifiers="static"><type>boost::parameter::keyword&lt; tag::rolling_window_size &gt; const</type><purpose><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__window_1a0b57262bb7a211ba7ab6bdb92e436559">tag::rolling_window::window_size</link> named parameter </purpose></data-member>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.rolling__variance_8hpp" name="boost/accumulators/statistics/rolling_variance.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1rolling__variance_07immediate_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::rolling_variance(immediate)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1rolling__variance_07immediate_08_4_1ac5aa057963e0a144fc810b5e64e18dd7" name="type"><type><classname>tag::immediate_rolling_variance</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1rolling__variance_07lazy_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::rolling_variance(lazy)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1rolling__variance_07lazy_08_4_1a9ee29613eaf97b6f381234d9fb27dff9" name="type"><type><classname>tag::lazy_rolling_variance</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1immediate__rolling__variance_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::immediate_rolling_variance</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::rolling_variance &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1lazy__rolling__variance_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::lazy_rolling_variance</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::rolling_variance &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1af382b14b669dfa86fbe54f3df6a270f8" name="lazy_rolling_variance"><type><classname>extractor</classname>&lt; <classname>tag::lazy_rolling_variance</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a7f482e1a176038a42e07bb0b589eb122" name="immediate_rolling_variance"><type><classname>extractor</classname>&lt; <classname>tag::immediate_rolling_variance</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1af6f5cd23119ebdd7e3c5a92fda5c2b1e" name="rolling_variance"><type><classname>extractor</classname>&lt; <classname>tag::rolling_variance</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__variance__impl" name="immediate_rolling_variance_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Iterative calculation of the rolling variance. </purpose><description><para>Iterative calculation of sample variance <inlineequation><alt>$\sigma_n^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_54.png"/></imageobject><textobject role="tex"><phrase>$\sigma_n^2$</phrase></textobject></inlinemediaobject></inlineequation> is done as follows, see also <ulink url="http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance">http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance</ulink>. For a rolling window of size <inlineequation><alt>$N$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_71.png"/></imageobject><textobject role="tex"><phrase>$N$</phrase></textobject></inlinemediaobject></inlineequation>, for the first <inlineequation><alt>$N$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_71.png"/></imageobject><textobject role="tex"><phrase>$N$</phrase></textobject></inlinemediaobject></inlineequation> samples, the variance is computed according to the formula  <equation><title/><alt>\[
\sigma_n^2 = \frac{1}{n-1} \sum_{i = 1}^n (x_i - \mu_n)^2 = \frac{1}{n-1}M_{2,n},
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_76.png"/></imageobject><textobject role="tex"><phrase>\[
\sigma_n^2 = \frac{1}{n-1} \sum_{i = 1}^n (x_i - \mu_n)^2 = \frac{1}{n-1}M_{2,n},
\]</phrase></textobject></mediaobject></equation> where the sum of squares <inlineequation><alt>$M_{2,n}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_77.png"/></imageobject><textobject role="tex"><phrase>$M_{2,n}$</phrase></textobject></inlinemediaobject></inlineequation> can be recursively computed as:  <equation><title/><alt>\[
M_{2,n} = \sum_{i = 1}^n (x_i - \mu_n)^2 = M_{2,n-1} + (x_n - \mu_n)(x_n - \mu_{n-1}),
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_78.png"/></imageobject><textobject role="tex"><phrase>\[
M_{2,n} = \sum_{i = 1}^n (x_i - \mu_n)^2 = M_{2,n-1} + (x_n - \mu_n)(x_n - \mu_{n-1}),
\]</phrase></textobject></mediaobject></equation> and the estimate of the sample mean as:  <equation><title/><alt>\[
\mu_n = \frac{1}{n} \sum_{i = 1}^n x_i = \mu_{n-1} + \frac{1}{n}(x_n - \mu_{n-1}).
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_79.png"/></imageobject><textobject role="tex"><phrase>\[
\mu_n = \frac{1}{n} \sum_{i = 1}^n x_i = \mu_{n-1} + \frac{1}{n}(x_n - \mu_{n-1}).
\]</phrase></textobject></mediaobject></equation> For further samples, when the rolling window is fully filled with data, one has to take into account that the oldest sample <inlineequation><alt>$x_{n-N}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_80.png"/></imageobject><textobject role="tex"><phrase>$x_{n-N}$</phrase></textobject></inlinemediaobject></inlineequation> is dropped from the window. The sample variance over the window now becomes:  <equation><title/><alt>\[
\sigma_n^2 = \frac{1}{N-1} \sum_{i = n-N+1}^n (x_i - \mu_n)^2 = \frac{1}{n-1}M_{2,n},
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_81.png"/></imageobject><textobject role="tex"><phrase>\[
\sigma_n^2 = \frac{1}{N-1} \sum_{i = n-N+1}^n (x_i - \mu_n)^2 = \frac{1}{n-1}M_{2,n},
\]</phrase></textobject></mediaobject></equation> where the sum of squares <inlineequation><alt>$M_{2,n}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_77.png"/></imageobject><textobject role="tex"><phrase>$M_{2,n}$</phrase></textobject></inlinemediaobject></inlineequation> now equals:  <equation><title/><alt>\[
M_{2,n} = \sum_{i = n-N+1}^n (x_i - \mu_n)^2 = M_{2,n-1} + (x_n - \mu_n)(x_n - \mu_{n-1}) - (x_{n-N} - \mu_n)(x_{n-N} - \mu_{n-1}),
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_82.png"/></imageobject><textobject role="tex"><phrase>\[
M_{2,n} = \sum_{i = n-N+1}^n (x_i - \mu_n)^2 = M_{2,n-1} + (x_n - \mu_n)(x_n - \mu_{n-1}) - (x_{n-N} - \mu_n)(x_{n-N} - \mu_{n-1}),
\]</phrase></textobject></mediaobject></equation> and the estimated mean is:  <equation><title/><alt>\[
\mu_n = \frac{1}{N} \sum_{i = n-N+1}^n x_i = \mu_{n-1} + \frac{1}{n}(x_n - x_{n-N}).
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_83.png"/></imageobject><textobject role="tex"><phrase>\[
\mu_n = \frac{1}{N} \sum_{i = n-N+1}^n x_i = \mu_{n-1} + \frac{1}{n}(x_n - x_{n-N}).
\]</phrase></textobject></mediaobject></equation></para><para>Note that the sample variance is not defined for <inlineequation><alt>$n &lt;= 1$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_8.png"/></imageobject><textobject role="tex"><phrase>$n &lt;= 1$</phrase></textobject></inlinemediaobject></inlineequation>. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__variance__impl_1abd489038a5b6eb12c294485934ac2e94" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__variance__impl_1a391e11b844c6e468c1754e871e233da9"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__variance__impl_1ade7d101ceb277eb1aa041f9b680dc078" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__variance__impl_1acd87ca42619ff4b5d67d5e26b377187b" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__variance__impl_1a682659a54fdb7624ba029a4fec1c57a6" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
<method-group name="private member functions">
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__variance__impl_1ac641e974169e2229a6e11d51b8a64bd8" name="prevent_underflow"><type>void</type><template>
          <template-type-parameter name="T"/>
        </template><parameter name="non_negative_number"><paramtype>T &amp;</paramtype></parameter><parameter name=""><paramtype>typename boost::enable_if&lt; boost::is_arithmetic&lt; T &gt;, T &gt;::type *</paramtype><default>0</default></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__rolling__variance__impl_1a5907699c49ba2e08af771ebf1e89d2bd" name="prevent_underflow"><type>void</type><template>
          <template-type-parameter name="T"/>
        </template><parameter name="non_arithmetic_quantity"><paramtype>T &amp;</paramtype></parameter><parameter name=""><paramtype>typename boost::disable_if&lt; boost::is_arithmetic&lt; T &gt;, T &gt;::type *</paramtype><default>0</default></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__rolling__variance__impl" name="lazy_rolling_variance_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Immediate (lazy) calculation of the rolling variance. </purpose><description><para>Calculation of sample variance <inlineequation><alt>$\sigma_n^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_54.png"/></imageobject><textobject role="tex"><phrase>$\sigma_n^2$</phrase></textobject></inlinemediaobject></inlineequation> is done as follows, see also <ulink url="http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance">http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance</ulink>. For a rolling window of size <inlineequation><alt>$N$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_71.png"/></imageobject><textobject role="tex"><phrase>$N$</phrase></textobject></inlinemediaobject></inlineequation>, when <inlineequation><alt>$n &lt;= N$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_72.png"/></imageobject><textobject role="tex"><phrase>$n &lt;= N$</phrase></textobject></inlinemediaobject></inlineequation>, the variance is computed according to the formula  <equation><title/><alt>\[
\sigma_n^2 = \frac{1}{n-1} \sum_{i = 1}^n (x_i - \mu_n)^2.
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_73.png"/></imageobject><textobject role="tex"><phrase>\[
\sigma_n^2 = \frac{1}{n-1} \sum_{i = 1}^n (x_i - \mu_n)^2.
\]</phrase></textobject></mediaobject></equation> When <inlineequation><alt>$n &gt; N$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_74.png"/></imageobject><textobject role="tex"><phrase>$n &gt; N$</phrase></textobject></inlinemediaobject></inlineequation>, the sample variance over the window becomes:  <equation><title/><alt>\[
\sigma_n^2 = \frac{1}{N-1} \sum_{i = n-N+1}^n (x_i - \mu_n)^2.
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_75.png"/></imageobject><textobject role="tex"><phrase>\[
\sigma_n^2 = \frac{1}{N-1} \sum_{i = n-N+1}^n (x_i - \mu_n)^2.
\]</phrase></textobject></mediaobject></equation> </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__rolling__variance__impl_1a31609694ff31a45fe4c168c8f5a8423d" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t, void, void &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__rolling__variance__impl_1aa245a3421a2a7027577664d9f60433b8"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__rolling__variance__impl_1a5dff718c234b1c1218db90bd00f9e977" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__rolling__variance__impl_1ad32ba5b188c5aa3e269482ee584d27a0" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1immediate__rolling__variance" name="immediate_rolling_variance"><inherit access="public">boost::accumulators::depends_on&lt; rolling_window_plus1, rolling_count, immediate_rolling_mean &gt;</inherit><data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1immediate__rolling__variance_1abbe7c9b08d3b48fe1afe34e725995f09" name="window_size" specifiers="static"><type>boost::parameter::keyword&lt; tag::rolling_window_size &gt; const</type><purpose><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__window_1a0b57262bb7a211ba7ab6bdb92e436559">tag::rolling_window::window_size</link> named parameter </purpose></data-member>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1lazy__rolling__variance" name="lazy_rolling_variance"><inherit access="public">boost::accumulators::depends_on&lt; rolling_count, rolling_mean, rolling_moment&lt; 2 &gt; &gt;</inherit><data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1lazy__rolling__variance_1ab2cc3a780aab65d5bb38591ac278e036" name="window_size" specifiers="static"><type>boost::parameter::keyword&lt; tag::rolling_window_size &gt; const</type><purpose><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__window_1a0b57262bb7a211ba7ab6bdb92e436559">tag::rolling_window::window_size</link> named parameter </purpose></data-member>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__variance" name="rolling_variance"><inherit access="public">boost::accumulators::tag::immediate_rolling_variance</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.rolling__window_8hpp" name="boost/accumulators/statistics/rolling_window.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a5fbd06e44958acd25787652ac247585c" name="rolling_window_plus1"><type><classname>extractor</classname>&lt; <classname>tag::rolling_window_plus1</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a3e03376985fd1d9bde9e758ab8666ceb" name="rolling_window"><type><classname>extractor</classname>&lt; <classname>tag::rolling_window</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__impl" name="rolling_window_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__impl_1a095fcc6dab1c86e6e2092a01ff49c640" name="const_iterator"><type>circular_buffer&lt; Sample &gt;::const_iterator</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__impl_1a464af3dccda1e34b161ae6aae560606e" name="result_type"><type>iterator_range&lt; const_iterator &gt;</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__impl_1a048a95f3bfdfdb047eb670597f33a030"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__impl_1af404a61957dd3aac3c8baa2738779c42" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__impl_1a3590c1b33ef40ed92925320be443326b" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__plus1__impl" name="rolling_window_plus1_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__plus1__impl_1a8b0e1aea347a0b94b633f02eccfe5894" name="const_iterator"><type>circular_buffer&lt; Sample &gt;::const_iterator</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__plus1__impl_1a0e15e37db23746a2d48fe467249785bb" name="result_type"><type>iterator_range&lt; const_iterator &gt;</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__plus1__impl_1a893def86033598050ddf99ccd9c8c62b"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__plus1__impl_1a5fec825ebb5b1f862b10b62467de2338"><parameter name="that"><paramtype><classname>rolling_window_plus1_impl</classname> const &amp;</paramtype></parameter></constructor>
<copy-assignment id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__plus1__impl_1a6795ec95c71331fdddcbbc917dec46e9"><type><classname>rolling_window_plus1_impl</classname> &amp;</type><parameter name="that"><paramtype><classname>rolling_window_plus1_impl</classname> const &amp;</paramtype></parameter></copy-assignment>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__plus1__impl_1a5244bafc4f753a3cb3d864464dc79bff" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__plus1__impl_1ab6348c20090e690a110bcb7a3c4cf630" name="full" cv="const"><type>bool</type></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__plus1__impl_1aad3a85e71df780cb9d3c799767b1144d" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__window__plus1__impl_1acdae8086ad618852132d4fe322afe196" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct><function id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1impl_1ae8753bf6763d41a000ab3d3cd7988d10" name="is_rolling_window_plus1_full"><type>bool</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></function>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__window" name="rolling_window"><inherit access="public">boost::accumulators::depends_on&lt; rolling_window_plus1 &gt;</inherit><data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__window_1a0b57262bb7a211ba7ab6bdb92e436559" name="window_size" specifiers="static"><type>boost::parameter::keyword&lt; tag::rolling_window_size &gt; const</type><purpose>tag::rolling_window::size named parameter </purpose></data-member>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__window__plus1" name="rolling_window_plus1"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit><inherit access="public">tag::rolling_window_size</inherit><data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1rolling__window__plus1_1a4469750ce9dd0ba8e974e8f2d30ff435" name="window_size" specifiers="static"><type>boost::parameter::keyword&lt; tag::rolling_window_size &gt; const</type><purpose>tag::rolling_window::size named parameter </purpose></data-member>
</struct></namespace>
</namespace>
<namespace name="serialization">
<function id="doxygen.statistics_library_reference.namespaceboost_1_1serialization_1afcc650cb1ae35a5e1894f5941372dd67" name="save"><type>void</type><template>
          <template-type-parameter name="Archive"/>
          <template-type-parameter name="T"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="b"><paramtype>const circular_buffer&lt; T &gt; &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></function>
<function id="doxygen.statistics_library_reference.namespaceboost_1_1serialization_1aacf5b34d1e5950bb870d490747b8b25d" name="load"><type>void</type><template>
          <template-type-parameter name="Archive"/>
          <template-type-parameter name="T"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="b"><paramtype>circular_buffer&lt; T &gt; &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></function>
<function id="doxygen.statistics_library_reference.namespaceboost_1_1serialization_1a7d3e000b0ff30d9e11abda240fdf6703" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
          <template-type-parameter name="T"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="b"><paramtype>circular_buffer&lt; T &gt; &amp;</paramtype></parameter><parameter name="version"><paramtype>const unsigned int</paramtype></parameter></function>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.skewness_8hpp" name="boost/accumulators/statistics/skewness.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1skewness_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::skewness</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1skewness_01_4_1a8c56a3c7bce77400093bd3f15ddfcd34" name="type"><type><classname>tag::weighted_skewness</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__skewness_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_skewness</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::skewness &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ad55ec5e074546d51dffee480fbd9169f" name="skewness"><type><classname>extractor</classname>&lt; <classname>tag::skewness</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1skewness__impl" name="skewness_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Skewness estimation. </purpose><description><para>The skewness of a sample distribution is defined as the ratio of the 3rd central moment and the <inlineequation><alt>$ 3/2 $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_27.png"/></imageobject><textobject role="tex"><phrase>$ 3/2 $</phrase></textobject></inlinemediaobject></inlineequation>-th power of the 2nd central moment (the variance) of the samples 3. The skewness can also be expressed by the simple moments:</para><para><equation><title/><alt>\[
    \hat{g}_1 =
        \frac
        {\widehat{m}_n^{(3)}-3\widehat{m}_n^{(2)}\hat{\mu}_n+2\hat{\mu}_n^3}
        {\left(\widehat{m}_n^{(2)} - \hat{\mu}_n^{2}\right)^{3/2}}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_28.png"/></imageobject><textobject role="tex"><phrase>\[
    \hat{g}_1 =
        \frac
        {\widehat{m}_n^{(3)}-3\widehat{m}_n^{(2)}\hat{\mu}_n+2\hat{\mu}_n^3}
        {\left(\widehat{m}_n^{(2)} - \hat{\mu}_n^{2}\right)^{3/2}}
\]</phrase></textobject></mediaobject></equation></para><para>where <inlineequation><alt>$ \widehat{m}_n^{(i)} $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_29.png"/></imageobject><textobject role="tex"><phrase>$ \widehat{m}_n^{(i)} $</phrase></textobject></inlinemediaobject></inlineequation> are the <inlineequation><alt>$ i $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_30.png"/></imageobject><textobject role="tex"><phrase>$ i $</phrase></textobject></inlinemediaobject></inlineequation>-th moment and <inlineequation><alt>$ \hat{\mu}_n $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_31.png"/></imageobject><textobject role="tex"><phrase>$ \hat{\mu}_n $</phrase></textobject></inlinemediaobject></inlineequation> the mean (first moment) of the <inlineequation><alt>$ n $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_32.png"/></imageobject><textobject role="tex"><phrase>$ n $</phrase></textobject></inlinemediaobject></inlineequation> samples. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1skewness__impl_1a48dad56c1173548124a304b777b2e0a7" name="result_type"><type>numeric::functional::fdiv&lt; Sample, Sample &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1skewness__impl_1aef121d2ecf5aad78f35789a34e72444f"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1skewness__impl_1acf9b22577c0fe7b26dbb46d09a901524" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1skewness__impl_1a001f0ae8e1feffb917cfd15d29512058" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1skewness" name="skewness"><inherit access="public">boost::accumulators::depends_on&lt; mean, moment&lt; 2 &gt;, moment&lt; 3 &gt; &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.stats_8hpp" name="boost/accumulators/statistics/stats.hpp">
<para>Contains the stats&lt;&gt; template. </para><namespace name="boost">
<namespace name="accumulators">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1stats" name="stats"><template>
      <template-type-parameter name="Stat1"/>
      <template-type-parameter name="Stat2"/>
      <template-nontype-parameter name=""><type>...</type></template-nontype-parameter>
    </template><inherit access="public">mpl::vector&lt; Stat1, Stat2,... &gt;</inherit><purpose>An MPL sequence of statistics. </purpose></struct></namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.sum_8hpp" name="boost/accumulators/statistics/sum.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1sum_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::sum</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1sum_01_4_1a5822e7f638f500f1e3827108d7213b6f" name="type"><type><classname>tag::weighted_sum</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1sum__of__variates_3_01VariateType_00_01VariateTag_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::sum_of_variates&lt; VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::abstract_sum_of_variates &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__sum_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_sum</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::sum &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a745fb5975514fd4f3e2ff6265684b8ef" name="sum"><type><classname>extractor</classname>&lt; <classname>tag::sum</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a8b4da520610978ecf87f668167363839" name="sum_of_weights"><type><classname>extractor</classname>&lt; <classname>tag::sum_of_weights</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a8d0a258ea13ded32aa4ed7a821881547" name="sum_of_variates"><type><classname>extractor</classname>&lt; <classname>tag::abstract_sum_of_variates</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1sum__impl" name="sum_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1sum__impl_1a5272fe7f7fd24c7232771e8e017ed67b" name="result_type"><type>Sample</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1sum__impl_1a2ac36292967319982e10fe123371dfe0"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1sum__impl_1ad14088e0e95e02dd391fac73ae9f99ed" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1sum__impl_1a49bbf5eaeedc989c7bc951dd142601f7" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1sum__impl_1a8c222d66f00cf3edd798f43715cb4b60" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1abstract__sum__of__variates" name="abstract_sum_of_variates"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1sum" name="sum"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1sum__of__variates" name="sum_of_variates"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1sum__of__weights" name="sum_of_weights"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1sum__of__weights_1a317f93219972b5c2ef2e4d9da9af64da" name="is_weight_accumulator"><type>mpl::true_</type></typedef>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.sum__kahan_8hpp" name="boost/accumulators/statistics/sum_kahan.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1sum_07kahan_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::sum(kahan)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1sum_07kahan_08_4_1ab4e34298e3a225193e09ab33271be1cd" name="type"><type><classname>tag::sum_kahan</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1sum__of__weights_07kahan_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::sum_of_weights(kahan)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1sum__of__weights_07kahan_08_4_1aceb8143816493cb14f599afd5adde7ba" name="type"><type><classname>tag::sum_of_weights_kahan</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1sum__kahan_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::sum_kahan</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1sum__kahan_01_4_1a06f7a6d35a3b5e8c8792a3028956db2f" name="type"><type><classname>tag::weighted_sum_kahan</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1sum__kahan_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::sum_kahan</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::sum &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1sum__of__variates__kahan_3_01VariateType_00_01VariateTag_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::sum_of_variates_kahan&lt; VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::abstract_sum_of_variates &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1sum__of__weights__kahan_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::sum_of_weights_kahan</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::sum_of_weights &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__sum__kahan_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_sum_kahan</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::sum &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ac645056c5d46020ca815555b56422933" name="sum_kahan"><type><classname>extractor</classname>&lt; <classname>tag::sum_kahan</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a7afbe4689377980b1695181413ff53f4" name="sum_of_weights_kahan"><type><classname>extractor</classname>&lt; <classname>tag::sum_of_weights_kahan</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a3780dfdb14e7074475429ba9436ac571" name="sum_of_variates_kahan"><type><classname>extractor</classname>&lt; <classname>tag::abstract_sum_of_variates</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1sum__kahan__impl" name="sum_kahan_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1sum__kahan__impl_1a9d8db02a7a3a783ee3c2c9b08184f8c5" name="result_type"><type>Sample</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1sum__kahan__impl_1a495cdff374947a6fe232e83e1276c9dd"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter><purpose>Kahan summation algorithm. </purpose><description><para>The Kahan summation algorithm reduces the numerical error obtained with standard sequential sum. </para></description></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1sum__kahan__impl_1ac27c6d5f52bc87f37c55be068ba3492e" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1sum__kahan__impl_1a375b5638bb43a36ce30711cf96026c06" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1sum__kahan__impl_1a5f3311253c8bdc9654af3f4565dd9d15" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1sum__kahan" name="sum_kahan"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1sum__of__variates__kahan" name="sum_of_variates_kahan"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1sum__of__weights__kahan" name="sum_of_weights_kahan"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1sum__of__weights__kahan_1ae5f9501f4055ed07d52d3ed54a6be2ab" name="is_weight_accumulator"><type>mpl::true_</type></typedef>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.tail_8hpp" name="boost/accumulators/statistics/tail.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1tail_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::tail&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::abstract_tail &gt;</inherit></struct-specialization><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tail__cache__size__named__arg" name="tail_cache_size_named_arg"><template>
      <template-type-parameter name="T"/>
    </template></struct><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tail__cache__size__named__arg_3_01left_01_4" name="tail_cache_size_named_arg"><template>
    </template><specialization><template-arg>left</template-arg></specialization><inherit access="public">tag::left_tail_cache_size</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tail__cache__size__named__arg_3_01right_01_4" name="tail_cache_size_named_arg"><template>
    </template><specialization><template-arg>right</template-arg></specialization><inherit access="public">tag::right_tail_cache_size</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1acc307ed181f09dfa2a1e8678f6e73d38" name="tail"><type><classname>extractor</classname>&lt; <classname>tag::abstract_tail</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl" name="tail_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1_1indirect__cmp" name="indirect_cmp"><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1_1indirect__cmp_1a62d67aae848fa848e37ab99de42ebfc6" name="first_argument_type"><type>std::size_t</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1_1indirect__cmp_1a092df9f7ea5a064c89fffe6743020089" name="second_argument_type"><type>std::size_t</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1_1indirect__cmp_1a34f0c94df79a1a6cadeb47027ba5245f" name="result_type"><type>bool</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1_1indirect__cmp_1a176ddb0770a14b7bb47a27015dc153f6"><parameter name="s"><paramtype>std::vector&lt; Sample &gt; const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1_1indirect__cmp_1a669a1f8c6b5ffec3dd4ceda93c60aca5" name="operator()" cv="const"><type>bool</type><parameter name="left"><paramtype>std::size_t</paramtype></parameter><parameter name="right"><paramtype>std::size_t</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1_1is__tail__variate" name="is_tail_variate"><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1_1is__tail__variate_1_1apply" name="apply"><template>
      <template-type-parameter name="T"/>
    </template></struct></struct><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1a43ba9cda28ae584f6bea9e99356faf24" name="predicate_type"><type>mpl::if_&lt; is_same&lt; LeftRight, <classname>right</classname> &gt;, numeric::functional::greater&lt; Sampleconst, Sampleconst &gt;, numeric::functional::less&lt; Sampleconst, Sampleconst &gt; &gt;::type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1aed70a777b60012a7f38ddee317bc2ebe" name="result_type"><type><emphasis>unspecified</emphasis></type></typedef>
<method-group name="public member functions">
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1aac84f90c5a84c832f88599a6e562bd4c" name="BOOST_MPL_ASSERT"><type/><parameter name=""><paramtype>(mpl::or_&lt; is_same&lt; LeftRight, <classname>right</classname> &gt;, is_same&lt; LeftRight, <classname>left</classname> &gt; &gt;)</paramtype></parameter></method>
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1a513faf9536c9d6e46414bc758c19c99f"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1a16fa7d4e515ce5e72eacd9ed8dfac32a"><parameter name="that"><paramtype><classname>tail_impl</classname> const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1a8677d4a832be5cd11d3e9cd24ae80203" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1a12a0220256c9f66071af046a2f4ba534" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1ad6a1f97c0309ba947428984781f7debc" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
<method-group name="private member functions">
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__impl_1a18935c54c59186ad65aa8e92d4fd19a3" name="assign"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter><parameter name="index"><paramtype>std::size_t</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1abstract__tail" name="abstract_tail"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1tail" name="tail"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit><inherit access="public">boost::accumulators::tail_cache_size_named_arg&lt; LeftRight &gt;</inherit><data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1tail_1ad77228c6a5d16f23f3e83dc6c8493f4e" name="cache_size" specifiers="static"><type>boost::parameter::keyword&lt; <classname>tail_cache_size_named_arg</classname>&lt; LeftRight &gt; &gt; const</type><purpose><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1tail_1ad77228c6a5d16f23f3e83dc6c8493f4e">tag::tail&lt;LeftRight&gt;::cache_size</link> named parameter </purpose></data-member>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.tail__mean_8hpp" name="boost/accumulators/statistics/tail_mean.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1non__coherent__tail__mean_3_01LeftRight_01_4_01_4" name="as_weighted_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::non_coherent_tail_mean&lt; LeftRight &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1non__coherent__tail__mean_3_01LeftRight_01_4_01_4_1acb312ef05501e145419b5c24aa708802" name="type"><type><classname>tag::non_coherent_weighted_tail_mean</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1coherent__tail__mean_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::coherent_tail_mean&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::tail_mean &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1non__coherent__tail__mean_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::non_coherent_tail_mean&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::abstract_non_coherent_tail_mean &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1non__coherent__weighted__tail__mean_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::non_coherent_weighted_tail_mean&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::non_coherent_tail_mean&lt; LeftRight &gt; &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a8cf427126fa6cc281818a6ec2a085533" name="non_coherent_tail_mean"><type><classname>extractor</classname>&lt; <classname>tag::abstract_non_coherent_tail_mean</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ac41b1c8871f42997467e4c1f8cd3ace8" name="coherent_tail_mean"><type><classname>extractor</classname>&lt; <classname>tag::tail_mean</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1coherent__tail__mean__impl" name="coherent_tail_mean_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Estimation of the coherent tail mean based on order statistics (for both left and right tails) </purpose><description><para>The coherent tail mean <inlineequation><alt>$\widehat{CTM}_{n,\alpha}(X)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_66.png"/></imageobject><textobject role="tex"><phrase>$\widehat{CTM}_{n,\alpha}(X)$</phrase></textobject></inlinemediaobject></inlineequation> is equal to the non-coherent tail mean <inlineequation><alt>$\widehat{NCTM}_{n,\alpha}(X)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_14.png"/></imageobject><textobject role="tex"><phrase>$\widehat{NCTM}_{n,\alpha}(X)$</phrase></textobject></inlinemediaobject></inlineequation> plus a correction term that ensures coherence in case of non-continuous distributions.</para><para><equation><title/><alt>\[
    \widehat{CTM}_{n,\alpha}^{\mathrm{right}}(X) = \widehat{NCTM}_{n,\alpha}^{\mathrm{right}}(X) +
    \frac{1}{\lceil n(1-\alpha)\rceil}\hat{q}_{n,\alpha}(X)\left(1 - \alpha - \frac{1}{n}\lceil n(1-\alpha)\rceil \right)
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_67.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{CTM}_{n,\alpha}^{\mathrm{right}}(X) = \widehat{NCTM}_{n,\alpha}^{\mathrm{right}}(X) +
    \frac{1}{\lceil n(1-\alpha)\rceil}\hat{q}_{n,\alpha}(X)\left(1 - \alpha - \frac{1}{n}\lceil n(1-\alpha)\rceil \right)
\]</phrase></textobject></mediaobject></equation></para><para><equation><title/><alt>\[
    \widehat{CTM}_{n,\alpha}^{\mathrm{left}}(X) = \widehat{NCTM}_{n,\alpha}^{\mathrm{left}}(X) +
    \frac{1}{\lceil n\alpha\rceil}\hat{q}_{n,\alpha}(X)\left(\alpha - \frac{1}{n}\lceil n\alpha\rceil \right)
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_68.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{CTM}_{n,\alpha}^{\mathrm{left}}(X) = \widehat{NCTM}_{n,\alpha}^{\mathrm{left}}(X) +
    \frac{1}{\lceil n\alpha\rceil}\hat{q}_{n,\alpha}(X)\left(\alpha - \frac{1}{n}\lceil n\alpha\rceil \right)
\]</phrase></textobject></mediaobject></equation> </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1coherent__tail__mean__impl_1a590a23814a434794fda25d74d8054b51" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1coherent__tail__mean__impl_1a20cc759aac0af9aff38d761a518e0bbe" name="result_type"><type>float_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1coherent__tail__mean__impl_1a825c4041c685a27afde2cada4739d4a1"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1coherent__tail__mean__impl_1a7f51a73ad421219fcc5c5a295b93678a" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1coherent__tail__mean__impl_1ae4a9d8b8da85013dadd5e017efed0611" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1non__coherent__tail__mean__impl" name="non_coherent_tail_mean_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Estimation of the (non-coherent) tail mean based on order statistics (for both left and right tails) </purpose><description><para>An estimation of the non-coherent tail mean <inlineequation><alt>$\widehat{NCTM}_{n,\alpha}(X)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_14.png"/></imageobject><textobject role="tex"><phrase>$\widehat{NCTM}_{n,\alpha}(X)$</phrase></textobject></inlinemediaobject></inlineequation> is given by the mean of the <inlineequation><alt>$\lceil n\alpha\rceil$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_64.png"/></imageobject><textobject role="tex"><phrase>$\lceil n\alpha\rceil$</phrase></textobject></inlinemediaobject></inlineequation> smallest samples (left tail) or the mean of the <inlineequation><alt>$\lceil n(1-\alpha)\rceil$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_59.png"/></imageobject><textobject role="tex"><phrase>$\lceil n(1-\alpha)\rceil$</phrase></textobject></inlinemediaobject></inlineequation> largest samples (right tail), <inlineequation><alt>$n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_3.png"/></imageobject><textobject role="tex"><phrase>$n$</phrase></textobject></inlinemediaobject></inlineequation> being the total number of samples and <inlineequation><alt>$\alpha$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_20.png"/></imageobject><textobject role="tex"><phrase>$\alpha$</phrase></textobject></inlinemediaobject></inlineequation> the quantile level:</para><para><equation><title/><alt>\[
    \widehat{NCTM}_{n,\alpha}^{\mathrm{right}}(X) = \frac{1}{\lceil n(1-\alpha)\rceil} \sum_{i=\lceil \alpha n \rceil}^n X_{i:n}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_69.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{NCTM}_{n,\alpha}^{\mathrm{right}}(X) = \frac{1}{\lceil n(1-\alpha)\rceil} \sum_{i=\lceil \alpha n \rceil}^n X_{i:n}
\]</phrase></textobject></mediaobject></equation></para><para><equation><title/><alt>\[
    \widehat{NCTM}_{n,\alpha}^{\mathrm{left}}(X) = \frac{1}{\lceil n\alpha\rceil} \sum_{i=1}^{\lceil \alpha n \rceil} X_{i:n}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_70.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{NCTM}_{n,\alpha}^{\mathrm{left}}(X) = \frac{1}{\lceil n\alpha\rceil} \sum_{i=1}^{\lceil \alpha n \rceil} X_{i:n}
\]</phrase></textobject></mediaobject></equation></para><para>It thus requires the caching of at least the <inlineequation><alt>$\lceil n\alpha\rceil$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_64.png"/></imageobject><textobject role="tex"><phrase>$\lceil n\alpha\rceil$</phrase></textobject></inlinemediaobject></inlineequation> smallest or the <inlineequation><alt>$\lceil n(1-\alpha)\rceil$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_59.png"/></imageobject><textobject role="tex"><phrase>$\lceil n(1-\alpha)\rceil$</phrase></textobject></inlinemediaobject></inlineequation> largest samples.</para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1non__coherent__tail__mean__impl_1a27baf290acfc27ff2c6cbe84aeacf83f" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1non__coherent__tail__mean__impl_1a606d0365cd8eb5f1b7623c64d683d501" name="result_type"><type>float_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1non__coherent__tail__mean__impl_1a528ee76526438b1aecc7779d83754d24"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1non__coherent__tail__mean__impl_1a4bb605a6efaaba46060d4bbd2074e210" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1non__coherent__tail__mean__impl_1ad89df356bffd8659705c69d3da8d4c89" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1abstract__non__coherent__tail__mean" name="abstract_non_coherent_tail_mean"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1coherent__tail__mean" name="coherent_tail_mean"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count, quantile, non_coherent_tail_mean&lt; LeftRight &gt; &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1coherent__tail__mean_1ae1ed19dd2201d2f6672de322bbf71d70" name="impl"><type><classname>accumulators::impl::coherent_tail_mean_impl</classname>&lt; mpl::_1, LeftRight &gt;</type></typedef>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1non__coherent__tail__mean" name="non_coherent_tail_mean"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count, tail&lt; LeftRight &gt; &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1non__coherent__tail__mean_1a1844c16d96e1024438a3413a757e9d21" name="impl"><type><classname>accumulators::impl::non_coherent_tail_mean_impl</classname>&lt; mpl::_1, LeftRight &gt;</type></typedef>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.tail__quantile_8hpp" name="boost/accumulators/statistics/tail_quantile.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1tail__quantile_3_01LeftRight_01_4_01_4" name="as_weighted_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::tail_quantile&lt; LeftRight &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1tail__quantile_3_01LeftRight_01_4_01_4_1adeaea4f573d08abb0542f34e632e5f62" name="type"><type><classname>tag::weighted_tail_quantile</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1tail__quantile_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::tail_quantile&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::quantile &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__tail__quantile_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_tail_quantile&lt; LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::tail_quantile&lt; LeftRight &gt; &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a5488b882c6606551deeb0fd1e641ef7b" name="tail_quantile"><type><classname>extractor</classname>&lt; <classname>tag::quantile</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__quantile__impl" name="tail_quantile_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Tail quantile estimation based on order statistics (for both left and right tails) </purpose><description><para>The estimation of a tail quantile <inlineequation><alt>$\hat{q}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_19.png"/></imageobject><textobject role="tex"><phrase>$\hat{q}$</phrase></textobject></inlinemediaobject></inlineequation> with level <inlineequation><alt>$\alpha$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_20.png"/></imageobject><textobject role="tex"><phrase>$\alpha$</phrase></textobject></inlinemediaobject></inlineequation> based on order statistics requires the caching of at least the <inlineequation><alt>$\lceil n\alpha\rceil$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_64.png"/></imageobject><textobject role="tex"><phrase>$\lceil n\alpha\rceil$</phrase></textobject></inlinemediaobject></inlineequation> smallest or the <inlineequation><alt>$\lceil n(1-\alpha)\rceil$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_59.png"/></imageobject><textobject role="tex"><phrase>$\lceil n(1-\alpha)\rceil$</phrase></textobject></inlinemediaobject></inlineequation> largest samples, <inlineequation><alt>$n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_3.png"/></imageobject><textobject role="tex"><phrase>$n$</phrase></textobject></inlinemediaobject></inlineequation> being the total number of samples. The largest of the <inlineequation><alt>$\lceil n\alpha\rceil$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_64.png"/></imageobject><textobject role="tex"><phrase>$\lceil n\alpha\rceil$</phrase></textobject></inlinemediaobject></inlineequation> smallest samples or the smallest of the <inlineequation><alt>$\lceil n(1-\alpha)\rceil$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_59.png"/></imageobject><textobject role="tex"><phrase>$\lceil n(1-\alpha)\rceil$</phrase></textobject></inlinemediaobject></inlineequation> largest samples provides an estimate for the quantile:</para><para><equation><title/><alt>\[
    \hat{q}_{n,\alpha} = X_{\lceil \alpha n \rceil:n}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_65.png"/></imageobject><textobject role="tex"><phrase>\[
    \hat{q}_{n,\alpha} = X_{\lceil \alpha n \rceil:n}
\]</phrase></textobject></mediaobject></equation></para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__quantile__impl_1a6584ffcd339c62f8412e6c493f53c163" name="result_type"><type>Sample</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__quantile__impl_1aaa65a921f951b4989bc0c1ac1efa4490"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__quantile__impl_1a34e5bcad1e1f29bc83434d646a961be6" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__quantile__impl_1a4f281f7f978cb2aacba48298b5a97e6e" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1tail__quantile" name="tail_quantile"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count, tail&lt; LeftRight &gt; &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.tail__variate_8hpp" name="boost/accumulators/statistics/tail_variate.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1tail__variate_3_01VariateType_00_01VariateTag_00_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::tail_variate&lt; VariateType</template-arg><template-arg>VariateTag</template-arg><template-arg>LeftRight &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::abstract_tail_variate &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1tail__weights_3_01LeftRight_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::tail_weights&lt; LeftRight &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1tail__weights_3_01LeftRight_01_4_01_4_1a494ce77e0cbe12b0dd2b8faaaef51b70" name="type"><type><classname>tag::abstract_tail_weights</classname></type></typedef>
</struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a54d3885f9f7d1dcf73ed55b0527c6af1" name="tail_variate"><type><classname>extractor</classname>&lt; <classname>tag::abstract_tail_variate</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a4499b962904b3d3b17cf15f7b8d03655" name="tail_weights"><type><classname>extractor</classname>&lt; <classname>tag::abstract_tail_weights</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__impl" name="tail_variate_impl"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__impl_1a0327e24526bb54cdee81b308269d7a8e" name="result_type"><type><emphasis>unspecified</emphasis></type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__impl_1abc4dead20c6f18ff197971f4d9bcc404"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__impl_1a54b08b7703bf573cc74f40681f2797f2" name="assign"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter><parameter name="index"><paramtype>std::size_t</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__impl_1aad7f8b707e4d870de6903a9bee321157" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
</method-group>
<method-group name="private member functions">
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__impl_1ae93a259b72386c474f1d2acb4906fcb9" name="do_result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="TailRng"/>
        </template><parameter name="rng"><paramtype>TailRng const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__impl_1a0ae1d6ecdc166b79a7791492daa2694e" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1abstract__tail__variate" name="abstract_tail_variate"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1abstract__tail__weights" name="abstract_tail_weights"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1tail__variate" name="tail_variate"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; tail&lt; LeftRight &gt; &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1tail__weights" name="tail_weights"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; tail&lt; LeftRight &gt; &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.tail__variate__means_8hpp" name="boost/accumulators/statistics/tail_variate_means.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1tail__variate__means_3_01LeftRight_00_01Va7fb34cc185de150783b5ce9e65e834ee" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::tail_variate_means&lt; LeftRight</template-arg><template-arg>VariateType</template-arg><template-arg>VariateTag &gt;(absolute)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1tail__variate__means_3_01LeftRight_00_01Va7fb34cc185de150783b5ce9e65e834ee_1ab37668785fbaabe1a06c3bf7284e256f" name="type"><type><classname>tag::absolute_tail_variate_means</classname>&lt; LeftRight, VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1tail__variate__means_3_01LeftRight_00_01Va93bbc578abfa42c646a4551952f477fc" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::tail_variate_means&lt; LeftRight</template-arg><template-arg>VariateType</template-arg><template-arg>VariateTag &gt;(relative)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1tail__variate__means_3_01LeftRight_00_01Va93bbc578abfa42c646a4551952f477fc_1ae59211f6a064db9400559c82e015e996" name="type"><type><classname>tag::relative_tail_variate_means</classname>&lt; LeftRight, VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1absolute__tail__variate__means_3d071f41427a877d15ca7a8666b5c8bf4" name="as_weighted_feature"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::absolute_tail_variate_means&lt; LeftRight</template-arg><template-arg>VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1absolute__tail__variate__means_3d071f41427a877d15ca7a8666b5c8bf4_1ab0915b8a7ce1b6ab23e33d4301165204" name="type"><type><classname>tag::absolute_weighted_tail_variate_means</classname>&lt; LeftRight, VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1relative__tail__variate__means_320d8ec6589e81aaa6bd646e4e2515e13" name="as_weighted_feature"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::relative_tail_variate_means&lt; LeftRight</template-arg><template-arg>VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1relative__tail__variate__means_320d8ec6589e81aaa6bd646e4e2515e13_1a4dd45ca2f7a35156b321b3ce08c74669" name="type"><type><classname>tag::relative_weighted_tail_variate_means</classname>&lt; LeftRight, VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1absolute__tail__variate__means_3_01LeftRigf8bbdf54e7efe5d270b8a038320a5d64" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::absolute_tail_variate_means&lt; LeftRight</template-arg><template-arg>VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::abstract_absolute_tail_variate_means &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1absolute__weighted__tail__variate__means_30855bc39ff6c1ca4f1b4b22b83b8dd5b" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::absolute_weighted_tail_variate_means&lt; LeftRight</template-arg><template-arg>VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::absolute_tail_variate_means&lt; LeftRight, VariateType, VariateTag &gt; &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1relative__tail__variate__means_3_01LeftRiga14b5051c2f09240c14328a15369b27c" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::relative_tail_variate_means&lt; LeftRight</template-arg><template-arg>VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::abstract_relative_tail_variate_means &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1relative__weighted__tail__variate__means_3b7b5ee895219a5b1591865ffcc37ff54" name="feature_of"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::relative_weighted_tail_variate_means&lt; LeftRight</template-arg><template-arg>VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::relative_tail_variate_means&lt; LeftRight, VariateType, VariateTag &gt; &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ad4354646b8204188953dc97bb24a098b" name="tail_variate_means"><type><classname>extractor</classname>&lt; <classname>tag::abstract_absolute_tail_variate_means</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a9652eefd374b5994de039b43ff4aa1d2" name="relative_tail_variate_means"><type><classname>extractor</classname>&lt; <classname>tag::abstract_relative_tail_variate_means</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__means__impl" name="tail_variate_means_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Impl"/>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Estimation of the absolute and relative tail variate means (for both left and right tails) </purpose><description><para>For all <inlineequation><alt>$j$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_9.png"/></imageobject><textobject role="tex"><phrase>$j$</phrase></textobject></inlinemediaobject></inlineequation>-th variates associated to the <inlineequation><alt>$\lceil n(1-\alpha)\rceil$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_59.png"/></imageobject><textobject role="tex"><phrase>$\lceil n(1-\alpha)\rceil$</phrase></textobject></inlinemediaobject></inlineequation> largest samples (or the <inlineequation><alt>$\lceil n(1-\alpha)\rceil$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_59.png"/></imageobject><textobject role="tex"><phrase>$\lceil n(1-\alpha)\rceil$</phrase></textobject></inlinemediaobject></inlineequation> smallest samples in case of the left tail), the absolute tail means <inlineequation><alt>$\widehat{ATM}_{n,\alpha}(X, j)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_12.png"/></imageobject><textobject role="tex"><phrase>$\widehat{ATM}_{n,\alpha}(X, j)$</phrase></textobject></inlinemediaobject></inlineequation> are computed and returned as an iterator range. Alternatively, the relative tail means <inlineequation><alt>$\widehat{RTM}_{n,\alpha}(X, j)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_13.png"/></imageobject><textobject role="tex"><phrase>$\widehat{RTM}_{n,\alpha}(X, j)$</phrase></textobject></inlinemediaobject></inlineequation> are returned, which are the absolute tail means normalized with the (non-coherent) sample tail mean <inlineequation><alt>$\widehat{NCTM}_{n,\alpha}(X)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_14.png"/></imageobject><textobject role="tex"><phrase>$\widehat{NCTM}_{n,\alpha}(X)$</phrase></textobject></inlinemediaobject></inlineequation>.</para><para><equation><title/><alt>\[
    \widehat{ATM}_{n,\alpha}^{\mathrm{right}}(X, j) =
        \frac{1}{\lceil n(1-\alpha) \rceil}
        \sum_{i=\lceil \alpha n \rceil}^n \xi_{j,i}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_60.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{ATM}_{n,\alpha}^{\mathrm{right}}(X, j) =
        \frac{1}{\lceil n(1-\alpha) \rceil}
        \sum_{i=\lceil \alpha n \rceil}^n \xi_{j,i}
\]</phrase></textobject></mediaobject></equation></para><para><equation><title/><alt>\[
    \widehat{ATM}_{n,\alpha}^{\mathrm{left}}(X, j) =
        \frac{1}{\lceil n\alpha \rceil}
        \sum_{i=1}^{\lceil n\alpha \rceil} \xi_{j,i}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_61.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{ATM}_{n,\alpha}^{\mathrm{left}}(X, j) =
        \frac{1}{\lceil n\alpha \rceil}
        \sum_{i=1}^{\lceil n\alpha \rceil} \xi_{j,i}
\]</phrase></textobject></mediaobject></equation></para><para><equation><title/><alt>\[
    \widehat{RTM}_{n,\alpha}^{\mathrm{right}}(X, j) =
        \frac{\sum_{i=\lceil n\alpha \rceil}^n \xi_{j,i}}
    {\lceil n(1-\alpha)\rceil\widehat{NCTM}_{n,\alpha}^{\mathrm{right}}(X)}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_62.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{RTM}_{n,\alpha}^{\mathrm{right}}(X, j) =
        \frac{\sum_{i=\lceil n\alpha \rceil}^n \xi_{j,i}}
    {\lceil n(1-\alpha)\rceil\widehat{NCTM}_{n,\alpha}^{\mathrm{right}}(X)}
\]</phrase></textobject></mediaobject></equation></para><para><equation><title/><alt>\[
    \widehat{RTM}_{n,\alpha}^{\mathrm{left}}(X, j) =
        \frac{\sum_{i=1}^{\lceil n\alpha \rceil} \xi_{j,i}}
    {\lceil n\alpha\rceil\widehat{NCTM}_{n,\alpha}^{\mathrm{left}}(X)}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_63.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{RTM}_{n,\alpha}^{\mathrm{left}}(X, j) =
        \frac{\sum_{i=1}^{\lceil n\alpha \rceil} \xi_{j,i}}
    {\lceil n\alpha\rceil\widehat{NCTM}_{n,\alpha}^{\mathrm{left}}(X)}
\]</phrase></textobject></mediaobject></equation> </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__means__impl_1a82855a9d0f4babec7a944a129fc37c93" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__means__impl_1ad08c803a0383d881a3725ba44f915c1b" name="array_type"><type>std::vector&lt; float_type &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__means__impl_1acc0c025799642a2f18512e8060aea55c" name="result_type"><type>iterator_range&lt; typename array_type::iterator &gt;</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__means__impl_1a74c12b56cb545c3fb96be77e4fa7ff82"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__means__impl_1ad3a457e7fbd7992fd370411ab9194d29" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1tail__variate__means__impl_1a9b210b044aca0ffe2fe48307da6b7d47" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1absolute__tail__variate__means" name="absolute_tail_variate_means"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count, non_coherent_tail_mean&lt; LeftRight &gt;, tail_variate&lt; VariateType, VariateTag, LeftRight &gt; &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1absolute__tail__variate__means_1a940c74e89ce265a6d2bfc25493a44044" name="impl"><type><classname>accumulators::impl::tail_variate_means_impl</classname>&lt; mpl::_1, <classname>absolute</classname>, LeftRight, VariateTag &gt;</type></typedef>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1abstract__absolute__tail__variate__means" name="abstract_absolute_tail_variate_means"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1abstract__relative__tail__variate__means" name="abstract_relative_tail_variate_means"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1relative__tail__variate__means" name="relative_tail_variate_means"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count, non_coherent_tail_mean&lt; LeftRight &gt;, tail_variate&lt; VariateType, VariateTag, LeftRight &gt; &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1relative__tail__variate__means_1a1f2487d26edc3cd105013e3d61f7d65c" name="impl"><type><classname>accumulators::impl::tail_variate_means_impl</classname>&lt; mpl::_1, <classname>relative</classname>, LeftRight, VariateTag &gt;</type></typedef>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.times2__iterator_8hpp" name="boost/accumulators/statistics/times2_iterator.hpp">
<namespace name="boost">
<namespace name="accumulators">
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.variance_8hpp" name="boost/accumulators/statistics/variance.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1variance_07immediate_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::variance(immediate)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1variance_07immediate_08_4_1a529296a5ffc1abf922b14b801ce9bdfb" name="type"><type><classname>tag::variance</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1variance_07lazy_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::variance(lazy)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1variance_07lazy_08_4_1a881b20fcb09e973a9233ca5341cf6d4f" name="type"><type><classname>tag::lazy_variance</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1lazy__variance_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::lazy_variance</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1lazy__variance_01_4_1a5e8aa13109b1d295e8f21095e06209e6" name="type"><type><classname>tag::lazy_weighted_variance</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1variance_01_4" name="as_weighted_feature"><template>
    </template><specialization><template-arg>tag::variance</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__weighted__feature_3_01tag_1_1variance_01_4_1a4c5410ffb187bc00a18839e526af2d1d" name="type"><type><classname>tag::weighted_variance</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1lazy__variance_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::lazy_variance</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::variance &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1lazy__weighted__variance_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::lazy_weighted_variance</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::lazy_variance &gt;</inherit></struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__variance_01_4" name="feature_of"><template>
    </template><specialization><template-arg>tag::weighted_variance</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::variance &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1accb2e8c5c67779dfad43739d699e24a5" name="lazy_variance"><type><classname>extractor</classname>&lt; <classname>tag::lazy_variance</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a2fd05c040d5430172d699f70dffd0ce1" name="variance"><type><classname>extractor</classname>&lt; <classname>tag::variance</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__variance__impl" name="lazy_variance_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="MeanFeature"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Lazy calculation of variance. </purpose><description><para>Default sample variance implementation based on the second moment <inlineequation><alt>$ M_n^{(2)} $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_51.png"/></imageobject><textobject role="tex"><phrase>$ M_n^{(2)} $</phrase></textobject></inlinemediaobject></inlineequation> moment&lt;2&gt;, mean and count.  <equation><title/><alt>\[
    \sigma_n^2 = M_n^{(2)} - \mu_n^2.
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_52.png"/></imageobject><textobject role="tex"><phrase>\[
    \sigma_n^2 = M_n^{(2)} - \mu_n^2.
\]</phrase></textobject></mediaobject></equation> where  <equation><title/><alt>\[
    \mu_n = \frac{1}{n} \sum_{i = 1}^n x_i.
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_53.png"/></imageobject><textobject role="tex"><phrase>\[
    \mu_n = \frac{1}{n} \sum_{i = 1}^n x_i.
\]</phrase></textobject></mediaobject></equation> is the estimate of the sample mean and <inlineequation><alt>$n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_3.png"/></imageobject><textobject role="tex"><phrase>$n$</phrase></textobject></inlinemediaobject></inlineequation> is the number of samples. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__variance__impl_1a4c325baf8c9badadaa4afca7092e6f4b" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__variance__impl_1a63e46c222da0dc8eea6b9af88c3879ae"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__variance__impl_1a39fec76aca77aeb10f2597cc388a9ddb" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__variance__impl_1a6420ccac3e2ab7eb960cbe90fe3f1f69" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name=""><paramtype>Archive &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1variance__impl" name="variance_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="MeanFeature"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Iterative calculation of variance. </purpose><description><para>Iterative calculation of sample variance <inlineequation><alt>$\sigma_n^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_54.png"/></imageobject><textobject role="tex"><phrase>$\sigma_n^2$</phrase></textobject></inlinemediaobject></inlineequation> according to the formula  <equation><title/><alt>\[
    \sigma_n^2 = \frac{1}{n} \sum_{i = 1}^n (x_i - \mu_n)^2 = \frac{n-1}{n} \sigma_{n-1}^2 + \frac{1}{n-1}(x_n - \mu_n)^2.
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_55.png"/></imageobject><textobject role="tex"><phrase>\[
    \sigma_n^2 = \frac{1}{n} \sum_{i = 1}^n (x_i - \mu_n)^2 = \frac{n-1}{n} \sigma_{n-1}^2 + \frac{1}{n-1}(x_n - \mu_n)^2.
\]</phrase></textobject></mediaobject></equation> where  <equation><title/><alt>\[
    \mu_n = \frac{1}{n} \sum_{i = 1}^n x_i.
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_53.png"/></imageobject><textobject role="tex"><phrase>\[
    \mu_n = \frac{1}{n} \sum_{i = 1}^n x_i.
\]</phrase></textobject></mediaobject></equation> is the estimate of the sample mean and <inlineequation><alt>$n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_3.png"/></imageobject><textobject role="tex"><phrase>$n$</phrase></textobject></inlinemediaobject></inlineequation> is the number of samples.</para><para>Note that the sample variance is not defined for <inlineequation><alt>$n &lt;= 1$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_8.png"/></imageobject><textobject role="tex"><phrase>$n &lt;= 1$</phrase></textobject></inlinemediaobject></inlineequation>.</para><para>A simplification can be obtained by the approximate recursion  <equation><title/><alt>\[
    \sigma_n^2 \approx \frac{n-1}{n} \sigma_{n-1}^2 + \frac{1}{n}(x_n - \mu_n)^2.
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_56.png"/></imageobject><textobject role="tex"><phrase>\[
    \sigma_n^2 \approx \frac{n-1}{n} \sigma_{n-1}^2 + \frac{1}{n}(x_n - \mu_n)^2.
\]</phrase></textobject></mediaobject></equation> because the difference  <equation><title/><alt>\[
    \left(\frac{1}{n-1} - \frac{1}{n}\right)(x_n - \mu_n)^2 = \frac{1}{n(n-1)}(x_n - \mu_n)^2.
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_57.png"/></imageobject><textobject role="tex"><phrase>\[
    \left(\frac{1}{n-1} - \frac{1}{n}\right)(x_n - \mu_n)^2 = \frac{1}{n(n-1)}(x_n - \mu_n)^2.
\]</phrase></textobject></mediaobject></equation> converges to zero as <inlineequation><alt>$n \rightarrow \infty$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_58.png"/></imageobject><textobject role="tex"><phrase>$n \rightarrow \infty$</phrase></textobject></inlinemediaobject></inlineequation>. However, for small <inlineequation><alt>$ n $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_32.png"/></imageobject><textobject role="tex"><phrase>$ n $</phrase></textobject></inlinemediaobject></inlineequation> the difference can be non-negligible. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1variance__impl_1a8cae192f1d1f4842bc0c443c27084478" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1variance__impl_1aaf346a9a73edbef1f176ed150f507766"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1variance__impl_1a3bad6719012a8a1e823b72e844ce8c49" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1variance__impl_1ac36e92314e0f0d13d4fcd1a0e6780377" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1variance__impl_1a5db99b000e2e55ee12c43c362346a112" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1lazy__variance" name="lazy_variance"><inherit access="public">boost::accumulators::depends_on&lt; moment&lt; 2 &gt;, mean &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1variance" name="variance"><inherit access="public">boost::accumulators::depends_on&lt; count, immediate_mean &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.covariate_8hpp" name="boost/accumulators/statistics/variates/covariate.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1covariate1" name="covariate1"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1covariate2" name="covariate2"/></namespace>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1a7016d5ad9ea938036c71e105ed810195" name="covariate1"><type>boost::parameter::keyword&lt; tag ::covariate1 &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1add6ef33171c411dba62f83b2d61c2975" name="covariate2"><type>boost::parameter::keyword&lt; tag ::covariate2 &gt; const</type></data-member>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__covariance_8hpp" name="boost/accumulators/statistics/weighted_covariance.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ae6f25afaa5bbe016fda49c3365b46c73" name="weighted_covariance"><type><classname>extractor</classname>&lt; <classname>tag::abstract_covariance</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__covariance__impl" name="weighted_covariance_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Weighted Covariance Estimator. </purpose><description><para>An iterative Monte Carlo estimator for the weighted covariance <inlineequation><alt>$\mathrm{Cov}(X,X')$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_46.png"/></imageobject><textobject role="tex"><phrase>$\mathrm{Cov}(X,X')$</phrase></textobject></inlinemediaobject></inlineequation>, where <inlineequation><alt>$X$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_47.png"/></imageobject><textobject role="tex"><phrase>$X$</phrase></textobject></inlinemediaobject></inlineequation> is a sample and <inlineequation><alt>$X'$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_48.png"/></imageobject><textobject role="tex"><phrase>$X'$</phrase></textobject></inlinemediaobject></inlineequation> a variate, is given by:</para><para><equation><title/><alt>\[
    \hat{c}_n = \frac{\bar{w}_n-w_n}{\bar{w}_n} \hat{c}_{n-1} + \frac{w_n}{\bar{w}_n-w_n}(X_n - \hat{\mu}_n)(X_n' - \hat{\mu}_n'),
    \quad n\ge2,\quad\hat{c}_1 = 0,
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_49.png"/></imageobject><textobject role="tex"><phrase>\[
    \hat{c}_n = \frac{\bar{w}_n-w_n}{\bar{w}_n} \hat{c}_{n-1} + \frac{w_n}{\bar{w}_n-w_n}(X_n - \hat{\mu}_n)(X_n' - \hat{\mu}_n'),
    \quad n\ge2,\quad\hat{c}_1 = 0,
\]</phrase></textobject></mediaobject></equation></para><para><inlineequation><alt>$\hat{\mu}_n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_7.png"/></imageobject><textobject role="tex"><phrase>$\hat{\mu}_n$</phrase></textobject></inlinemediaobject></inlineequation> and <inlineequation><alt>$\hat{\mu}_n'$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_50.png"/></imageobject><textobject role="tex"><phrase>$\hat{\mu}_n'$</phrase></textobject></inlinemediaobject></inlineequation> being the weighted means of the samples and variates and <inlineequation><alt>$\bar{w}_n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_5.png"/></imageobject><textobject role="tex"><phrase>$\bar{w}_n$</phrase></textobject></inlinemediaobject></inlineequation> the sum of the <inlineequation><alt>$n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_3.png"/></imageobject><textobject role="tex"><phrase>$n$</phrase></textobject></inlinemediaobject></inlineequation> first weights <inlineequation><alt>$w_i$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_6.png"/></imageobject><textobject role="tex"><phrase>$w_i$</phrase></textobject></inlinemediaobject></inlineequation>. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__covariance__impl_1afaf890ed6603755db907a779bb4c46c9" name="weighted_sample_type"><type>numeric::functional::multiplies&lt; Weight, typenamenumeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__covariance__impl_1a578fa8d3d77a81f90c0b3cfccfd39d3a" name="weighted_variate_type"><type>numeric::functional::multiplies&lt; Weight, typenamenumeric::functional::fdiv&lt; VariateType, std::size_t &gt;::result_type &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__covariance__impl_1a344bfc13e8ebd0d6dffac045cdaf7d8f" name="result_type"><type><classname>numeric::functional::outer_product</classname>&lt; weighted_sample_type, weighted_variate_type &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__covariance__impl_1a1a506f1a36bff8a3c0160ab11b4c008f"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__covariance__impl_1ae21af473ce9908ffe1abf89996bd3795" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__covariance__impl_1a786ef5e9ef5d9109056b5086b55456cf" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__covariance__impl_1a6076b0fda3f0379b2692efef80553215" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__covariance" name="weighted_covariance"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count, sum_of_weights, weighted_mean, weighted_mean_of_variates&lt; VariateType, VariateTag &gt; &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__covariance_1ac0c00292f209dba16c59b0c8d05e1dd7" name="impl"><type><classname>accumulators::impl::weighted_covariance_impl</classname>&lt; mpl::_1, mpl::_2, VariateType, VariateTag &gt;</type></typedef>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__density_8hpp" name="boost/accumulators/statistics/weighted_density.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a9458589b3583ca6e566c6627e3e533d2" name="weighted_density"><type><classname>extractor</classname>&lt; <classname>tag::density</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__density__impl" name="weighted_density_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Histogram density estimator for weighted samples. </purpose><description><para>The histogram density estimator returns a histogram of the sample distribution. The positions and sizes of the bins are determined using a specifiable number of cached samples (cache_size). The range between the minimum and the maximum of the cached samples is subdivided into a specifiable number of bins (num_bins) of same size. Additionally, an under- and an overflow bin is added to capture future under- and overflow samples. Once the bins are determined, the cached samples and all subsequent samples are added to the correct bins. At the end, a range of std::pair is returned, where each pair contains the position of the bin (lower bound) and the sum of the weights (normalized with the sum of all weights).</para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__density__impl_1a81ea5bc5b92b4b533a3869759cc235b8" name="float_type"><type>numeric::functional::fdiv&lt; Weight, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__density__impl_1ac2e0559976f5fdf2939dffa306eb5203" name="histogram_type"><type>std::vector&lt; std::pair&lt; float_type, float_type &gt; &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__density__impl_1ad5aabea1509524ed76baecc44b64c253" name="array_type"><type>std::vector&lt; float_type &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__density__impl_1a599866db3535dd1b28633eaee8bb929a" name="result_type"><type>iterator_range&lt; typename histogram_type::iterator &gt;</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__density__impl_1ad63778ce37c73119385cfa376df643ad"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__density__impl_1af47ecba801d95894e1c4a9e820ccd25d" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__density__impl_1a53726a4f89517765d753a885c585fada" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__density__impl_1aaba225ddb50ce1abe31c4d4278506e22" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__density" name="weighted_density"><inherit access="public">boost::accumulators::depends_on&lt; count, sum_of_weights, min, max &gt;</inherit><inherit access="public">density_cache_size</inherit><inherit access="public">density_num_bins</inherit><data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__density_1a3b6cc30530a4c4a7df2df4bf7895ca79" name="cache_size" specifiers="static"><type>boost::parameter::keyword&lt; density_cache_size &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__density_1a16f7e348d0c5fad654ed125cdf9fcdea" name="num_bins" specifiers="static"><type>boost::parameter::keyword&lt; density_num_bins &gt; const</type></data-member>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__extended__p__square_8hpp" name="boost/accumulators/statistics/weighted_extended_p_square.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ad73003bc5adb5eba16c3d6269ccec747" name="weighted_extended_p_square"><type><classname>extractor</classname>&lt; <classname>tag::weighted_extended_p_square</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__extended__p__square__impl" name="weighted_extended_p_square_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Multiple quantile estimation with the extended <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm for weighted samples. </purpose><description><para>This version of the extended <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm extends the extended <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm to support weighted samples. The extended <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm dynamically estimates several quantiles without storing samples. Assume that <inlineequation><alt>$m$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_42.png"/></imageobject><textobject role="tex"><phrase>$m$</phrase></textobject></inlinemediaobject></inlineequation> quantiles <inlineequation><alt>$\xi_{p_1}, \ldots, \xi_{p_m}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_43.png"/></imageobject><textobject role="tex"><phrase>$\xi_{p_1}, \ldots, \xi_{p_m}$</phrase></textobject></inlinemediaobject></inlineequation> are to be estimated. Instead of storing the whole sample cumulative distribution, the algorithm maintains only <inlineequation><alt>$m+2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_44.png"/></imageobject><textobject role="tex"><phrase>$m+2$</phrase></textobject></inlinemediaobject></inlineequation> principal markers and <inlineequation><alt>$m+1$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_45.png"/></imageobject><textobject role="tex"><phrase>$m+1$</phrase></textobject></inlinemediaobject></inlineequation> middle markers, whose positions are updated with each sample and whose heights are adjusted (if necessary) using a piecewise-parablic formula. The heights of the principal markers are the current estimates of the quantiles and are returned as an iterator range.</para><para>For further details, see</para><para>K. E. E. Raatikainen, Simultaneous estimation of several quantiles, Simulation, Volume 49, Number 4 (October), 1986, p. 159-164.</para><para>The extended <inlineequation><alt>$ P^2 $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_37.png"/></imageobject><textobject role="tex"><phrase>$ P^2 $</phrase></textobject></inlinemediaobject></inlineequation> algorithm generalizes the <inlineequation><alt>$ P^2 $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_37.png"/></imageobject><textobject role="tex"><phrase>$ P^2 $</phrase></textobject></inlinemediaobject></inlineequation> algorithm of</para><para>R. Jain and I. Chlamtac, The P^2 algorithm for dynamic calculation of quantiles and histograms without storing observations, Communications of the ACM, Volume 28 (October), Number 10, 1985, p. 1076-1085.</para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__extended__p__square__impl_1a088c114b0b909ffe61af62aa9f8f2ce1" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__extended__p__square__impl_1af81475670e112a79ddabacbfe043e969" name="float_type"><type>numeric::functional::fdiv&lt; weighted_sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__extended__p__square__impl_1ab630c21ebfec6b2a0bffbf06cb86b391" name="array_type"><type>std::vector&lt; float_type &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__extended__p__square__impl_1a353d01cfbc40d0e9fbfd287b71a914e6" name="result_type"><type><emphasis>unspecified</emphasis></type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__extended__p__square__impl_1aa67936a28a7b9067a0b0293d7cd60e38"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__extended__p__square__impl_1a99c0d8d956c99ea03428ebbada584ae3" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__extended__p__square__impl_1ac9d622143876c50abe593f4e10aa0cff" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__extended__p__square__impl_1a7fe1c1c210faa3d5990bf946ce336a47" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__extended__p__square" name="weighted_extended_p_square"><inherit access="public">boost::accumulators::depends_on&lt; count, sum_of_weights &gt;</inherit><inherit access="public">extended_p_square_probabilities</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__extended__p__square_1afe98fb8a1fcc729586ecc0b34edca72e" name="impl"><type><classname>accumulators::impl::weighted_extended_p_square_impl</classname>&lt; mpl::_1, mpl::_2 &gt;</type></typedef>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__kurtosis_8hpp" name="boost/accumulators/statistics/weighted_kurtosis.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a494e05e5fde45988489d0a5fe7ae358e" name="weighted_kurtosis"><type><classname>extractor</classname>&lt; <classname>tag::weighted_kurtosis</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__kurtosis__impl" name="weighted_kurtosis_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Kurtosis estimation for weighted samples. </purpose><description><para>The kurtosis of a sample distribution is defined as the ratio of the 4th central moment and the square of the 2nd central moment (the variance) of the samples, minus 3. The term <inlineequation><alt>$ -3 $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_40.png"/></imageobject><textobject role="tex"><phrase>$ -3 $</phrase></textobject></inlinemediaobject></inlineequation> is added in order to ensure that the normal distribution has zero kurtosis. The kurtosis can also be expressed by the simple moments:</para><para><equation><title/><alt>\[
    \hat{g}_2 =
        \frac
        {\widehat{m}_n^{(4)}-4\widehat{m}_n^{(3)}\hat{\mu}_n+6\widehat{m}_n^{(2)}\hat{\mu}_n^2-3\hat{\mu}_n^4}
        {\left(\widehat{m}_n^{(2)} - \hat{\mu}_n^{2}\right)^2} - 3,
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_41.png"/></imageobject><textobject role="tex"><phrase>\[
    \hat{g}_2 =
        \frac
        {\widehat{m}_n^{(4)}-4\widehat{m}_n^{(3)}\hat{\mu}_n+6\widehat{m}_n^{(2)}\hat{\mu}_n^2-3\hat{\mu}_n^4}
        {\left(\widehat{m}_n^{(2)} - \hat{\mu}_n^{2}\right)^2} - 3,
\]</phrase></textobject></mediaobject></equation></para><para>where <inlineequation><alt>$ \widehat{m}_n^{(i)} $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_29.png"/></imageobject><textobject role="tex"><phrase>$ \widehat{m}_n^{(i)} $</phrase></textobject></inlinemediaobject></inlineequation> are the <inlineequation><alt>$ i $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_30.png"/></imageobject><textobject role="tex"><phrase>$ i $</phrase></textobject></inlinemediaobject></inlineequation>-th moment and <inlineequation><alt>$ \hat{\mu}_n $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_31.png"/></imageobject><textobject role="tex"><phrase>$ \hat{\mu}_n $</phrase></textobject></inlinemediaobject></inlineequation> the mean (first moment) of the <inlineequation><alt>$ n $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_32.png"/></imageobject><textobject role="tex"><phrase>$ n $</phrase></textobject></inlinemediaobject></inlineequation> samples.</para><para>The kurtosis estimator for weighted samples is formally identical to the estimator for unweighted samples, except that the weighted counterparts of all measures it depends on are to be taken. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__kurtosis__impl_1acad4d2edfb009fafaaeabe569c479099" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__kurtosis__impl_1a2e632010fa6141fef35c99b2edc74f72" name="result_type"><type>numeric::functional::fdiv&lt; weighted_sample, weighted_sample &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__kurtosis__impl_1add9681daba469187b08c5958a1bd4c0a"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__kurtosis__impl_1a8e6a28527f67b3356d681215124c99e4" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__kurtosis" name="weighted_kurtosis"><inherit access="public">boost::accumulators::depends_on&lt; weighted_mean, weighted_moment&lt; 2 &gt;, weighted_moment&lt; 3 &gt;, weighted_moment&lt; 4 &gt; &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__mean_8hpp" name="boost/accumulators/statistics/weighted_mean.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__mean_07immediate_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::weighted_mean(immediate)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__mean_07immediate_08_4_1a8be713194549bf34f2aae9850a863588" name="type"><type><classname>tag::immediate_weighted_mean</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__mean_07lazy_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::weighted_mean(lazy)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__mean_07lazy_08_4_1a082c7163e6ba9eebfc7b8cf7615f57ff" name="type"><type><classname>tag::weighted_mean</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__mean__of__variates_3_01VariateTy2dc436310fded63af94baec509d5cb23" name="as_feature"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::weighted_mean_of_variates&lt; VariateType</template-arg><template-arg>VariateTag &gt;(immediate)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__mean__of__variates_3_01VariateTy2dc436310fded63af94baec509d5cb23_1a2a9a22a48510e700c53e1e684b3b3ee5" name="type"><type><classname>tag::immediate_weighted_mean_of_variates</classname>&lt; VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__mean__of__variates_3_01VariateTy6cec5166aa6587c3ad3e3575483823f1" name="as_feature"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::weighted_mean_of_variates&lt; VariateType</template-arg><template-arg>VariateTag &gt;(lazy)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__mean__of__variates_3_01VariateTy6cec5166aa6587c3ad3e3575483823f1_1ac653e5a481ad96bcec4258f12c6c03be" name="type"><type><classname>tag::weighted_mean_of_variates</classname>&lt; VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a7ea49a1f389a3ae877b3e343e3a8b4dd" name="weighted_mean"><type><classname>extractor</classname>&lt; <classname>tag::mean</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__weighted__mean__impl" name="immediate_weighted_mean_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__weighted__mean__impl_1a165fc9d954cbe79ad6a2350f4f69f599" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__weighted__mean__impl_1af9b75bb42bc491565332e67ba7c5c1c2" name="result_type"><type>numeric::functional::fdiv&lt; weighted_sample, Weight &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__weighted__mean__impl_1a47a9c1c7098c7ced4607005787e62d23"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__weighted__mean__impl_1ae889ea327babaf866764d621f2a0d34b" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__weighted__mean__impl_1a5dabe19488a493dacc6706035bdbf407" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1immediate__weighted__mean__impl_1a5815fbfdcd41129e39eb68c3131296b3" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__mean__impl" name="weighted_mean_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__mean__impl_1aa2472e35fc08cbb11f80ecc9f1b58372" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__mean__impl_1afc3d85296e2989970a65b2a2cb02d4c3" name="result_type"><type>numeric::functional::fdiv&lt; weighted_sample, Weight &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__mean__impl_1a36ceb603682317fcd5cc88b73115f367"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__mean__impl_1a1d917931fbdde61cbf83cee7ba961c3b" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1immediate__weighted__mean" name="immediate_weighted_mean"><inherit access="public">boost::accumulators::depends_on&lt; sum_of_weights &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1immediate__weighted__mean__of__variates" name="immediate_weighted_mean_of_variates"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; sum_of_weights &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__mean" name="weighted_mean"><inherit access="public">boost::accumulators::depends_on&lt; sum_of_weights, weighted_sum &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__mean__of__variates" name="weighted_mean_of_variates"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; sum_of_weights, weighted_sum_of_variates&lt; VariateType, VariateTag &gt; &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__median_8hpp" name="boost/accumulators/statistics/weighted_median.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__median_07with__density_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::weighted_median(with_density)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__median_07with__density_08_4_1a2f1102c77751c9bbc313745fd29f4209" name="type"><type><classname>tag::with_density_weighted_median</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__median_07with__p__square__cumulative__distribution_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::weighted_median(with_p_square_cumulative_distribution)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__median_07with__p__square__cumulative__distribution_08_4_1ac63467f78119e8553b954a3eb990f118" name="type"><type><classname>tag::with_p_square_cumulative_distribution_weighted_median</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__median_07with__p__square__quantile_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::weighted_median(with_p_square_quantile)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__median_07with__p__square__quantile_08_4_1a7df7249eedd3b3a8f4b375170157d261" name="type"><type><classname>tag::weighted_median</classname></type></typedef>
</struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a6f076688db24424b30ca8b91bee5b2f2" name="weighted_median"><type><classname>extractor</classname>&lt; <classname>tag::median</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__median__impl" name="weighted_median_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Median estimation for weighted samples based on the <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> quantile estimator. </purpose><description><para>The <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm for weighted samples is invoked with a quantile probability of 0.5. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__median__impl_1a159309f251cb46be5ddf15f2780a923c" name="result_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__median__impl_1a00202b0912346d79f59ed8b77c687baf"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__median__impl_1a32caca576348ad6838cd9cc15fecaa17" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__weighted__median__impl" name="with_density_weighted_median_impl"><template>
      <template-type-parameter name="Sample"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Median estimation for weighted samples based on the density estimator. </purpose><description><para>The algorithm determines the bin in which the <inlineequation><alt>$0.5*cnt$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_38.png"/></imageobject><textobject role="tex"><phrase>$0.5*cnt$</phrase></textobject></inlinemediaobject></inlineequation>-th sample lies, <inlineequation><alt>$cnt$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_39.png"/></imageobject><textobject role="tex"><phrase>$cnt$</phrase></textobject></inlinemediaobject></inlineequation> being the total number of samples. It returns the approximate horizontal position of this sample, based on a linear interpolation inside the bin. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__weighted__median__impl_1a9c9912a94de1a097dc3eef2674cd6aee" name="float_type"><type>numeric::functional::fdiv&lt; Sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__weighted__median__impl_1a539b391bd26ffbc2d85b34ea3c4fc561" name="histogram_type"><type>std::vector&lt; std::pair&lt; float_type, float_type &gt; &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__weighted__median__impl_1a433071b062c26be5e973d5bd6510c6f8" name="range_type"><type>iterator_range&lt; typename histogram_type::iterator &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__weighted__median__impl_1a54add5311356216569fd384c515a33ba" name="result_type"><type>float_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__weighted__median__impl_1ace1f73d80b2aa7e4d3cf7634fcdb8846"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__weighted__median__impl_1a6eb6c229f57b2739c8d8a9c587938732" name="operator()"><type>void</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__weighted__median__impl_1a32785f5463741397250dd3b1017b54e5" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__density__weighted__median__impl_1adbd562b0dd56b6547f736772bb7924bf" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__weighted__median__impl" name="with_p_square_cumulative_distribution_weighted_median_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Median estimation for weighted samples based on the <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> cumulative distribution estimator. </purpose><description><para>The algorithm determines the first (leftmost) bin with a height exceeding 0.5. It returns the approximate horizontal position of where the cumulative distribution equals 0.5, based on a linear interpolation inside the bin. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__weighted__median__impl_1affca7e402480a2f92d7261a3f682971d" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__weighted__median__impl_1a6523d127313f0df4a28291635b1715f9" name="float_type"><type>numeric::functional::fdiv&lt; weighted_sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__weighted__median__impl_1aea6dcd6d4637dac67a252b1aa6e6c2a4" name="histogram_type"><type>std::vector&lt; std::pair&lt; float_type, float_type &gt; &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__weighted__median__impl_1ace4acb063376dd538187f33ebc610edd" name="range_type"><type>iterator_range&lt; typename histogram_type::iterator &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__weighted__median__impl_1a169b7369b17708b59ccf25241ea3aef8" name="result_type"><type>float_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__weighted__median__impl_1ad2c229ba1d9ae88cc010b1df87fe314d"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__weighted__median__impl_1a293af2e0fda09815180a1e278c414da0" name="operator()"><type>void</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__weighted__median__impl_1addf68136d87296a92b7bf9f3a894b8a2" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1with__p__square__cumulative__distribution__weighted__median__impl_1a0b171f3f633222ebc982f7b36ad6785c" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__median" name="weighted_median"><inherit access="public">boost::accumulators::depends_on&lt; weighted_p_square_quantile_for_median &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1with__density__weighted__median" name="with_density_weighted_median"><inherit access="public">boost::accumulators::depends_on&lt; count, weighted_density &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1with__p__square__cumulative__distribution__weighted__median" name="with_p_square_cumulative_distribution_weighted_median"><inherit access="public">boost::accumulators::depends_on&lt; weighted_p_square_cumulative_distribution &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__moment_8hpp" name="boost/accumulators/statistics/weighted_moment.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__moment__impl" name="weighted_moment_impl"><template>
      <template-type-parameter name="N"/>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__moment__impl_1af134ed138ab12e9643353d079d939ff8" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__moment__impl_1ade37be617c2a2161a61b705337056bbd" name="result_type"><type>numeric::functional::fdiv&lt; weighted_sample, Weight &gt;::result_type</type></typedef>
<method-group name="public member functions">
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__moment__impl_1af7b0f8480326437ca4a91ffef8496f9d" name="BOOST_MPL_ASSERT_RELATION"><type/><parameter name=""><paramtype>N::value</paramtype></parameter><parameter name=""><paramtype>0</paramtype></parameter></method>
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__moment__impl_1aaf44197b85d2ed2740811fd99e660d7a"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__moment__impl_1a27ca5ffafa390914e80ad06a3502dd27" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__moment__impl_1a716ac0ea128df89e776c63bbdddd4f5a" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__moment__impl_1aa01a9e26bef6d2ae8a15491c412f0507" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__moment" name="weighted_moment"><template>
      <template-nontype-parameter name="N"><type>int</type></template-nontype-parameter>
    </template><inherit access="public">boost::accumulators::depends_on&lt; count, sum_of_weights &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__p__square__cumul__dist_8hpp" name="boost/accumulators/statistics/weighted_p_square_cumul_dist.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a511f6fe0b5b2dbcf57e76f6ff6121404" name="weighted_p_square_cumulative_distribution"><type><classname>extractor</classname>&lt; <classname>tag::weighted_p_square_cumulative_distribution</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__cumulative__distribution__impl" name="weighted_p_square_cumulative_distribution_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Histogram calculation of the cumulative distribution with the <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm for weighted samples. </purpose><description><para>A histogram of the sample cumulative distribution is computed dynamically without storing samples based on the <inlineequation><alt>$ P^2 $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_37.png"/></imageobject><textobject role="tex"><phrase>$ P^2 $</phrase></textobject></inlinemediaobject></inlineequation> algorithm for weighted samples. The returned histogram has a specifiable amount (num_cells) equiprobable (and not equal-sized) cells.</para><para>Note that applying importance sampling results in regions to be more and other regions to be less accurately estimated than without importance sampling, i.e., with unweighted samples.</para><para>For further details, see</para><para>R. Jain and I. Chlamtac, The P^2 algorithm for dynamic calculation of quantiles and histograms without storing observations, Communications of the ACM, Volume 28 (October), Number 10, 1985, p. 1076-1085.</para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__cumulative__distribution__impl_1a34c4341a91eacdebc94c3e9d3a295a42" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__cumulative__distribution__impl_1a2f252eddc5231ffcae44b9d0e6a19456" name="float_type"><type>numeric::functional::fdiv&lt; weighted_sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__cumulative__distribution__impl_1a531ec627565231a8538d0605e7a56e8c" name="histogram_type"><type>std::vector&lt; std::pair&lt; float_type, float_type &gt; &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__cumulative__distribution__impl_1a7227fe838b92e15d3e9a7b8e2d7dfcb8" name="array_type"><type>std::vector&lt; float_type &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__cumulative__distribution__impl_1aaa29da9dcee9d3d3ba9ad8792dbd202d" name="result_type"><type>iterator_range&lt; typename histogram_type::iterator &gt;</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__cumulative__distribution__impl_1a665ef5534d00c007f2799a3e9e254017"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__cumulative__distribution__impl_1a185cf0f7622567c7262ddfefff0530ce" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__cumulative__distribution__impl_1abb1d03aaedc9459df32f34387e3b2c0c" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__cumulative__distribution__impl_1adb36658206cfedda7a865a71083f77d2" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__p__square__cumulative__distribution" name="weighted_p_square_cumulative_distribution"><inherit access="public">boost::accumulators::depends_on&lt; count, sum_of_weights &gt;</inherit><inherit access="public">p_square_cumulative_distribution_num_cells</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__p__square__cumulative__distribution_1a2867e4c1959c29cee5c63706196528c1" name="impl"><type><classname>accumulators::impl::weighted_p_square_cumulative_distribution_impl</classname>&lt; mpl::_1, mpl::_2 &gt;</type></typedef>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__p__square__cumulative__distribution_8hpp" name="boost/accumulators/statistics/weighted_p_square_cumulative_distribution.hpp">
</header>
<header id="doxygen.statistics_library_reference.weighted__p__square__quantile_8hpp" name="boost/accumulators/statistics/weighted_p_square_quantile.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ae2ebb8c62623ffd106ecd583850dc08c" name="weighted_p_square_quantile"><type><classname>extractor</classname>&lt; <classname>tag::weighted_p_square_quantile</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a893026dd932a7e2ee509dc3558303baa" name="weighted_p_square_quantile_for_median"><type><classname>extractor</classname>&lt; <classname>tag::weighted_p_square_quantile_for_median</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__quantile__impl" name="weighted_p_square_quantile_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="Impl"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Single quantile estimation with the <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm for weighted samples. </purpose><description><para>This version of the <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm extends the <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm to support weighted samples. The <inlineequation><alt>$P^2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_33.png"/></imageobject><textobject role="tex"><phrase>$P^2$</phrase></textobject></inlinemediaobject></inlineequation> algorithm estimates a quantile dynamically without storing samples. Instead of storing the whole sample cumulative distribution, only five points (markers) are stored. The heights of these markers are the minimum and the maximum of the samples and the current estimates of the <inlineequation><alt>$(p/2)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_34.png"/></imageobject><textobject role="tex"><phrase>$(p/2)$</phrase></textobject></inlinemediaobject></inlineequation>-, <inlineequation><alt>$p$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_35.png"/></imageobject><textobject role="tex"><phrase>$p$</phrase></textobject></inlinemediaobject></inlineequation> - and <inlineequation><alt>$(1+p)/2$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_36.png"/></imageobject><textobject role="tex"><phrase>$(1+p)/2$</phrase></textobject></inlinemediaobject></inlineequation> -quantiles. Their positions are equal to the number of samples that are smaller or equal to the markers. Each time a new sample is added, the positions of the markers are updated and if necessary their heights are adjusted using a piecewise- parabolic formula.</para><para>For further details, see</para><para>R. Jain and I. Chlamtac, The P^2 algorithm for dynamic calculation of quantiles and histograms without storing observations, Communications of the ACM, Volume 28 (October), Number 10, 1985, p. 1076-1085.</para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__quantile__impl_1a29930229070b5603f6cec96577a97cdd" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__quantile__impl_1a822056f58d6b1c09c661903d7a593a17" name="float_type"><type>numeric::functional::fdiv&lt; weighted_sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__quantile__impl_1acfeed2740869aa37e352dd606c1e7826" name="array_type"><type>array&lt; float_type, 5 &gt;</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__quantile__impl_1afeefaf956e0503590f42791aed7096e2" name="result_type"><type>float_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__quantile__impl_1a08c3bac05193b8ac0b1cdbff23a272f2"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__quantile__impl_1a599054a56e89fd9d7b15a822042d996f" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__quantile__impl_1a881c8d4c0bb30c6a8b9f7a2494a63296" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__p__square__quantile__impl_1a92932c1015b4f28860f37284460dbe43" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__p__square__quantile" name="weighted_p_square_quantile"><inherit access="public">boost::accumulators::depends_on&lt; count, sum_of_weights &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__p__square__quantile_1a5bfc10c73d769067b2ab6355adced0f4" name="impl"><type><classname>accumulators::impl::weighted_p_square_quantile_impl</classname>&lt; mpl::_1, mpl::_2, <classname>regular</classname> &gt;</type></typedef>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__p__square__quantile__for__median" name="weighted_p_square_quantile_for_median"><inherit access="public">boost::accumulators::depends_on&lt; count, sum_of_weights &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__p__square__quantile__for__median_1a841fac6a27309059060c60e8532331a8" name="impl"><type><classname>accumulators::impl::weighted_p_square_quantile_impl</classname>&lt; mpl::_1, mpl::_2, <classname>for_median</classname> &gt;</type></typedef>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__peaks__over__threshold_8hpp" name="boost/accumulators/statistics/weighted_peaks_over_threshold.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__peaks__over__threshold_3_01LeftR9bf6bd909b0a1ffbf10e4271ca12f17b" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_peaks_over_threshold&lt; LeftRight &gt;(with_threshold_probability)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__peaks__over__threshold_3_01LeftR9bf6bd909b0a1ffbf10e4271ca12f17b_1a39aa98b9d7d09f3bf0a85895b6ab6e76" name="type"><type><classname>tag::weighted_peaks_over_threshold_prob</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__peaks__over__threshold_3_01LeftRef6f9f1f7f961fee8ffe7c489de21434" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
    </template><specialization><template-arg>tag::weighted_peaks_over_threshold&lt; LeftRight &gt;(with_threshold_value)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__peaks__over__threshold_3_01LeftRef6f9f1f7f961fee8ffe7c489de21434_1a5fc42d3bf0ce676f254d2baecb6875b1" name="type"><type><classname>tag::weighted_peaks_over_threshold</classname>&lt; LeftRight &gt;</type></typedef>
</struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a3d083442190528a1ec83bd5440c93e39" name="weighted_peaks_over_threshold"><type><classname>extractor</classname>&lt; <classname>tag::abstract_peaks_over_threshold</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__impl" name="weighted_peaks_over_threshold_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Weighted Peaks over Threshold Method for Weighted Quantile and Weighted Tail Mean Estimation. </purpose><description><para><formalpara><title>See Also:</title><para><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1peaks__over__threshold__impl">peaks_over_threshold_impl</link></para>
</formalpara>

</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__impl_1aad8e6504ce6bf749cbdc19b197b8093e" name="weighted_sample"><type>numeric::functional::multiplies&lt; Weight, Sample &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__impl_1a631c119a0a9098286c3a02d8fa8c7579" name="float_type"><type>numeric::functional::fdiv&lt; weighted_sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__impl_1a114da540254257a82f8b16738b564565" name="result_type"><type>boost::tuple&lt; float_type, float_type, float_type &gt;</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__impl_1a9fd017af52adb4e5b0e55b1cb3013c59"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__impl_1a39f48e89bc9fd501f751efe987ba7644" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__impl_1aa8369190d8602a9f85ec731def318991" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__impl_1a2593e880e0d53b2b9e1e7c721804d614" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__prob__impl" name="weighted_peaks_over_threshold_prob_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Peaks over Threshold Method for Quantile and Tail Mean Estimation. </purpose><description><para><formalpara><title>See Also:</title><para><link linkend="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__impl">weighted_peaks_over_threshold_impl</link></para>
</formalpara>

</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__prob__impl_1a8634b2b9338a7131aee5b4c264fb64df" name="weighted_sample"><type>numeric::functional::multiplies&lt; Weight, Sample &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__prob__impl_1a1784312169a8106413a55bc986c54c3e" name="float_type"><type>numeric::functional::fdiv&lt; weighted_sample, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__prob__impl_1a1cfeddc2097e1a9d037784a971aba2ec" name="result_type"><type>boost::tuple&lt; float_type, float_type, float_type &gt;</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__prob__impl_1a2adc11cc60de8c4a36b04f9acc6d5cef"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__prob__impl_1a9da9539c4b01f7b97e39874d263dc270" name="operator()"><type>void</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__peaks__over__threshold__prob__impl_1acf012c42dfe220477e07b4da724fd9dc" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__peaks__over__threshold" name="weighted_peaks_over_threshold"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; sum_of_weights &gt;</inherit><inherit access="public">pot_threshold_value</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__peaks__over__threshold__prob" name="weighted_peaks_over_threshold_prob"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; sum_of_weights, tail_weights&lt; LeftRight &gt; &gt;</inherit><inherit access="public">pot_threshold_probability</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__skewness_8hpp" name="boost/accumulators/statistics/weighted_skewness.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ac4ebf39f80b3ce33b099515fdc329483" name="weighted_skewness"><type><classname>extractor</classname>&lt; <classname>tag::weighted_skewness</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__skewness__impl" name="weighted_skewness_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Skewness estimation for weighted samples. </purpose><description><para>The skewness of a sample distribution is defined as the ratio of the 3rd central moment and the <inlineequation><alt>$ 3/2 $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_27.png"/></imageobject><textobject role="tex"><phrase>$ 3/2 $</phrase></textobject></inlinemediaobject></inlineequation>-th power $ of the 2nd central moment (the variance) of the samples. The skewness can also be expressed by the simple moments:</para><para><equation><title/><alt>\[
    \hat{g}_1 =
        \frac
        {\widehat{m}_n^{(3)}-3\widehat{m}_n^{(2)}\hat{\mu}_n+2\hat{\mu}_n^3}
        {\left(\widehat{m}_n^{(2)} - \hat{\mu}_n^{2}\right)^{3/2}}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_28.png"/></imageobject><textobject role="tex"><phrase>\[
    \hat{g}_1 =
        \frac
        {\widehat{m}_n^{(3)}-3\widehat{m}_n^{(2)}\hat{\mu}_n+2\hat{\mu}_n^3}
        {\left(\widehat{m}_n^{(2)} - \hat{\mu}_n^{2}\right)^{3/2}}
\]</phrase></textobject></mediaobject></equation></para><para>where <inlineequation><alt>$ \widehat{m}_n^{(i)} $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_29.png"/></imageobject><textobject role="tex"><phrase>$ \widehat{m}_n^{(i)} $</phrase></textobject></inlinemediaobject></inlineequation> are the <inlineequation><alt>$ i $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_30.png"/></imageobject><textobject role="tex"><phrase>$ i $</phrase></textobject></inlinemediaobject></inlineequation>-th moment and <inlineequation><alt>$ \hat{\mu}_n $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_31.png"/></imageobject><textobject role="tex"><phrase>$ \hat{\mu}_n $</phrase></textobject></inlinemediaobject></inlineequation> the mean (first moment) of the <inlineequation><alt>$ n $</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_32.png"/></imageobject><textobject role="tex"><phrase>$ n $</phrase></textobject></inlinemediaobject></inlineequation> samples.</para><para>The skewness estimator for weighted samples is formally identical to the estimator for unweighted samples, except that the weighted counterparts of all measures it depends on are to be taken. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__skewness__impl_1aad26a36ef490dfdad29068cb813a73de" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__skewness__impl_1a9073f55fbe8163a1efdbc8b140c7ec34" name="result_type"><type>numeric::functional::fdiv&lt; weighted_sample, weighted_sample &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__skewness__impl_1a4505b69c2e7f88b64a2661bfdcf4b605"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__skewness__impl_1a37f5f49a092fec6d49318b9f6779de5c" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__skewness" name="weighted_skewness"><inherit access="public">boost::accumulators::depends_on&lt; weighted_mean, weighted_moment&lt; 2 &gt;, weighted_moment&lt; 3 &gt; &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__sum_8hpp" name="boost/accumulators/statistics/weighted_sum.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__sum__of__variates_3_01VariateType_00_01VariateTag_01_4_01_4" name="feature_of"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::weighted_sum_of_variates&lt; VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::abstract_weighted_sum_of_variates &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ab453815919994b677fd8121231300866" name="weighted_sum"><type><classname>extractor</classname>&lt; <classname>tag::weighted_sum</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a5d5768fd0aec293e38ebcc6ed3bb44cb" name="weighted_sum_of_variates"><type><classname>extractor</classname>&lt; <classname>tag::abstract_weighted_sum_of_variates</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__impl" name="weighted_sum_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__impl_1aa68da8d29bc8a892c33952d25dd4024c" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__impl_1a182bcf72c5f39b65902734d0d2a4a297" name="result_type"><type>weighted_sample</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__impl_1aa55ac94735d7bceb6a1e5fef8818a466"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__impl_1ae15e41d923aefa14de08aac317f15bf8" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__impl_1aed8dd59f4657382da1b5866718067db7" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__impl_1a9d99aa14dba492116df0cd1ab2270e40" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name=""><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1abstract__weighted__sum__of__variates" name="abstract_weighted_sum_of_variates"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__sum" name="weighted_sum"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__sum__of__variates" name="weighted_sum_of_variates"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__sum__kahan_8hpp" name="boost/accumulators/statistics/weighted_sum_kahan.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__sum_07kahan_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::weighted_sum(kahan)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__sum_07kahan_08_4_1a6e3fbdafc91067f837c113716f8c30a0" name="type"><type><classname>tag::weighted_sum_kahan</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1feature__of_3_01tag_1_1weighted__sum__of__variates__kahan_3_01Var586222f4b5d898db7656b603c9bbe500" name="feature_of"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::weighted_sum_of_variates_kahan&lt; VariateType</template-arg><template-arg>VariateTag &gt;</template-arg></specialization><inherit access="public">boost::accumulators::feature_of&lt; tag::abstract_weighted_sum_of_variates &gt;</inherit></struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a46f4b856f2d423e77e431848f1c3bd9c" name="weighted_sum_kahan"><type><classname>extractor</classname>&lt; <classname>tag::weighted_sum_kahan</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a11328c96b74aafa3c95b88930ee43d40" name="weighted_sum_of_variates_kahan"><type><classname>extractor</classname>&lt; <classname>tag::abstract_weighted_sum_of_variates</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__kahan__impl" name="weighted_sum_kahan_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">accumulator_base</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__kahan__impl_1a790d634cdcd0ccfc67d2e781cbce1114" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__kahan__impl_1afeac7f8b41674181aba6c56a467cb8ac" name="result_type"><type>weighted_sample</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__kahan__impl_1ab87184a3fcd04edc4e5580d64815e529"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__kahan__impl_1ac8aa4d4b133eba86dcd979ba2b5cdedc" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__kahan__impl_1a1a0f9970c5fdf4e667d5a17872a31fff" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__sum__kahan__impl_1ad5269a73292c058d2aa9753f074def2c" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__sum__kahan" name="weighted_sum_kahan"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__sum__of__variates__kahan" name="weighted_sum_of_variates_kahan"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__tail__mean_8hpp" name="boost/accumulators/statistics/weighted_tail_mean.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ad76252327f5f88cdce6cc7aef92cfb4e" name="non_coherent_weighted_tail_mean"><type><classname>extractor</classname>&lt; <classname>tag::abstract_non_coherent_tail_mean</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1non__coherent__weighted__tail__mean__impl" name="non_coherent_weighted_tail_mean_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Estimation of the (non-coherent) weighted tail mean based on order statistics (for both left and right tails) </purpose><description><para>An estimation of the non-coherent, weighted tail mean <inlineequation><alt>$\widehat{NCTM}_{n,\alpha}(X)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_14.png"/></imageobject><textobject role="tex"><phrase>$\widehat{NCTM}_{n,\alpha}(X)$</phrase></textobject></inlinemediaobject></inlineequation> is given by the weighted mean of the</para><para><equation><title/><alt>\[
    \lambda = \inf\left\{ l \left| \frac{1}{\bar{w}_n}\sum_{i=1}^{l} w_i \geq \alpha \right. \right\}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_10.png"/></imageobject><textobject role="tex"><phrase>\[
    \lambda = \inf\left\{ l \left| \frac{1}{\bar{w}_n}\sum_{i=1}^{l} w_i \geq \alpha \right. \right\}
\]</phrase></textobject></mediaobject></equation></para><para>smallest samples (left tail) or the weighted mean of the</para><para><equation><title/><alt>\[
    n + 1 - \rho = n + 1 - \sup\left\{ r \left| \frac{1}{\bar{w}_n}\sum_{i=r}^{n} w_i \geq (1 - \alpha) \right. \right\}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_11.png"/></imageobject><textobject role="tex"><phrase>\[
    n + 1 - \rho = n + 1 - \sup\left\{ r \left| \frac{1}{\bar{w}_n}\sum_{i=r}^{n} w_i \geq (1 - \alpha) \right. \right\}
\]</phrase></textobject></mediaobject></equation></para><para>largest samples (right tail) above a quantile <inlineequation><alt>$\hat{q}_{\alpha}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_24.png"/></imageobject><textobject role="tex"><phrase>$\hat{q}_{\alpha}$</phrase></textobject></inlinemediaobject></inlineequation> of level <inlineequation><alt>$\alpha$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_20.png"/></imageobject><textobject role="tex"><phrase>$\alpha$</phrase></textobject></inlinemediaobject></inlineequation>, <inlineequation><alt>$n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_3.png"/></imageobject><textobject role="tex"><phrase>$n$</phrase></textobject></inlinemediaobject></inlineequation> being the total number of sample and <inlineequation><alt>$\bar{w}_n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_5.png"/></imageobject><textobject role="tex"><phrase>$\bar{w}_n$</phrase></textobject></inlinemediaobject></inlineequation> the sum of all <inlineequation><alt>$n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_3.png"/></imageobject><textobject role="tex"><phrase>$n$</phrase></textobject></inlinemediaobject></inlineequation> weights:</para><para><equation><title/><alt>\[
    \widehat{NCTM}_{n,\alpha}^{\mathrm{left}}(X) = \frac{\sum_{i=1}^{\lambda} w_i X_{i:n}}{\sum_{i=1}^{\lambda} w_i},
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_25.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{NCTM}_{n,\alpha}^{\mathrm{left}}(X) = \frac{\sum_{i=1}^{\lambda} w_i X_{i:n}}{\sum_{i=1}^{\lambda} w_i},
\]</phrase></textobject></mediaobject></equation></para><para><equation><title/><alt>\[
    \widehat{NCTM}_{n,\alpha}^{\mathrm{right}}(X) = \frac{\sum_{i=\rho}^n w_i X_{i:n}}{\sum_{i=\rho}^n w_i}.
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_26.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{NCTM}_{n,\alpha}^{\mathrm{right}}(X) = \frac{\sum_{i=\rho}^n w_i X_{i:n}}{\sum_{i=\rho}^n w_i}.
\]</phrase></textobject></mediaobject></equation></para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1non__coherent__weighted__tail__mean__impl_1ac60033cb3f0388b2c1d1993920723e97" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1non__coherent__weighted__tail__mean__impl_1a117dc1546b9213e14a1542034ce5065c" name="float_type"><type>numeric::functional::fdiv&lt; Weight, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1non__coherent__weighted__tail__mean__impl_1a8ac83f0fb4944b8e3171440959da993b" name="result_type"><type>numeric::functional::fdiv&lt; weighted_sample, std::size_t &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1non__coherent__weighted__tail__mean__impl_1a9dbb03c7acedd33c79a0dde43f3d13c9"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1non__coherent__weighted__tail__mean__impl_1aa38637135fcca317b8ed788de58da0d1" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1non__coherent__weighted__tail__mean" name="non_coherent_weighted_tail_mean"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; sum_of_weights, tail_weights&lt; LeftRight &gt; &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1non__coherent__weighted__tail__mean_1aca221c065e3f2f14b1180af7c2ad1ea0" name="impl"><type><classname>accumulators::impl::non_coherent_weighted_tail_mean_impl</classname>&lt; mpl::_1, mpl::_2, LeftRight &gt;</type></typedef>
</struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__tail__quantile_8hpp" name="boost/accumulators/statistics/weighted_tail_quantile.hpp">
<namespace name="boost">
<namespace name="accumulators">
<namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ab6d739fa7e1b2909524deea9195e0e68" name="weighted_tail_quantile"><type><classname>extractor</classname>&lt; <classname>tag::quantile</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__tail__quantile__impl" name="weighted_tail_quantile_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Tail quantile estimation based on order statistics of weighted samples (for both left and right tails) </purpose><description><para>An estimator <inlineequation><alt>$\hat{q}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_19.png"/></imageobject><textobject role="tex"><phrase>$\hat{q}$</phrase></textobject></inlinemediaobject></inlineequation> of tail quantiles with level <inlineequation><alt>$\alpha$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_20.png"/></imageobject><textobject role="tex"><phrase>$\alpha$</phrase></textobject></inlinemediaobject></inlineequation> based on order statistics <inlineequation><alt>$X_{1:n} \leq X_{2:n} \leq\dots\leq X_{n:n}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_21.png"/></imageobject><textobject role="tex"><phrase>$X_{1:n} \leq X_{2:n} \leq\dots\leq X_{n:n}$</phrase></textobject></inlinemediaobject></inlineequation> of weighted samples are given by <inlineequation><alt>$X_{\lambda:n}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_22.png"/></imageobject><textobject role="tex"><phrase>$X_{\lambda:n}$</phrase></textobject></inlinemediaobject></inlineequation> (left tail) and <inlineequation><alt>$X_{\rho:n}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_23.png"/></imageobject><textobject role="tex"><phrase>$X_{\rho:n}$</phrase></textobject></inlinemediaobject></inlineequation> (right tail), where \f[
    \lambda = \inf\left\{ l \left| \frac{1}{\bar{w}_n}\sum_{i=1}^{l} w_i \geq \alpha \right. \right\}
\f]
 and \f[
    \rho = \sup\left\{ r \left| \frac{1}{\bar{w}_n}\sum_{i=r}^{n} w_i \geq (1 - \alpha) \right. \right\},
\f]
 <inlineequation><alt>$n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_3.png"/></imageobject><textobject role="tex"><phrase>$n$</phrase></textobject></inlinemediaobject></inlineequation> being the number of samples and <inlineequation><alt>$\bar{w}_n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_5.png"/></imageobject><textobject role="tex"><phrase>$\bar{w}_n$</phrase></textobject></inlinemediaobject></inlineequation> the sum of all weights.</para><para>
</para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__tail__quantile__impl_1a84adc4ac0b679c79a3d642bbe1b9c839" name="float_type"><type>numeric::functional::fdiv&lt; Weight, std::size_t &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__tail__quantile__impl_1ac2c398bcb3c993c4f0d2059d7ca16b0b" name="result_type"><type>Sample</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__tail__quantile__impl_1a0365f893185c9ff4da97127c019640e1"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__tail__quantile__impl_1a7a8db1eb82af9dbb1084f79f48978378" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__tail__quantile" name="weighted_tail_quantile"><template>
      <template-type-parameter name="LeftRight"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; sum_of_weights, tail_weights&lt; LeftRight &gt; &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__tail__variate__means_8hpp" name="boost/accumulators/statistics/weighted_tail_variate_means.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__tail__variate__means_3_01LeftRig79568bcc4f728e6edb8f9e36dd0cc475" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::weighted_tail_variate_means&lt; LeftRight</template-arg><template-arg>VariateType</template-arg><template-arg>VariateTag &gt;(absolute)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__tail__variate__means_3_01LeftRig79568bcc4f728e6edb8f9e36dd0cc475_1ad6a2059ed698b48242ca4aaced7bd898" name="type"><type><classname>tag::absolute_weighted_tail_variate_means</classname>&lt; LeftRight, VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__tail__variate__means_3_01LeftRigcdc14faae72816ed35526eb9d6f01528" name="as_feature"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><specialization><template-arg>tag::weighted_tail_variate_means&lt; LeftRight</template-arg><template-arg>VariateType</template-arg><template-arg>VariateTag &gt;(relative)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__tail__variate__means_3_01LeftRigcdc14faae72816ed35526eb9d6f01528_1ae091b3a5f5d739dbe18d4a98266fcf07" name="type"><type><classname>tag::relative_weighted_tail_variate_means</classname>&lt; LeftRight, VariateType, VariateTag &gt;</type></typedef>
</struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ab9abc2fd5ba11b785b08d0a8a66438d4" name="weighted_tail_variate_means"><type><classname>extractor</classname>&lt; <classname>tag::abstract_absolute_tail_variate_means</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a52a603efd32f8d0e076b0fe9d510d588" name="relative_weighted_tail_variate_means"><type><classname>extractor</classname>&lt; <classname>tag::abstract_relative_tail_variate_means</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__tail__variate__means__impl" name="weighted_tail_variate_means_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="Impl"/>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Estimation of the absolute and relative weighted tail variate means (for both left and right tails) </purpose><description><para>For all <inlineequation><alt>$j$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_9.png"/></imageobject><textobject role="tex"><phrase>$j$</phrase></textobject></inlinemediaobject></inlineequation>-th variates associated to the</para><para><equation><title/><alt>\[
    \lambda = \inf\left\{ l \left| \frac{1}{\bar{w}_n}\sum_{i=1}^{l} w_i \geq \alpha \right. \right\}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_10.png"/></imageobject><textobject role="tex"><phrase>\[
    \lambda = \inf\left\{ l \left| \frac{1}{\bar{w}_n}\sum_{i=1}^{l} w_i \geq \alpha \right. \right\}
\]</phrase></textobject></mediaobject></equation></para><para>smallest samples (left tail) or the weighted mean of the</para><para><equation><title/><alt>\[
    n + 1 - \rho = n + 1 - \sup\left\{ r \left| \frac{1}{\bar{w}_n}\sum_{i=r}^{n} w_i \geq (1 - \alpha) \right. \right\}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_11.png"/></imageobject><textobject role="tex"><phrase>\[
    n + 1 - \rho = n + 1 - \sup\left\{ r \left| \frac{1}{\bar{w}_n}\sum_{i=r}^{n} w_i \geq (1 - \alpha) \right. \right\}
\]</phrase></textobject></mediaobject></equation></para><para>largest samples (right tail), the absolute weighted tail means <inlineequation><alt>$\widehat{ATM}_{n,\alpha}(X, j)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_12.png"/></imageobject><textobject role="tex"><phrase>$\widehat{ATM}_{n,\alpha}(X, j)$</phrase></textobject></inlinemediaobject></inlineequation> are computed and returned as an iterator range. Alternatively, the relative weighted tail means <inlineequation><alt>$\widehat{RTM}_{n,\alpha}(X, j)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_13.png"/></imageobject><textobject role="tex"><phrase>$\widehat{RTM}_{n,\alpha}(X, j)$</phrase></textobject></inlinemediaobject></inlineequation> are returned, which are the absolute weighted tail means normalized with the weighted (non-coherent) sample tail mean <inlineequation><alt>$\widehat{NCTM}_{n,\alpha}(X)$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_14.png"/></imageobject><textobject role="tex"><phrase>$\widehat{NCTM}_{n,\alpha}(X)$</phrase></textobject></inlinemediaobject></inlineequation>.</para><para><equation><title/><alt>\[
    \widehat{ATM}_{n,\alpha}^{\mathrm{right}}(X, j) =
        \frac{1}{\sum_{i=\rho}^n w_i}
        \sum_{i=\rho}^n w_i \xi_{j,i}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_15.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{ATM}_{n,\alpha}^{\mathrm{right}}(X, j) =
        \frac{1}{\sum_{i=\rho}^n w_i}
        \sum_{i=\rho}^n w_i \xi_{j,i}
\]</phrase></textobject></mediaobject></equation></para><para><equation><title/><alt>\[
    \widehat{ATM}_{n,\alpha}^{\mathrm{left}}(X, j) =
        \frac{1}{\sum_{i=1}^{\lambda}}
        \sum_{i=1}^{\lambda} w_i \xi_{j,i}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_16.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{ATM}_{n,\alpha}^{\mathrm{left}}(X, j) =
        \frac{1}{\sum_{i=1}^{\lambda}}
        \sum_{i=1}^{\lambda} w_i \xi_{j,i}
\]</phrase></textobject></mediaobject></equation></para><para><equation><title/><alt>\[
    \widehat{RTM}_{n,\alpha}^{\mathrm{right}}(X, j) =
        \frac{\sum_{i=\rho}^n w_i \xi_{j,i}}
    {\sum_{i=\rho}^n w_i \widehat{NCTM}_{n,\alpha}^{\mathrm{right}}(X)}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_17.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{RTM}_{n,\alpha}^{\mathrm{right}}(X, j) =
        \frac{\sum_{i=\rho}^n w_i \xi_{j,i}}
    {\sum_{i=\rho}^n w_i \widehat{NCTM}_{n,\alpha}^{\mathrm{right}}(X)}
\]</phrase></textobject></mediaobject></equation></para><para><equation><title/><alt>\[
    \widehat{RTM}_{n,\alpha}^{\mathrm{left}}(X, j) =
        \frac{\sum_{i=1}^{\lambda} w_i \xi_{j,i}}
    {\sum_{i=1}^{\lambda} w_i \widehat{NCTM}_{n,\alpha}^{\mathrm{left}}(X)}
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_18.png"/></imageobject><textobject role="tex"><phrase>\[
    \widehat{RTM}_{n,\alpha}^{\mathrm{left}}(X, j) =
        \frac{\sum_{i=1}^{\lambda} w_i \xi_{j,i}}
    {\sum_{i=1}^{\lambda} w_i \widehat{NCTM}_{n,\alpha}^{\mathrm{left}}(X)}
\]</phrase></textobject></mediaobject></equation> </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__tail__variate__means__impl_1ac291593c705340b919f6c2a4b96b6c9a" name="float_type"><type>numeric::functional::fdiv&lt; Weight, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__tail__variate__means__impl_1aef36bbb13f1a442e02e0fc4ffca3e8a1" name="array_type"><type>numeric::functional::fdiv&lt; typenamenumeric::functional::multiplies&lt; VariateType, Weight &gt;::result_type, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__tail__variate__means__impl_1aa4add4bb8184baeda3712d9c8beca93e" name="result_type"><type>iterator_range&lt; typename array_type::iterator &gt;</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__tail__variate__means__impl_1aac4da35fe768743eae0f1a7449c42da9"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__tail__variate__means__impl_1a6b435cca844accf3fb8f95d62a665771" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__tail__variate__means__impl_1a965d956429a377330e08927dd61246ff" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1absolute__weighted__tail__variate__means" name="absolute_weighted_tail_variate_means"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; non_coherent_weighted_tail_mean&lt; LeftRight &gt;, tail_variate&lt; VariateType, VariateTag, LeftRight &gt;, tail_weights&lt; LeftRight &gt; &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1absolute__weighted__tail__variate__means_1a6a9143e727d8fd4afb4f2b00d334fef3" name="impl"><type><classname>accumulators::impl::weighted_tail_variate_means_impl</classname>&lt; mpl::_1, mpl::_2, <classname>absolute</classname>, LeftRight, VariateType &gt;</type></typedef>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1relative__weighted__tail__variate__means" name="relative_weighted_tail_variate_means"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template><inherit access="public">boost::accumulators::depends_on&lt; non_coherent_weighted_tail_mean&lt; LeftRight &gt;, tail_variate&lt; VariateType, VariateTag, LeftRight &gt;, tail_weights&lt; LeftRight &gt; &gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1relative__weighted__tail__variate__means_1aa69197dc07906158f4f83b9a562861bb" name="impl"><type><classname>accumulators::impl::weighted_tail_variate_means_impl</classname>&lt; mpl::_1, mpl::_2, <classname>relative</classname>, LeftRight, VariateType &gt;</type></typedef>
</struct></namespace>
</namespace>
<namespace name="numeric">
<namespace name="functional">
<struct id="doxygen.statistics_library_reference.structboost_1_1numeric_1_1functional_1_1multiply__and__promote__to__double" name="multiply_and_promote_to_double"><template>
      <template-type-parameter name="T"/>
      <template-type-parameter name="U"/>
    </template><inherit access="public">multiplies&lt; T, double const &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.weighted__variance_8hpp" name="boost/accumulators/statistics/weighted_variance.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__variance_07immediate_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::weighted_variance(immediate)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__variance_07immediate_08_4_1a92344e78a708dbc3243f77bd95346ef0" name="type"><type><classname>tag::weighted_variance</classname></type></typedef>
</struct-specialization><struct-specialization id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__variance_07lazy_08_4" name="as_feature"><template>
    </template><specialization><template-arg>tag::weighted_variance(lazy)</template-arg></specialization><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1as__feature_3_01tag_1_1weighted__variance_07lazy_08_4_1a463f59c8c8b802c57b56b33f6e053cc9" name="type"><type><classname>tag::lazy_weighted_variance</classname></type></typedef>
</struct-specialization><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1afce9b312f4053045e2a63fef7978bf03" name="lazy_weighted_variance"><type><classname>extractor</classname>&lt; <classname>tag::lazy_weighted_variance</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ab354f246064788a725f687d0c9107875" name="weighted_variance"><type><classname>extractor</classname>&lt; <classname>tag::weighted_variance</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__weighted__variance__impl" name="lazy_weighted_variance_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="MeanFeature"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Lazy calculation of variance of weighted samples. </purpose><description><para>The default implementation of the variance of weighted samples is based on the second moment <inlineequation><alt>$\widehat{m}_n^{(2)}$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_0.png"/></imageobject><textobject role="tex"><phrase>$\widehat{m}_n^{(2)}$</phrase></textobject></inlinemediaobject></inlineequation> (weighted_moment&lt;2&gt;) and the mean <inlineequation><alt>$ \hat{\mu}_n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_1.png"/></imageobject><textobject role="tex"><phrase>$ \hat{\mu}_n$</phrase></textobject></inlinemediaobject></inlineequation> (weighted_mean):  <equation><title/><alt>\[
    \hat{\sigma}_n^2 = \widehat{m}_n^{(2)}-\hat{\mu}_n^2,
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_2.png"/></imageobject><textobject role="tex"><phrase>\[
    \hat{\sigma}_n^2 = \widehat{m}_n^{(2)}-\hat{\mu}_n^2,
\]</phrase></textobject></mediaobject></equation> where <inlineequation><alt>$n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_3.png"/></imageobject><textobject role="tex"><phrase>$n$</phrase></textobject></inlinemediaobject></inlineequation> is the number of samples. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__weighted__variance__impl_1a08f9e7e04466d536114fb44df3af241b" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__weighted__variance__impl_1a975de3e0014fd0b93c25e2e0656c3066" name="result_type"><type>numeric::functional::fdiv&lt; weighted_sample, Weight &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__weighted__variance__impl_1a3dd9303390550fdfbd7dc5c61bdc9804"><parameter name=""><paramtype>dont_care</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1lazy__weighted__variance__impl_1afd3a65e01f6ef03dac09fd24da89d96f" name="result" cv="const"><type>result_type</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
</method-group>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__variance__impl" name="weighted_variance_impl"><template>
      <template-type-parameter name="Sample"/>
      <template-type-parameter name="Weight"/>
      <template-type-parameter name="MeanFeature"/>
      <template-type-parameter name="Tag"/>
    </template><inherit access="public">accumulator_base</inherit><purpose>Iterative calculation of variance of weighted samples. </purpose><description><para>Iterative calculation of variance of weighted samples:  <equation><title/><alt>\[
    \hat{\sigma}_n^2 =
        \frac{\bar{w}_n - w_n}{\bar{w}_n}\hat{\sigma}_{n - 1}^2
      + \frac{w_n}{\bar{w}_n - w_n}\left(X_n - \hat{\mu}_n\right)^2
    ,\quad n\ge2,\quad\hat{\sigma}_0^2 = 0.
\]</alt><mediaobject><imageobject role="html"><imagedata format="PNG" align="center" fileref="images/accumulators//form_4.png"/></imageobject><textobject role="tex"><phrase>\[
    \hat{\sigma}_n^2 =
        \frac{\bar{w}_n - w_n}{\bar{w}_n}\hat{\sigma}_{n - 1}^2
      + \frac{w_n}{\bar{w}_n - w_n}\left(X_n - \hat{\mu}_n\right)^2
    ,\quad n\ge2,\quad\hat{\sigma}_0^2 = 0.
\]</phrase></textobject></mediaobject></equation> where <inlineequation><alt>$\bar{w}_n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_5.png"/></imageobject><textobject role="tex"><phrase>$\bar{w}_n$</phrase></textobject></inlinemediaobject></inlineequation> is the sum of the <inlineequation><alt>$n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_3.png"/></imageobject><textobject role="tex"><phrase>$n$</phrase></textobject></inlinemediaobject></inlineequation> weights <inlineequation><alt>$w_i$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_6.png"/></imageobject><textobject role="tex"><phrase>$w_i$</phrase></textobject></inlinemediaobject></inlineequation> and <inlineequation><alt>$\hat{\mu}_n$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_7.png"/></imageobject><textobject role="tex"><phrase>$\hat{\mu}_n$</phrase></textobject></inlinemediaobject></inlineequation> the estimate of the mean of the weighted samples. Note that the sample variance is not defined for <inlineequation><alt>$n &lt;= 1$</alt><inlinemediaobject><imageobject role="html"><imagedata format="PNG" fileref="images/accumulators//form_8.png"/></imageobject><textobject role="tex"><phrase>$n &lt;= 1$</phrase></textobject></inlinemediaobject></inlineequation>. </para></description><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__variance__impl_1a2bf75384877b76458d354feeeec36449" name="weighted_sample"><type>numeric::functional::multiplies&lt; Sample, Weight &gt;::result_type</type></typedef>
<typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__variance__impl_1a8455527f1377725b37ad13d0a641ed8d" name="result_type"><type>numeric::functional::fdiv&lt; weighted_sample, Weight &gt;::result_type</type></typedef>
<method-group name="public member functions">
<constructor id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__variance__impl_1a81b332d040836f18cc8e2d232ec988c6"><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></constructor>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__variance__impl_1a6a4f2f82775d2357b08ceae76753a7c4" name="operator()"><type>void</type><template>
          <template-type-parameter name="Args"/>
        </template><parameter name="args"><paramtype>Args const &amp;</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__variance__impl_1afb46f7cf352984f269a28ccb07ddd112" name="result" cv="const"><type>result_type</type><parameter name=""><paramtype>dont_care</paramtype></parameter></method>
<method id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1weighted__variance__impl_1ac61ede7a132e9878616297820f6f6537" name="serialize"><type>void</type><template>
          <template-type-parameter name="Archive"/>
        </template><parameter name="ar"><paramtype>Archive &amp;</paramtype></parameter><parameter name="file_version"><paramtype>const unsigned int</paramtype></parameter></method>
</method-group>
</struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1lazy__weighted__variance" name="lazy_weighted_variance"><inherit access="public">boost::accumulators::depends_on&lt; weighted_moment&lt; 2 &gt;, weighted_mean &gt;</inherit></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__variance" name="weighted_variance"><inherit access="public">boost::accumulators::depends_on&lt; count, immediate_weighted_mean &gt;</inherit></struct></namespace>
</namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.with__error_8hpp" name="boost/accumulators/statistics/with_error.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1with__error" name="with_error"><template>
      <template-type-parameter name="Feature1"/>
      <template-type-parameter name="Feature2"/>
      <template-nontype-parameter name=""><type>...</type></template-nontype-parameter>
    </template></struct></namespace>
</namespace>
</header>
<header id="doxygen.statistics_library_reference.statistics__fwd_8hpp" name="boost/accumulators/statistics_fwd.hpp">
<namespace name="boost">
<namespace name="accumulators">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1absolute" name="absolute"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1for__median" name="for_median"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1immediate" name="immediate"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1kahan" name="kahan"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1lazy" name="lazy"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1left" name="left"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1linear" name="linear"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1quadratic" name="quadratic"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1regular" name="regular"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1relative" name="relative"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1right" name="right"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1unweighted" name="unweighted"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1weighted" name="weighted"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1with__density" name="with_density"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1with__p__square__cumulative__distribution" name="with_p_square_cumulative_distribution"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1with__p__square__quantile" name="with_p_square_quantile"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1with__threshold__probability" name="with_threshold_probability"/><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1with__threshold__value" name="with_threshold_value"/><namespace name="extract">
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1a6a98a2311dc215c21388f51c6efedd8f" name="quantile"><type><classname>extractor</classname>&lt; <classname>tag::quantile</classname> &gt; const</type></data-member>
<data-member id="doxygen.statistics_library_reference.namespaceboost_1_1accumulators_1_1extract_1ae2efcc4197afb6d5aad2e9ce990350fa" name="tail_mean"><type><classname>extractor</classname>&lt; <classname>tag::tail_mean</classname> &gt; const</type></data-member>
</namespace>
<namespace name="impl">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1impl_1_1rolling__mean__impl" name="rolling_mean_impl"><template>
      <template-type-parameter name="Sample"/>
    </template></struct>
</namespace>
<namespace name="tag">
<struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1left__tail__variate" name="left_tail_variate"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
      <template-type-parameter name="LeftRight"/>
    </template></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1quantile" name="quantile"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1quantile_1a0f02412d216f0c0aeb7d131ea82f1f44" name="impl"><type>mpl::print&lt; class ____MISSING_SPECIFIC_QUANTILE_FEATURE_IN_ACCUMULATOR_SET____ &gt;</type></typedef>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1right__tail__variate" name="right_tail_variate"><template>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
      <template-type-parameter name="LeftRight"/>
    </template></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1tail__mean" name="tail_mean"><inherit access="public">boost::accumulators::depends_on&lt;&gt;</inherit><typedef id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1tail__mean_1afbfa6ecac71f9b2ea5d8a5daa7485912" name="impl"><type>mpl::print&lt; class ____MISSING_SPECIFIC_TAIL_MEAN_FEATURE_IN_ACCUMULATOR_SET____ &gt;</type></typedef>
</struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1tail__variate__means" name="tail_variate_means"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template></struct><struct id="doxygen.statistics_library_reference.structboost_1_1accumulators_1_1tag_1_1weighted__tail__variate__means" name="weighted_tail_variate_means"><template>
      <template-type-parameter name="LeftRight"/>
      <template-type-parameter name="VariateType"/>
      <template-type-parameter name="VariateTag"/>
    </template></struct></namespace>
</namespace>
</namespace>
</header>
</library-reference>