pastas.stats.core.moment# pastas.stats.core.moment(series: pandas.Series | None = None, order: int = 0, **kwargs) → float# Compute the raw moment of an impulse response array. Parameters: series (Series) – Impulse response values with a numeric index (float or int) representing time steps. A DatetimeIndex is not supported. order (int) – The order of the moment to compute (0 through 5). Returns: moment – The computed raw moment of the impulse response. Return type: float