VTK
|
A class for bivariate linear correlation using R to calculate the p-values. More...
#include <vtkCorrelativeStatisticsGnuR.h>
Public Types | |
typedef vtkCorrelativeStatistics | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkCorrelativeStatisticsGnuR * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkCorrelativeStatisticsGnuR * | SafeDownCast (vtkObjectBase *o) |
static vtkCorrelativeStatisticsGnuR * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkCorrelativeStatisticsGnuR () | |
~vtkCorrelativeStatisticsGnuR () | |
virtual vtkDoubleArray * | CalculatePValues (vtkDoubleArray *) |
A class for bivariate linear correlation using R to calculate the p-values.
Given a selection of pairs of columns of interest, this class provides the following functionalities, depending on the chosen execution options: Learn: calculate extremal values, sample mean, and M2 aggregates (cf. P. Pebay, Formulas for robust, one-pass parallel computation of covariances and Arbitrary-Order Statistical Moments, Sandia Report SAND2008-6212, Sep 2008, http://infoserve.sandia.gov/sand_doc/2008/086212.pdf for details) Derive: calculate unbiased covariance matrix estimators and its determinant, linear regressions, and Pearson correlation coefficient. Assess: given an input data set, two means and a 2x2 covariance matrix, mark each datum with corresponding relative deviation (2-dimensional Mahlanobis distance). Test: Perform Jarque-Bera-Srivastava test of 2-d normality
Definition at line 52 of file vtkCorrelativeStatisticsGnuR.h.
Reimplemented from vtkCorrelativeStatistics.
Definition at line 55 of file vtkCorrelativeStatisticsGnuR.h.
vtkCorrelativeStatisticsGnuR::vtkCorrelativeStatisticsGnuR | ( | ) | [protected] |
vtkCorrelativeStatisticsGnuR::~vtkCorrelativeStatisticsGnuR | ( | ) | [protected] |
static int vtkCorrelativeStatisticsGnuR::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 vtkCorrelativeStatistics.
virtual int vtkCorrelativeStatisticsGnuR::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 vtkCorrelativeStatistics.
static vtkCorrelativeStatisticsGnuR* vtkCorrelativeStatisticsGnuR::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkCorrelativeStatistics.
virtual vtkObjectBase* vtkCorrelativeStatisticsGnuR::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkCorrelativeStatistics.
Reimplemented from vtkCorrelativeStatistics.
void vtkCorrelativeStatisticsGnuR::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 vtkCorrelativeStatistics.
static vtkCorrelativeStatisticsGnuR* vtkCorrelativeStatisticsGnuR::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkCorrelativeStatistics.
virtual vtkDoubleArray* vtkCorrelativeStatisticsGnuR::CalculatePValues | ( | vtkDoubleArray * | ) | [protected, virtual] |
Calculate p-value. This will be overridden using the object factory with an R implementation if R is present.
Reimplemented from vtkCorrelativeStatistics.