Re: [Numpy-discussion] BigInteger equivalent in numpy

2009-06-07 Thread josef . pktd
On Sun, Jun 7, 2009 at 6:05 AM, David Cournapeau wrote: > (Please do not send twice your message to numpy/scipy ML, thank you) > > wierob wrote: >> Hi, >> >> int64 and float seem to work for the stderr calculation. Now, the >> calculation of the p-value causes an underflow. >> >> File "C:\Python26

Re: [Numpy-discussion] BigInteger equivalent in numpy

2009-06-07 Thread David Cournapeau
(Please do not send twice your message to numpy/scipy ML, thank you) wierob wrote: > Hi, > > int64 and float seem to work for the stderr calculation. Now, the > calculation of the p-value causes an underflow. > > File "C:\Python26\lib\site-packages\scipy\stats\distributions.py", line > 2829,in _

Re: [Numpy-discussion] BigInteger equivalent in numpy

2009-06-07 Thread wierob
Hi, int64 and float seem to work for the stderr calculation. Now, the calculation of the p-value causes an underflow. File "C:\Python26\lib\site-packages\scipy\stats\distributions.py", line 2829,in _cdf return special.stdtr(df, x) FloatingPointError: underflow encountered in stdtr It seems

Re: [Numpy-discussion] BigInteger equivalent in numpy

2009-06-04 Thread josef . pktd
On Thu, Jun 4, 2009 at 8:19 AM, wierob wrote: > Hi, > > is there a BigInteger equivalent in numpy? The largest integer type I > wound was dtype int64. > > I'm using stats.linregress to perform a regression analysis. The return > stderr was nan because stas.ss(...) returned a negative number due to

[Numpy-discussion] BigInteger equivalent in numpy

2009-06-04 Thread wierob
Hi, is there a BigInteger equivalent in numpy? The largest integer type I wound was dtype int64. I'm using stats.linregress to perform a regression analysis. The return stderr was nan because stas.ss(...) returned a negative number due to an overflow. Setting dtype to int64 for my input data s