Signature | Description | Parameters |
---|---|---|
#include <DataFrame/DataFrameStatsVisitors.h> template<typename T, typename I = unsigned long> struct SampleZScoreVisitor; // ------------------------------------- template<typename T, typename I = unsigned long> using szs_v = SampleZScoreVisitor<T, I>; |
This is a “single action visitor”, meaning it is passed the whole data vector in one call and you must use the single_act_visit() interface. This functor class calculates the z-score of a sample against its population. It requires two columns. The first column is taken as population and the seconds column as sample. Its result a single value. |
T: Column data type. I: Index type. |