incline.estimate¶
- incline.estimate(smoother, df, column_value='value', time_column=None, derivative_order=1, se=False, noise=None, bias_correct=False, simultaneous=False, confidence_level=0.95, n_bootstrap=200, random_state=None)[source]¶
Run a smoother over a DataFrame and return the structured estimate.
- Parameters:
smoother (Smoother) – The smoother to fit.
df (pd.DataFrame) – Time series data.
column_value (str) – Column holding the values.
time_column (str | None) – Numeric time column. The index is used when None.
derivative_order (int) – Which derivative to estimate.
se (bool) – Whether to compute standard errors.
noise (NoiseModel | str | None) – Noise model, or
'iid'/'ar1'.bias_correct (bool) – Subtract estimated smoothing bias. Linear smoothers only.
simultaneous (bool) – Return a whole-curve band instead of pointwise intervals.
confidence_level (float) – Confidence level for intervals.
n_bootstrap (int) – Replicates for nonlinear smoothers.
random_state (int | np.random.Generator | None) – Seed or Generator.
- Returns:
The estimate, which
.to_frame(df)renders as a DataFrame.- Return type: