92#ifndef vtkDescriptiveStatistics_h
93#define vtkDescriptiveStatistics_h
95#include "vtkFiltersStatisticsModule.h"
98VTK_ABI_NAMESPACE_BEGIN
168 double& stdev,
double& skewness,
double& kurtosis);
176 vtkStringToken parameterName,
const std::string& algorithmParameters)
override;
maintain an unordered list of data objects
general representation of visualization data
void SelectAssessFunctor(vtkTable *outData, vtkDataObject *inMeta, vtkStringArray *rowNames, AssessFunctor *&dfunc) override
Provide the appropriate assessment functor.
std::size_t ConsumeNextAlgorithmParameter(vtkStringToken parameterName, const std::string &algorithmParameters) override
Implement the inverse of GetAlgorithmParameters(): given a parameter, update this algorithm.
bool Aggregate(vtkDataObjectCollection *, vtkStatisticalModel *) override
Given a collection of models, calculate aggregate model.
virtual vtkDoubleArray * CalculatePValues(vtkDoubleArray *)
Calculate p-value.
vtkDescriptiveStatistics()
void AppendAlgorithmParameters(std::string &algorithmParameters) const override
Provide a string that can be used to recreate an instance of this algorithm.
void Test(vtkTable *, vtkStatisticalModel *, vtkTable *) override
Execute the calculations required by the Test option.
static vtkDescriptiveStatistics * New()
void Learn(vtkTable *, vtkTable *, vtkStatisticalModel *) override
Execute the calculations required by the Learn option, given some input Data NB: input parameters are...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int GetMaximumNumberOfColumnsPerRequest() const override
Descriptive statistics requests are univariate.
vtkTypeBool SignedDeviations
void Derive(vtkStatisticalModel *) override
Execute the calculations required by the Derive option.
~vtkDescriptiveStatistics() override
void Assess(vtkTable *inData, vtkStatisticalModel *inMeta, vtkTable *outData) override
Execute the calculations required by the Assess option.
bool GetDistributionForField(const std::string &fieldName, double &mean, double &variance, double &stdev, double &skewness, double &kurtosis)
Return the mean, variance, standard deviation, skewness, and kurtosis for the given variable.
dynamic, self-adjusting array of double
a simple class to control print indentation
a base class for statistical modeling of other data
A base class for a functor that assesses data.
virtual void Assess(vtkTable *, vtkStatisticalModel *, vtkTable *)=0
Execute the calculations required by the Assess option.
vtkStatisticsAlgorithm()
Return a new instance of a subclass named and configured by the algorithmParameters.
a vtkAbstractArray subclass for strings
Represent a string by its integer hash.
A table, which contains similar-typed columns of data.
A type representing the union of many types.