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
- Standard
| Name | Type | Description | Default | Optional |
|---|---|---|---|---|
| data | List[Data] | Time series data. | None | False |
| target | str | Target column name. | None | False |
| window | PositiveInt | Window size. | None | False |
Returns
Kurtosis.