Weighted Covariance Estimator. More...
#include <statistics_fwd.hpp>
Public Types | |
typedef numeric::functional::multiplies < Weight, typename numeric::functional::fdiv < Sample, std::size_t > ::result_type >::result_type | weighted_sample_type |
typedef numeric::functional::multiplies < Weight, typename numeric::functional::fdiv < VariateType, std::size_t > ::result_type >::result_type | weighted_variate_type |
typedef numeric::functional::outer_product < weighted_sample_type, weighted_variate_type > ::result_type | result_type |
typedef mpl::false_ | is_droppable |
Public Member Functions | |
template<typename Args > | |
weighted_covariance_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) |
Weighted Covariance Estimator.
An iterative Monte Carlo estimator for the weighted covariance , where is a sample and a variate, is given by:
and being the weighted means of the samples and variates and the sum of the first weights .
|
inherited |
typedef numeric::functional::outer_product<weighted_sample_type, weighted_variate_type>::result_type boost::accumulators::impl::weighted_covariance_impl< Sample, Weight, VariateType, VariateTag >::result_type |
typedef numeric::functional::multiplies<Weight, typename numeric::functional::fdiv<Sample, std::size_t>::result_type>::result_type boost::accumulators::impl::weighted_covariance_impl< Sample, Weight, VariateType, VariateTag >::weighted_sample_type |
typedef numeric::functional::multiplies<Weight, typename numeric::functional::fdiv<VariateType, std::size_t>::result_type>::result_type boost::accumulators::impl::weighted_covariance_impl< Sample, Weight, VariateType, VariateTag >::weighted_variate_type |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |