Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram > Class Template Reference

calculates loglikelihood ratio statistics More...

#include <itkLogLikelihoodGoodnessOfFitFunction.h>

Inheritance diagram for itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef LogLikelihoodGoodnessOfFitFunction Self
typedef GoodnessOfFitFunctionBase<
TInputHistogram > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputHistogram::MeasurementType MeasurementType
typedef TInputHistogram::MeasurementVectorType MeasurementVectorType

Public Member Functions

virtual const char * GetNameOfClass () const
 itkStaticConstMacro (MeasurementVectorSize, unsigned int, TInputHistogram::MeasurementVectorSize)

Static Public Member Functions

Pointer New ()

Protected Member Functions

 LogLikelihoodGoodnessOfFitFunction ()
virtual ~LogLikelihoodGoodnessOfFitFunction ()
virtual void GenerateData ()

Detailed Description

template<class TInputHistogram>
class itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >

calculates loglikelihood ratio statistics

This function needs an expected histogram in addition to the observed histogram.

The statistics is $ \sum^{k}_{i=1}x_{i}\log(x_{i}/n\pi_{0i}$

where $ x_{i] $ is the observed frequency of the $i$th bin, and $n\pi_{0i}$ is the expected frequency.

See also:
GoodnessOfFitFunctionBase, GoodnessOfFitMixtureModelCostFunction

Definition at line 42 of file itkLogLikelihoodGoodnessOfFitFunction.h.


Member Typedef Documentation

template<class TInputHistogram>
typedef SmartPointer< const Self > itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >::ConstPointer
 

Reimplemented from itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >.

Definition at line 50 of file itkLogLikelihoodGoodnessOfFitFunction.h.

template<class TInputHistogram>
typedef TInputHistogram::MeasurementType itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >::MeasurementType
 

Reimplemented from itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >.

Definition at line 62 of file itkLogLikelihoodGoodnessOfFitFunction.h.

template<class TInputHistogram>
typedef TInputHistogram::MeasurementVectorType itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >::MeasurementVectorType
 

Reimplemented from itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >.

Definition at line 63 of file itkLogLikelihoodGoodnessOfFitFunction.h.

template<class TInputHistogram>
typedef SmartPointer< Self > itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >::Pointer
 

Reimplemented from itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >.

Definition at line 49 of file itkLogLikelihoodGoodnessOfFitFunction.h.

template<class TInputHistogram>
typedef LogLikelihoodGoodnessOfFitFunction itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >::Self
 

Standard class typedefs

Reimplemented from itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >.

Definition at line 47 of file itkLogLikelihoodGoodnessOfFitFunction.h.

template<class TInputHistogram>
typedef GoodnessOfFitFunctionBase< TInputHistogram > itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >::Superclass
 

Reimplemented from itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >.

Definition at line 48 of file itkLogLikelihoodGoodnessOfFitFunction.h.


Constructor & Destructor Documentation

template<class TInputHistogram>
itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >::LogLikelihoodGoodnessOfFitFunction  )  [protected]
 

template<class TInputHistogram>
virtual itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >::~LogLikelihoodGoodnessOfFitFunction  )  [inline, protected, virtual]
 

Definition at line 67 of file itkLogLikelihoodGoodnessOfFitFunction.h.


Member Function Documentation

template<class TInputHistogram>
virtual void itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >::GenerateData  )  [protected, virtual]
 

calculates the loglikelihood ratio statistics

Reimplemented from itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >.

template<class TInputHistogram>
virtual const char* itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

Reimplemented from itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >.

template<class TInputHistogram>
itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >::itkStaticConstMacro MeasurementVectorSize  ,
unsigned  int,
TInputHistogram::MeasurementVectorSize 
 

typedefs from InputHistogram

Reimplemented from itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >.

template<class TInputHistogram>
Pointer itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >::New  )  [static]
 

Method for creation through the object factory.

Reimplemented from itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >.


The documentation for this class was generated from the following file:
Generated at Thu May 25 03:08:21 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000