Skip to main content

normality

Get Normality Statistics.

  • Kurtosis: whether the kurtosis of a sample differs from the normal distribution.
  • Skewness: whether the skewness of a sample differs from the normal distribution.
  • Jarque-Bera: whether the sample data has the skewness and kurtosis matching a normal distribution.
  • Shapiro-Wilk: whether a random sample comes from a normal distribution.
  • Kolmogorov-Smirnov: whether two underlying one-dimensional probability distributions differ.

Parameters

data: list[openbb_core.provider.abstract.data.Data]

Time series data.

Optional: False


target: str

Target column name.

Optional: False


Returns

results: list[NormalityModel]

Serializable results.


provider: None

Provider name.


warnings: Optional[list[Warning_]]

list of warnings.


chart: Optional[Chart]

Chart object.


extra: dict[str, Any]

Extra info.


Data

kurtosis: TestModel

skewness: TestModel

jarque_bera: TestModel

shapiro_wilk: TestModel

kolmogorov_smirnov: TestModel