I want to draw a line of best fit through some data points in 3D space I have made a few attempts such as averaging the slopes and intercepts for each axis from regular, 2D, simple linear regression however none have turned out very well. Google isn't bringing up very much either.
Any suggestions?
Thanks.
-Halty