| 1 | """ |
| 2 | ================================================= |
| 3 | Locally-weighted regression (:mod:`skmisc.loess`) |
| 4 | ================================================= |
| 5 | |
| 6 | Loess is a procedure for estimating a regression surface by a multivariate |
| 7 | smoothing procedure. A linear or quadratic function of the independent |
| 8 | variables is fit in a moving fashion that is analogous to how a moving |
| 9 | average is computed for a time series. |
| 10 | |
| 11 | Compared to approaches that fit global parametric functions, loess |
| 12 | substantially increases the domain of surfaces that can be estimated without |
| 13 | distortion. However, analogues of the statistical procedures used |
| 14 | in parametric function fitting -- for example, ANOVA and t intervals -- |
| 15 | involve statistics whose distributions are well approximated by familiar |
| 16 | distributions. |
| 17 | |
| 18 | .. autosummary:: |
| 19 | :toctree: generated/ |
| 20 | :template: cython_class.rst |
| 21 | |
| 22 | loess |
| 23 | loess_inputs |
| 24 | loess_model |
| 25 | loess_control |
| 26 | loess_outputs |
| 27 | loess_prediction |
| 28 | loess_confidence_intervals |
| 29 | loess_anova |
| 30 | |
| 31 | Source |
| 32 | ------ |
| 33 | The original source code was written by William S. Cleveland, Eric Grosse |
| 34 | and Ming-Jen Shyu. It is available at http://www.netlib.org/a/dloess. It |
| 35 | was initially adapted to for use in Scipy by Pierre GF Gerard-Marchant. |
| 36 | |
| 37 | For more see references [1]_ [2]_ and [3]_. |
| 38 | |
| 39 | .. [1] W. S. Cleveland, E. Grosse, and M. J. Shyu. Local Regression Models. |
| 40 | In J. M. Chambers and T. Hastie, editors, Statistical Models in S, |
| 41 | pages 309--376. Chapman and Hall, New York, 1992. |
| 42 | |
| 43 | .. [2] W. S. Cleveland, S. J. Devlin, and E. Grosse. Regression by Local |
| 44 | Fitting: Methods, Properties, and Computing. Journal of Econometrics, 37: |
| 45 | pp. 87--114. 1988. |
| 46 | |
| 47 | .. [3] W. S. Cleveland. Robust Locally Weighted Regression and Smoothing |
| 48 | Scatterplots. Journal of the American Statistical Association, 74: |
| 49 | pp. 829--836. 1979. |
| 50 | """ |
| 51 | from ._loess import ( |
| 52 | loess, |
| 53 | loess_anova, |
| 54 | loess_confidence_intervals, |
| 55 | loess_control, |
| 56 | loess_inputs, |
| 57 | loess_model, |
| 58 | loess_outputs, |
| 59 | loess_prediction, |
| 60 | ) |
| 61 | |
| 62 | __all__ = ['loess', 'loess_model', 'loess_control', 'loess_inputs', |
| 63 | 'loess_model', 'loess_outputs', 'loess_prediction', |
| 64 | 'loess_confidence_intervals', 'loess_anova'] |