Or: "If everyone else is driving a sports car, why do we need to stick
with my old Toyota Corolla."
(even if in the city traffic, sports cars don't go any faster either.)
I don't really see why we are getting more resistance than other packages.
I assume interactive sessions are single user, and if a package that
uses statsmodels like pandas leaves the globals changed, then user can
reset them and complain (file a bug report) to the package author (or
to us if we forget to do it).
class attributes:
>>> from statsmodels.base.model import LikelihoodModel
>>> LikelihoodModel.do_funny_things = True
>>> mod = OLS(endog, exog)
>>> if mod.do_funny_things: print 'ouch'
...
ouch
(which means, as you said, the only alternative is instance level)
I understand the problem with getting different numbers, but we are
discussing now just changing the warning/exception levels.
It can still bite a user, if (s)he relies on some automatic checking
that disappeared, which is not much different from the current
situation if a user ignores that (s)he might have "weird" data.
(Users would always be able to hit the breaks, and set the package
global to paranoid before running some estimation problems, i.e.
defensive users instead of defensive developers)
Josef
>
> Cheers,
>
> f