[SciPy-user] boxcar problem
John Hunter
jdhunter at ace.bsd.uchicago.edu
Thu Dec 22 13:10:01 EST 2005
Any ideas on this one?
In [1]: import scipy
In [2]: scipy.__version__
Out[2]: '0.3.0_266.4239'
In [3]: scipy.stats.boxcox(scipy.rand(100))
---------------------------------------------------------------------------
exceptions.ValueError Traceback (most
recent call last)
/home/titan/johnh/<console>
/opt/lang/python-2.3.4/lib/python2.3/site-packages/scipy/stats/morestats.py
in boxcox(x, lmbda, alpha)
279 return -boxcox_llf(lmb,data)
280 lmax = optimize.brent(tempfunc,
brack=(-2.0,2.0),args=(x,))
--> 281 y, lmax = boxcox(x, lmax)
282 if alpha is None:
283 return y, lmax
ValueError: too many values to unpack
In [4]:
More information about the SciPy-User
mailing list