35#ifndef STK_STAT_MULTIVARIATE_H
36#define STK_STAT_MULTIVARIATE_H
53template <
class Array,
class WColVector,
typename Type =
typename Array::Type >
111 for (
int j= this->
p_data_->beginCols(); j<= this->
p_data_->lastIdxCols(); j++)
116 for (
int i= this->
p_data_->beginRows(); i<= this->
p_data_->lastIdxRows(); i++)
126 virtual bool run( WColVector
const& weights)
A Array2DVector is a one dimensional horizontal container.
#define STKERROR_NO_ARG(Where, Error)
This file include all the other header files of the project Sdk.
template one dimensional Arrays.
String msg_error_
String with the last error message.
Array const * p_data() const
IRunnerUnsupervised< Array, WColVector > Runner2D
Multivariate(Array const &data)
Constructor.
virtual ~Multivariate()
virtual destructor.
virtual bool run(WColVector const &weights)
run the estimation of the weighted multivariate statistics.
Array1D< int > nbAvailable_
number of observed data of each variables
Array1D< int > const & nbMissingSamples() const
Number of missing values.
int nbSamples_
number of samples
Multivariate(Array const *p_data)
Constructor.
virtual bool run()
run the estimation of the Multivariate statistics.
Array1D< int > nbMiss_
number of missing data of each variables
int nbVar_
Number of variables.
Array1D< int > const & nbAvailableSamples() const
this is the namespace for the statistical treatment.
The namespace STK is the main domain space of the Statistical ToolKit project.
static bool isFinite(Type const &x)