[SciPy-user] Getting scipy.stats.models to work on Windows

Nils Wagner nwagner@iam.uni-stuttgart...
Mon Apr 7 13:47:16 CDT 2008


On Mon, 7 Apr 2008 14:42:24 -0400
  "Wes McKinney" <wesmckinn@gmail.com> wrote:
> I'm trying to distance myself from using R for my 
>research work, and
> unfortunately I need to use Windows. I have been able to 
>get the svn version
> of
> scipy to work on my OS X machine, but on Windows the 
>scipy.stats.models
> regression models simply hang when I try to use them, 
>ex, from test_rlm.py :
> 
>>>> from numpy.random import standard_normal as W
>>>> X = W((40,10))
>>>> import scipy.stats.models.rlm as rlm
>>>> rlm(design=X)
> 
> --> Python freezes
> 
> Tried using stable (Numpy 1.0.4, scipy 0.6.0) releases 
>and full latest SVN
> builds for both to no avail. Anyone have any luck with 
>this?
> 
> Thanks,
> Wes

Works for me on linux.
  
>>> import scipy.stats.models.rlm as rlm
>>> rlm(design=X)
<scipy.stats.models.rlm.Model object at 0x41356fec>
>>> import numpy
>>> numpy.__version__
'1.0.5.dev4972'
>>> import scipy
>>> scipy.__version__
'0.7.0.dev4083'

Nils



More information about the SciPy-user mailing list