Skip to main content

kurtosis

Get the Kurtosis.

Kurtosis provides insights into the shape of the data's distribution, particularly the heaviness of its tails. Kurtosis is a statistical measure that reveals whether the data points tend to cluster around the mean or if outliers are more common than a normal distribution would suggest. A higher kurtosis indicates more data points are found in the tails, suggesting potential volatility or risk. This analysis is crucial for understanding the underlying characteristics of your data, helping to anticipate extreme events or anomalies over a specified window of time.

Example:​

from openbb import obb
stock_data = obb.equity.price.historical(symbol="TSLA", start_date="2023-01-01", provider="fmp")
obb.quantitative.kurtosis(data=stock_data, target="close", window=252)

Parameters​

NameTypeDescriptionDefaultOptional
dataList[Data]Time series data.NoneFalse
targetstrTarget column name.NoneFalse
windowPositiveIntWindow size.NoneFalse

Returns​

Kurtosis.