[Scipy-svn] r4753 - trunk/scipy/stats

scipy-svn@scip... scipy-svn@scip...
Sat Sep 27 16:46:04 CDT 2008


Author: oliphant
Date: 2008-09-27 16:46:03 -0500 (Sat, 27 Sep 2008)
New Revision: 4753

Modified:
   trunk/scipy/stats/distributions.py
Log:
Fix error in est_loc_scale.

Modified: trunk/scipy/stats/distributions.py
===================================================================
--- trunk/scipy/stats/distributions.py	2008-09-26 12:53:59 UTC (rev 4752)
+++ trunk/scipy/stats/distributions.py	2008-09-27 21:46:03 UTC (rev 4753)
@@ -778,7 +778,7 @@
         return optimize.fmin(self.nnlf,x0,args=(ravel(data),),disp=0)
 
     def est_loc_scale(self, data, *args):
-        mu, mu2, g1, g2 = self.stats(*args,**{'moments':'mv'})
+        mu, mu2 = self.stats(*args,**{'moments':'mv'})
         muhat = st.nanmean(data)
         mu2hat = st.nanstd(data)
         Shat = sqrt(mu2hat / mu2)



More information about the Scipy-svn mailing list