apaCategories.FromRegimes.Sigmas(ConditioningVariables, IsSigned)
Excel
=apaCategories.FromRegimes.Sigmas(ConditioningVariables, IsSigned)Result
Derives categories (regimes) from conditioning variables, each regime being defined by the number of standard deviations (sigmas) away from the arithmetic mean of each series.
Syntax
ConditioningVariables: nObs x nSeries matrix of data, each column containing a conditioning variable
IsSigned: TRUE to retain the sign of the sigmas, i.e. observations below the mean get negative signs
Remarks
Standardizes with the population volatility (denominator n).
