npstat::WeightedStatAccumulatorPair Class Reference
Detailed DescriptionThis class functions like a pair of WeightedStatAccumulator objects but it also accumulates the cross term so that the correlation coefficient between two variables can be evaluated. Member Function Documentation◆ accumulate() [1/2]
Accumulate the data from another accumulator ◆ accumulate() [2/2]
Accumulate the data ◆ classId()
Method related to "geners" I/O ◆ corr()
Correlation coefficient between two variables ◆ count()
This method returns the effective number of counts which is (squared sum of weights)/(sum of squared weights) ◆ cov()
Covariance between two variables ◆ crossSumsq()
The sum of cross terms ◆ first()
Statistical summary for the first variable ◆ ncalls()
This method returns the total number of times the "accumulate" method was called since the last reset (or since the object was created) ◆ nfills()
This method returns the number of times the "accumulate" method was called with a positive weight ◆ operator!=()
Logical negation of operator== ◆ operator*()
template<typename ConvToLDouble >
Binary multiplication by a double ◆ operator*=()
template<typename ConvertibleToLDouble >
The effect of "operator*=" is the same as if all values were multiplied by "r" for each "accumulate" call ◆ operator+=() [1/2]
template<typename Triple >
Accumulate the data ◆ operator+=() [2/2]
Add the summary from another accumulator ◆ operator/()
template<typename ConvToLDouble >
Binary division by a double ◆ operator/=()
template<typename ConvertibleToLDouble >
The effect of "operator/=" is the same as if all values were divided by "r" for each "accumulate" call ◆ operator==()
Comparison for equality ◆ reset()
Clear all accumulators ◆ scaleWeights()
Scaling of the weights. The effect is the same as if all weights were multiplied by "r" for each "accumulate" call. Note that r can not be negative for this method. ◆ second()
Statistical summary for the second variable The documentation for this class was generated from the following file: Generated by 1.9.1 |