[SciPy-user] Fitting a polynomial to data

Alan G Isaac aisaac at american.edu
Thu Jun 30 16:22:50 CDT 2005

On Thu, 30 Jun 2005, Fernando Perez apparently wrote: 
> p = (XT*X)^-1 * XT * y 

Which is of course the ordinary least squares solution.
I note this only because the discussion seemed to
suggest that something special about polynomials was
about to be exploited in producing the solution,
but that something seems only to be the automatic
production of the data matrix (and not any subsequent
computations). Correct?

Alan Isaac

More information about the SciPy-user mailing list