qis.DescTableType

class qis.DescTableType(*values)[source]

Bases: Enum

which statistics compute_desc_table reports after the mean and standard deviation.

Variables:
  • NONE – no statistics; the plotting functions draw no table, and compute_desc_table returns a table indexed by ticker with no columns

  • SHORT – mean and standard deviation only

  • AVG_WITH_POSITIVE_PROB – the positive share instead of mean and standard deviation

  • WITH_POSITIVE_PROB – adds the positive share

  • WITH_KURTOSIS – adds skewness and excess kurtosis

  • WITH_NORMAL_PVAL – adds skewness, excess kurtosis and the normality-test p-value

  • WITH_SCORE – adds the last value and its percentile rank

  • EXTENSIVE – adds skewness, kurtosis, minimum, 16% quantile, median, 84% quantile, maximum

  • SKEW_KURTOSIS – skewness and kurtosis instead of mean and standard deviation

  • WITH_MEDIAN – adds the median, skewness and kurtosis

__init__(*args, **kwds)

Attributes

NONE = 0
SHORT = 1
AVG_WITH_POSITIVE_PROB = 2
WITH_POSITIVE_PROB = 3
WITH_KURTOSIS = 4
WITH_NORMAL_PVAL = 5
WITH_SCORE = 6
EXTENSIVE = 7
SKEW_KURTOSIS = 8
WITH_MEDIAN = 9