quantile
Get Rolling Quantile.
Quantile is a statistical measure that identifies the value below which a given percentage of observations in a group of data falls. By setting the quantile percentage, you can determine any point in the distribution, not just the median. Whether you're interested in the median, quartiles, or any other position within your data's range, this tool offers a precise way to understand the distribution's characteristics. It's especially useful for identifying outliers, understanding dispersion, and setting thresholds for decision-making based on the distribution of data over a specified period.
obb.quantitative.quantile(data: Union[list, dict, pd.DataFrame, List[pd.DataFrame], pd.Series, List[pd.Series], numpy.ndarray, Data, List[Data]], target: str, window: int = 21, quantile_pct: float = 0.5)
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. | 21 | True |
| quantile_pct | NonNegativeFloat | Quantile to get | 0.5 | True |
Returns
Quantile.