Multidimensional Fitting

D2Hitman j.m.girven at warwick.ac.uk
Tue Jul 20 23:56:40 EDT 2010



Robert Kern-2 wrote:
> 
> Don't try to fit a Gaussian to a histogram using least-squares. It's an
> awful 
> way to estimate the parameters. Just use np.mean() and np.cov() to
> estimate the 
> mean and covariance matrix directly.
> 

Ok, what about distributions other than gaussian? Would you use leastsq in
that case? If yes, i will post that to the scipy mailing list.

-- 
View this message in context: http://old.nabble.com/Multidimensional-Fitting-tp29221343p29221776.html
Sent from the Python - python-list mailing list archive at Nabble.com.




More information about the Python-list mailing list