𝔖 Bobbio Scriptorium
✦   LIBER   ✦

Fitting a least squares piecewise linear continuous curve in two dimensions

✍ Scribed by S. Kundu; V.A. Ubhaya


Book ID
104351981
Publisher
Elsevier Science
Year
2001
Tongue
English
Weight
791 KB
Volume
41
Category
Article
ISSN
0898-1221

No coin nor oath required. For personal study only.

✦ Synopsis


An optimal piecewize linear continuous fit to a given set of n data points D = { (zi, yi) : 1 < i 5 n} in two dimensions consists of a continuous curve defined by k linear segments {Li, L2, . . , Lk} which minimizes a weighted least squares error function with weight 'wi at (zi,vi), where k 2 1 is a given integer. A key difficulty here is the fact that the linear segment Lj, which approximates a subset of consecutive data points Dj C D in an optimal solution, is not necessarily an optimal fit in itself for the points Dj. We solve the problem for the special case k = 2 by showing that an optimal solution essentially consists of two least squares linear regression lines in which the weight Wj of some data point (Zj, uj) is split into the weights XWj and (1 -X)Wj, 0 5 X 5 1, for computations of these lines. This gives an algorithm of worst-case complexity O(n) for finding an optimal solution for the case k = 2.


πŸ“œ SIMILAR VOLUMES