incline.NaiveDifference¶
- class incline.NaiveDifference[source]¶
Central finite differences on the raw series.
The estimator the package exists to argue against: it does no smoothing, so it inherits the noise directly. Kept because the comparison is the point, and because its exact variance makes that comparison quantitative.
- __init__()¶
- Return type:
None
Methods
__init__()analytic_operators(axis, order)The difference stencil, written down directly.
evaluate(axis, y, order)Average the forward and backward difference at each point.
fit(axis, y[, order, se, noise, ...])Estimate the trend and, optionally, its uncertainty.
native_posterior(axis, y, order, ...)Uncertainty from the smoother's own probability model.
operators(axis, order)The smoothing and derivative operators for this configuration.
params()Smoother-specific settings, recorded on the result.
scale_of(axis)The narrowest scale there is: one observation.
with_scale(scale, axis)No scale to set; finite differencing has no bandwidth.
Attributes
has_native_posterioris_linearWhether the derivative is a fixed linear map of the data.