STK++ 1.0
STK_Stat_MultivariateReal.h File Reference

In this file we specialize the class Multivariate to real type. More...

#include "../../STKernel/include/STK_Arithmetic.h"
#include "../../STKernel/include/STK_Misc.h"
#include "../../Arrays/include/STK_MatrixSquare.h"
#include "STK_Stat_UnivariateReal.h"
#include "STK_Stat_BivariateRealReal.h"
#include "STK_Stat_Multivariate.h"
Include dependency graph for STK_Stat_MultivariateReal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  STK::Stat::Multivariate< Real, TContainer2D >
 Computation of the Multivariate Statistics of a 2D Container of Real. More...

Namespaces

namespace  STK
 

STK means the Statistical ToolKit.


namespace  STK::Stat
 

this is the namespace for the statistical treatment.


Typedefs

typedef Multivariate< Real,
Matrix > 
STK::Stat::MultivariateMatrix

Functions

template<class TContainerHo , class TContainer2D >
void STK::Stat::mean (ITContainer2D< Real, TContainer2D > const &V, ITContainer1D< Real, TContainerHo > &mean)
 Compute the mean of the container V and store the result in mean.
template<class TContainerHo , class TContainerVe , class TContainer2D >
void STK::Stat::mean (ITContainer2D< Real, TContainer2D > const &V, ITContainer1D< Real, TContainerVe > const &W, ITContainer1D< Real, TContainerHo > &mean)
 Compute the (weighted) mean of the variable V

\[ \hat{\mu} = \frac{1}{\sum_{i=1}^n W(i)} \sum_{i=1}^n W(i) V(i) \]

if there is weights.

template<class TContainerHo , class TContainer2D >
TContainerHo STK::Stat::mean (ITContainer2D< Real, TContainer2D > const &V)
 Compute the mean of the container V.
template<class TContainerHo , class TContainerVe , class TContainer2D >
TContainerHo STK::Stat::mean (ITContainer2D< Real, TContainer2D > const &V, ITContainer1D< Real, TContainerVe > const &W)
 Compute the (weighted) mean of the variable V

\[ \hat{\mu} = \frac{1}{\sum_{i=1}^n W(i)} \sum_{i=1}^n W(i) V(i) \]

if there is weights.

template<class TContainer2D >
TContainer2D::TContainerHo STK::Stat::variance (ITContainer2D< Real, TContainer2D > const &V, bool unbiased=false)
 Compute the variance of the variable V.
template<class TContainerHo , class TContainerVe , class TContainer2D >
TContainer2D::TContainerHo STK::Stat::variance (ITContainer2D< Real, TContainer2D > const &V, TContainerVe const &W, bool unbiased=false)
 Compute the weighted variance of the variable V.
template<class TContainerHo , class TContainerVe , class TContainer2D >
TContainerHo STK::Stat::varianceWithFixedMean (ITContainer2D< Real, TContainer2D > const &V, TContainerHo const &mu, bool unbiased=false)
 Compute the variance of the variable V with fixed mean.
template<class TContainerHo , class TContainerVe , class TContainer2D >
TContainerHo STK::Stat::varianceWithFixedMean (ITContainer2D< Real, TContainer2D > const &V, TContainerVe const &W, TContainerHo const &mu, bool unbiased=false)
 Compute the weighted variance of the variables V with fixed mean.
template<class TContainer2D >
void STK::Stat::covariance (TContainer2D const &V, MatrixSquare &cov, bool unbiased=false)
 Compute the covariance of the data set V.
template<class TContainerVe , class TContainer2D >
void STK::Stat::covariance (ITContainer2D< Real, TContainer2D > const &V, ITContainer1D< Real, TContainerVe > const &W, MatrixSquare &cov, bool unbiased=false)
 Compute the weighted covariance of the data set V.

Detailed Description

In this file we specialize the class Multivariate to real type.

Definition in file STK_Stat_MultivariateReal.h.