|
1 | 1 | # Copyright (c) Brockmann Consult GmbH, 2026. |
2 | 2 | # License: MIT |
| 3 | +""" |
| 4 | +Errors-in-variables implementation based on the effective |
| 5 | +variance method (EVM). Refer to: |
| 6 | +
|
| 7 | +A. Tarantola (2005). Inverse Problem Theory and Methods for |
| 8 | +Model Parameter Estimation. Society for Industrial and Applied |
| 9 | +Mathematics. https://doi.org/10.1137/1.9780898717921 |
| 10 | +
|
| 11 | +Watson et al. (1984). The effective variance weighting |
| 12 | +for least squares calculations applied to the mass balance |
| 13 | +receptor model. Atmospheric Environment (1967), 18, 1347-1355. |
| 14 | +https://doi.org/10.1016/0004-6981(84)90043-X. |
| 15 | +
|
| 16 | +D. York (1968). Least squares fitting of a straight line |
| 17 | +with correlated errors. Earth and Planetary Science Letters, |
| 18 | +5, 320-324. https://doi.org/10.1016/S0012-821X(68)80059-7. |
| 19 | +
|
| 20 | +D. York (1966). Least squares fitting of a straight line. |
| 21 | +Canadian Journal of Physics, 44, 1079-1086. |
| 22 | +https://doi.org/10.1139/p66-090. |
| 23 | +""" |
| 24 | + |
3 | 25 | from typing import Any |
4 | 26 | from typing import Callable |
5 | 27 |
|
@@ -209,20 +231,7 @@ class EIV(Fitting): |
209 | 231 | variance method (EVM). |
210 | 232 |
|
211 | 233 | This implementation is intended for large scale problems |
212 | | - with up to millions of data points. Refer to: |
213 | | -
|
214 | | - Watson et al. (1984). The effective variance weighting |
215 | | - for least squares calculations applied to the mass balance |
216 | | - receptor model. Atmospheric Environment (1967), 18, 1347-1355. |
217 | | - https://doi.org/10.1016/0004-6981(84)90043-X. |
218 | | -
|
219 | | - D. York (1968). Least squares fitting of a straight line |
220 | | - with correlated errors. Earth and Planetary Science Letters, |
221 | | - 5, 320-324. https://doi.org/10.1016/S0012-821X(68)80059-7. |
222 | | -
|
223 | | - D. York (1966). Least squares fitting of a straight line. |
224 | | - Canadian Journal of Physics, 44, 1079-1086. |
225 | | - https://doi.org/10.1139/p66-090. |
| 234 | + with up to millions of data points. |
226 | 235 | """ |
227 | 236 |
|
228 | 237 | def fit( |
|
0 commit comments