STK++ 0.9.13
|
Base class for all Statistical Models [Deprecated], have been replaced by IStatModel. More...
#include <STK_IStatModel.h>
Public Types | |
typedef hidden::ModelTraits< Derived >::Data | Data |
typedef hidden::ModelTraits< Derived >::ParamHandler | ParamHandler |
typedef Data::Type | Type |
Type of the data contained in the container. | |
typedef hidden::Traits< Data >::Row | Row |
Type of the row of the data container (a sample) | |
Public Member Functions | |
~IStatModel () | |
destructor | |
Data const *const | p_dataij () const |
void | setData (Data const &data) |
Set the data set of the model. | |
void | setData (Data const *p_data) |
Set the data set of the model. | |
![]() | |
int | nbSample () const |
Real | lnNbSample () const |
int | nbVariable () const |
Real | lnLikelihood () const |
Real | likelihood () const |
int | nbFreeParameter () const |
Real | computeBIC () const |
Real | computeAIC () const |
Real | computeML () const |
Protected Member Functions | |
IStatModel (Data const &data) | |
Constructor with data set. | |
IStatModel (Data const *p_data) | |
Constructor with a ptr on the data set. | |
![]() | |
IStatModelBase () | |
Default constructor. | |
IStatModelBase (int nbSample) | |
Constructor with specified dimension. | |
IStatModelBase (int nbSample, int nbVariable) | |
Constructor with specified dimension. | |
IStatModelBase (IStatModelBase const &model) | |
Copy constructor. | |
~IStatModelBase () | |
destructor | |
void | setNbFreeParameter (int const &nbFreeParameter) |
set the number of free parameters of the model | |
void | setNbSample (int const &nbSample) |
set the number of samples of the model | |
void | setNbVariable (int const &nbVariable) |
set the number of variables of the model | |
void | setLnLikelihood (Real const &lnLikelihood) |
set the log-likelihood of the model | |
void | initialize (int nbSample, int nbVariable) |
set the dimensions of the parameters of the model | |
Protected Attributes | |
Data const * | p_dataij_ |
A pointer on the original data set. | |
Base class for all Statistical Models [Deprecated], have been replaced by IStatModel.
A Statistical model,
From a computational point of view a statistical model is defined with the help of two elements
Data
.Data | can be any kind of container for the data set. it should at least derive from ITContainer, |
Definition at line 83 of file STK_IStatModel.h.
typedef hidden::ModelTraits<Derived>::Data STK::IStatModel< Derived >::Data |
Definition at line 86 of file STK_IStatModel.h.
typedef hidden::ModelTraits<Derived>::ParamHandler STK::IStatModel< Derived >::ParamHandler |
Definition at line 87 of file STK_IStatModel.h.
typedef hidden::Traits<Data>::Row STK::IStatModel< Derived >::Row |
Type of the row of the data container (a sample)
Definition at line 92 of file STK_IStatModel.h.
typedef Data::Type STK::IStatModel< Derived >::Type |
Type of the data contained in the container.
Definition at line 90 of file STK_IStatModel.h.
|
inlineprotected |
Constructor with data set.
Definition at line 96 of file STK_IStatModel.h.
|
inlineprotected |
Constructor with a ptr on the data set.
Definition at line 100 of file STK_IStatModel.h.
References STK::IStatModelBase::initialize().
|
inline |
|
inline |
Definition at line 107 of file STK_IStatModel.h.
References STK::IStatModel< Derived >::p_dataij_.
|
inline |
Set the data set of the model.
data | the data set of the model |
Definition at line 111 of file STK_IStatModel.h.
References STK::IStatModel< Derived >::p_dataij_, STK::IStatModelBase::setNbSample(), and STK::IStatModelBase::setNbVariable().
|
inline |
Set the data set of the model.
p_data | the data set of the model |
Definition at line 119 of file STK_IStatModel.h.
References STK::IStatModel< Derived >::p_dataij_, STK::IStatModelBase::setNbSample(), and STK::IStatModelBase::setNbVariable().
|
protected |
A pointer on the original data set.
Definition at line 130 of file STK_IStatModel.h.
Referenced by STK::IStatModel< Derived >::p_dataij(), STK::IStatModel< Derived >::setData(), and STK::IStatModel< Derived >::setData().