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

A class for bivariate linear correlation using R to calculate the p-values. More...

#include <vtkCorrelativeStatisticsGnuR.h>

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

List of all members.

Public Types

typedef vtkCorrelativeStatistics Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkCorrelativeStatisticsGnuRNewInstance () 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 vtkObjectBaseNewInstanceInternal () const
 vtkCorrelativeStatisticsGnuR ()
 ~vtkCorrelativeStatisticsGnuR ()
virtual vtkDoubleArrayCalculatePValues (vtkDoubleArray *)

Detailed Description

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

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 vtkCorrelativeStatisticsGnuR.h.


Member Typedef Documentation

Reimplemented from vtkCorrelativeStatistics.

Definition at line 55 of file vtkCorrelativeStatisticsGnuR.h.


Constructor & Destructor Documentation


Member Function Documentation

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.

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.

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

Reimplemented from vtkCorrelativeStatistics.

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

Reimplemented from vtkCorrelativeStatistics.


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