The problem of constructing a curve for 2D data is well known (LOWESS, etc.), but given the set of points of the 3D data, how can I choose a 3D curve (for example, a spline regression spline) for this data?
MORE: I'm trying to find a curve by fitting data provided by vectors X, Y, Z, which have no known relationship. In fact, I have a cloud of 3D points, and you need to find a three-dimensional trend line.
MORE: I apologize for the ambiguity. I tried several approaches (I still haven't tried modifying the linear fit), and random NN seems to work best. Ie, I arbitrarily select a point from a point cloud, find the centroid of its neighbors (inside an arbitrary sphere), iteration. The combination of centroids with the formation of a smooth spline is difficult, but the resulting centroids are passable.
To clarify the problem, the data is not a time series, and I'm looking for a smooth spline that best describes the Ie point cloud, if I projected this 3D spline onto a plane formed by any 2 variables, the projected spline (in 2D) would be the smooth position of the predicted point clouds (in 2D).
IMG: I included the image. The red dots represent the centroid obtained from the above method.
3D point cloud and local centroids http://img510.imageshack.us/img510/2495/40670529.jpg
geometry regression 3d curve-fitting
Jacob
source share