VTK
|
A class for multivariate principal component analysis using R to calculate p-values. More...
#include <vtkPCAStatisticsGnuR.h>
Public Types | |
typedef vtkPCAStatistics | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkPCAStatisticsGnuR * | NewInstance () const |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkPCAStatisticsGnuR * | SafeDownCast (vtkObjectBase *o) |
static vtkPCAStatisticsGnuR * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkPCAStatisticsGnuR () | |
~vtkPCAStatisticsGnuR () | |
virtual vtkDoubleArray * | CalculatePValues (vtkIdTypeArray *, vtkDoubleArray *) |
A class for multivariate principal component analysis using R to calculate p-values.
This class derives from the multi-correlative statistics algorithm and uses the covariance matrix and Cholesky decomposition computed by it. However, when it finalizes the statistics in learn operation, the PCA class computes the SVD of the covariance matrix in order to obtain its eigenvectors.
In the assess operation, the input data are
In the test operation, a Jarque-Bera-Srivastava test of n-d normality is performed.
Definition at line 55 of file vtkPCAStatisticsGnuR.h.
Reimplemented from vtkPCAStatistics.
Definition at line 58 of file vtkPCAStatisticsGnuR.h.
vtkPCAStatisticsGnuR::vtkPCAStatisticsGnuR | ( | ) | [protected] |
vtkPCAStatisticsGnuR::~vtkPCAStatisticsGnuR | ( | ) | [protected] |
static int vtkPCAStatisticsGnuR::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 vtkPCAStatistics.
virtual int vtkPCAStatisticsGnuR::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 vtkPCAStatistics.
static vtkPCAStatisticsGnuR* vtkPCAStatisticsGnuR::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPCAStatistics.
virtual vtkObjectBase* vtkPCAStatisticsGnuR::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPCAStatistics.
Reimplemented from vtkPCAStatistics.
virtual void vtkPCAStatisticsGnuR::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 vtkPCAStatistics.
static vtkPCAStatisticsGnuR* vtkPCAStatisticsGnuR::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPCAStatistics.
virtual vtkDoubleArray* vtkPCAStatisticsGnuR::CalculatePValues | ( | vtkIdTypeArray * | , |
vtkDoubleArray * | |||
) | [protected, virtual] |
Calculate p-value. This will be overridden using the object factory with an R implementation if R is present.
Reimplemented from vtkPCAStatistics.