Iterative calculation of variance of weighted samples. More...
#include <statistics_fwd.hpp>


Public Types | |
| typedef numeric::functional::multiplies < Sample, Weight > ::result_type | weighted_sample |
| typedef numeric::functional::fdiv < weighted_sample, Weight > ::result_type | result_type |
| typedef mpl::false_ | is_droppable |
Public Member Functions | |
| template<typename Args > | |
| weighted_variance_impl (Args const &args) | |
| template<typename Args > | |
| void | operator() (Args const &args) |
| result_type | result (dont_care) const |
| detail::void_ | operator() (dont_care) |
| detail::void_ | add_ref (dont_care) |
| detail::void_ | drop (dont_care) |
| detail::void_ | on_drop (dont_care) |
Iterative calculation of variance of weighted samples.
Iterative calculation of variance of weighted samples:
where
is the sum of the
weights
and
the estimate of the mean of the weighted samples. Note that the sample variance is not defined for
.
|
inherited |
| typedef numeric::functional::fdiv<weighted_sample, Weight>::result_type boost::accumulators::impl::weighted_variance_impl< Sample, Weight, MeanFeature, Tag >::result_type |
| typedef numeric::functional::multiplies<Sample, Weight>::result_type boost::accumulators::impl::weighted_variance_impl< Sample, Weight, MeanFeature, Tag >::weighted_sample |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |