STK++ 0.9.13
|
Derived class of Criterion for computing the AIC Criterion The AIC criteria is a penalization of the likelihood given by the formula. More...
#include <STK_PenCriterion.h>
Public Member Functions | |
AICCriterion () | |
Default Constructor. | |
AICCriterion (IStatModelBase *const p_model) | |
Constructor. | |
AICCriterion (IStatModelBase const &model) | |
Constructor. | |
AICCriterion (AICCriterion const &criterion) | |
copy Constructor. | |
virtual | ~AICCriterion () |
virtual destructor. | |
AICCriterion * | clone () const |
clone pattern | |
virtual bool | run () |
implementation of the virtual method run | |
![]() | |
virtual | ~ICriterion () |
Destructor. | |
Real const & | value () const |
void | setModel (IStatModelBase const *p_model) |
void | setModel (IStatModelBase const &model) |
![]() | |
String const & | error () const |
get the last error message. | |
Additional Inherited Members | |
![]() | |
ICriterion () | |
Default Constructor. | |
ICriterion (IStatModelBase const *p_model) | |
Constructor. | |
ICriterion (IStatModelBase const &model) | |
Constructor. | |
ICriterion (ICriterion const &criterion) | |
copy Constructor. | |
![]() | |
IRunnerBase () | |
default constructor | |
IRunnerBase (IRunnerBase const &runner) | |
copy constructor | |
virtual | ~IRunnerBase () |
destructor | |
virtual void | update () |
update the runner. | |
![]() | |
IStatModelBase const * | p_model_ |
The current statistical model to use. | |
Real | value_ |
Computed value of the criterion. | |
![]() | |
String | msg_error_ |
String with the last error message. | |
bool | hasRun_ |
true if run has been used, false otherwise | |
Derived class of Criterion for computing the AIC Criterion The AIC criteria is a penalization of the likelihood given by the formula.
where
Definition at line 97 of file STK_PenCriterion.h.
|
inline |
Default Constructor.
Definition at line 101 of file STK_PenCriterion.h.
Referenced by clone().
|
inline |
Constructor.
p_model | apointer on the current model |
Definition at line 105 of file STK_PenCriterion.h.
|
inline |
Constructor.
model | the current model |
Definition at line 109 of file STK_PenCriterion.h.
|
inline |
copy Constructor.
criterion | the criterion to copy |
Definition at line 113 of file STK_PenCriterion.h.
|
inlinevirtual |
|
inline |
|
inlinevirtual |
implementation of the virtual method run
Implements STK::IRunnerBase.
Definition at line 123 of file STK_PenCriterion.h.
References STK::IStatModelBase::computeAIC(), STK::IRunnerBase::msg_error_, STK::ICriterion::p_model_, run(), STKERROR_NO_ARG, and STK::ICriterion::value_.
Referenced by run().