VTK
|
A class for bivariate correlation contigency tables, conditional probabilities, and information entropy. The p-value are calculated using R. More...
#include <vtkContingencyStatisticsGnuR.h>
Public Types | |
typedef vtkContingencyStatistics | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkContingencyStatisticsGnuR * | NewInstance () 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 vtkObjectBase * | NewInstanceInternal () const |
vtkContingencyStatisticsGnuR () | |
~vtkContingencyStatisticsGnuR () | |
virtual void | CalculatePValues (vtkTable *) |
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.
Definition at line 52 of file vtkContingencyStatisticsGnuR.h.
Reimplemented from vtkContingencyStatistics.
Definition at line 55 of file vtkContingencyStatisticsGnuR.h.
vtkContingencyStatisticsGnuR::vtkContingencyStatisticsGnuR | ( | ) | [protected] |
vtkContingencyStatisticsGnuR::~vtkContingencyStatisticsGnuR | ( | ) | [protected] |
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.
static vtkContingencyStatisticsGnuR* vtkContingencyStatisticsGnuR::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
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.
static vtkContingencyStatisticsGnuR* vtkContingencyStatisticsGnuR::New | ( | ) | [static] |
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.