I think you're referring to linear regression -- try doing a Google search on that and you should find lots of algorithms and implementations.
Matt On Fri, Mar 21, 2003 at 03:52:35PM -0600, Jay Strauss wrote: > Sorry, I already googled, but can't find what I'm looking for. > > I remember back in science class (must have been Chem), we'd do experiments > and plot a bunch of points on graph paper. Then we'd fudge a line that went > thru the points (trying to get equal numbers of points on one side of the > line as the other), and that was our "expected" slope. > > Is there some formula or algorithm for doing this with a computer? (I'll do > it in Perl) Or where, under what topic would I go a googling? > > Thank > Jay > > _______________________________________________ > vox-tech mailing list > [EMAIL PROTECTED] > http://lists.lugod.org/mailman/listinfo/vox-tech -- ************************************************* * Matt Roper <[EMAIL PROTECTED]> * * http://www.mattrope.com * * PGP Key: http://www.mattrope.com/mattrope.asc * ************************************************* _______________________________________________ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech