[SciPy-dev] GLMs ?
Fri Aug 14 18:29:04 CDT 2009
On Fri, Aug 14, 2009 at 5:46 PM, Pierre GM<email@example.com> wrote:
> On Aug 14, 2009, at 5:27 PM, Skipper Seabold wrote:
>> On Fri, Aug 14, 2009 at 5:19 PM, Pierre GM<firstname.lastname@example.org>
>>> What's the status of GLMs in scipy ? Does anybody have some code they
>>> could point me to ?
>>> Thanks a lot in advance
>> GLMs got a lot of attention as part of my GSoC. You can find the
>> (still in flux) code here
> FYI, I need to fit Tweedie distributions to precipitation series. I
> have already coded the distributions in the scipy standard, and now I
> need to estimate the parameters...
> Thanks again
> Scipy-dev mailing list
What's GLM ? Generalized, not General Linear Model, just to make sure
we are talking about the same thing. I don't see how GLM can help you
directly to estimate the parameters of a distribution, unless it is
one of the exponential family distributions covered with a standard
Generalized Linear Model implementation.
I don't know the Tweedie distribution, but from the reference Skipper
gave you, you can see GLM covers gaussian, binomial, gamma and a few
others. The main point of GLM is to regress the mean/expectation of
the distribution on some explanatory variables.
Are you trying to estimate parameters of the distribution themselves,
or parameters of the distribution as function of some explanatory
variables? In the first case, GLM won't be of much help.
More information about the Scipy-dev