VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkContingencyStatisticsGnuR Class Reference

A class for bivariate correlation contigency tables, conditional probabilities, and information entropy. The p-value are calculated using R. More...

#include <vtkContingencyStatisticsGnuR.h>

Inheritance diagram for vtkContingencyStatisticsGnuR:
Inheritance graph
[legend]
Collaboration diagram for vtkContingencyStatisticsGnuR:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkContingencyStatistics Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkContingencyStatisticsGnuRNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static int IsTypeOf (const char *type)
static
vtkContingencyStatisticsGnuR
SafeDownCast (vtkObjectBase *o)
static
vtkContingencyStatisticsGnuR
New ()

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkContingencyStatisticsGnuR ()
 ~vtkContingencyStatisticsGnuR ()
virtual void CalculatePValues (vtkTable *)

Detailed Description

A class for bivariate correlation contigency tables, conditional probabilities, and information entropy. The p-value are calculated using R.

Given a pair of columns of interest, this class provides the following functionalities, depending on the operation in which it is executed: Learn: calculate contigency tables and corresponding discrete joint probability distribution. Derive: calculate conditional probabilities, information entropies, and pointwise mutual information. Assess: given two columns of interest with the same number of entries as input in port INPUT_DATA, and a corresponding bivariate probability distribution, Test: calculate Chi-square independence statistic and, if VTK to R interface is available, retrieve corresponding p-value for independence testing.

Thanks:
Thanks to Philippe Pebay and David Thompson from Sandia National Laboratories for implementing this class. Updated by Philippe Pebay, Kitware SAS 2012

Definition at line 52 of file vtkContingencyStatisticsGnuR.h.


Member Typedef Documentation

Reimplemented from vtkContingencyStatistics.

Definition at line 55 of file vtkContingencyStatisticsGnuR.h.


Constructor & Destructor Documentation


Member Function Documentation

static int vtkContingencyStatisticsGnuR::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkContingencyStatistics.

virtual int vtkContingencyStatisticsGnuR::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkContingencyStatistics.

Reimplemented from vtkContingencyStatistics.

virtual vtkObjectBase* vtkContingencyStatisticsGnuR::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkContingencyStatistics.

Reimplemented from vtkContingencyStatistics.

void vtkContingencyStatisticsGnuR::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkContingencyStatistics.

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkContingencyStatistics.

virtual void vtkContingencyStatisticsGnuR::CalculatePValues ( vtkTable ) [protected, virtual]

Calculate p-value. This will be overridden using the object factory with an R implementation if R is present.

Reimplemented from vtkContingencyStatistics.


The documentation for this class was generated from the following file: