Testing the Methods on Monotonic Data
The papers by Fritsch included two data sets which were used to illustrate the methods and in particular whether they preserved monotonicity (the data sets themselves were monotonic).
The first was taken from Akima's 1970 paper, called Akima 3 by Fritsch.
| x | 0.0 | 2.0 | 3.0 | 5.0 | 6.0 | 8.0 | 9.0 | 11.0 | 12.0 | 14.0 | 15.0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
| y | 10.0 | 10.0 | 10.0 | 10.0 | 10.0 | 10.0 | 10.5 | 15.0 | 50.0 | 60.0 | 85.0 |
I ran the five methods I programmed in R on this dataset. The Osculatory, Ellis/McLain and Akima methods do not preserve monotonicity. The Butland method and its modification do preserve monotonicity, with hardly any difference in the appearance of the curves produced by the two methods. Maybe more unevenly spaced data would show some difference?
The second dataset is LLL radiochemical calculations, which Fritsch and Carlson explain was what motivated their research into good algorithms for monotonic data.
| x | 7.99 | 8.09 | 8.19 | 8.7 | 9.2 | 10.0 | 12.0 | 15.0 | 20.0 |
|---|---|---|---|---|---|---|---|---|---|
| y | 0.0 | 2.76429E-5 | 4.37498E-2 | 0.169183 | 0.469428 | 0.943740 | 0.998636 | 0.999919 | 0.999994 |
As with the Akima 3 dataset, the Osculatory, Ellis/McLain and Akima methods do not preserve monotonicity (to be fair, that was never their intention), but the Butland method and its modification do.
Comments
Post a Comment