[SciPy-Dev] [scipy/scipy] ENH: Add PDF, CDF and parameter estimation for Stable Distributions (#7374)

Blair Azzopardi blairuk at gmail.com
Sun Apr 8 00:21:47 EDT 2018


> On 8 April 2018 at 01:49, Andrea Karlova <andrea.karlova at gmail.com> wrote:
>
>> On 28 November 2017 at 18:33, Blair Azzopardi <blairuk at gmail.com> wrote:
>>
>>> On Tue, 28 Nov 2017, 16:01 Andrea Karlova, <andrea.karlova at gmail.com>
wrote:
>>>
>>>> On 28 November 2017 at 13:17, Blair Azzopardi <blairuk at gmail.com>
wrote:
>>>>
>>>>> ---------- Forwarded message ---------
>>>>> From: An <notifications at github.com>
>>>>> Date: Tue, 28 Nov 2017, 10:00
>>>>> Subject: Re: [scipy/scipy] ENH: Add PDF, CDF and parameter estimation
for Stable Distributions (#7374)
>>>>> To: scipy/scipy <scipy at noreply.github.com>
>>>>>
>>>>>
>>>>> Blair, is there a way to have a chat via email?
>>>>>
>>>>> On 24 November 2017 at 20:38, Blair Azzopardi <
notifications at github.com>
>>>>> wrote:
>>>>>
>>>>> Hi @an81 <https://github.com/an81>. Thank you for the 550+ page book.
>>>>> Please can you be a bit more specific? Some sample code goes a long
way
>>>>> too. Also can you perhaps test the existing code and highlight where
the
>>>>> Gibbs effect might be more prominent? eg low alpha etc; perhaps this
can be
>>>>> just documented with a recommendation that users use quad in these
cases
>>>>> (already in code). This is until better implementation is available.
>>>>>
>>>>>>>>>> You are receiving this because you were mentioned.
>>>>> Reply to this email directly, view it on GitHub
>>>>> <https://github.com/scipy/scipy/pull/7374#issuecomment-346893569>, or
mute
>>>>> the thread
>>>>> <https://github.com/notifications/unsubscribe-auth/
AIfE8VNjHdqANvYfUG8Gg6feKb5np_kLks5s5ylhgaJpZM4NQBiP>
>>>>
>>>> Hi Andrea
>>>>
>>>> I hope you're well and yes no problem talking chatting via email.
Actually makes sense.
>>>>
>>>> Also, I hope you don't mind me messaging you via an email address
found in a previous comment.
>>>>
>>>> I took a look at that book you linked to but unfortunately I don't
have enough time to process it currently. I will read it in time mind you.
I've found a shorter paper that might offer similar suggestions to yours:
>>>>
>>>> http://prac.im.pwr.edu.pl/~hugo/publ/SFB2005-008_Borak_
Haerdle_Weron.pdf
>>>>
>>>> Although I'm not 100% sure as it doesn't mention mejer g functions.
What are your thoughts?
>>>>
>>>> Kind regards
>>>> Blair
>>>
>>> Hi Blair,
>>>
>>> thats great.
>>> Thx for your email.
>>>
>>> I ll give you access to my Dropbox folder where I have materials
relevant to stable laws.
>>> For working with stable laws I found really useful to understand
>>> and actively switch between different parametrizations of the
characteristic exponent.
>>> Zolotarev and others would have polenty of parametrization and each of
them is helpful
>>> for different task.
>>>
>>> I guess I can share with you my python  code on the github,
>>> you can contribute to it if you would feel like so
>>> and then we can just plug it into scipy lib.
>>>
>>> Is it ok to use this gmail account for sending you invitation to
Dropbox?
>>>
>>> Thx,
>>> Kind regards,
>>>
>>> Andrea
>>
>> Hi Andrea
>>
>> Yes, please do share with this email address.
>>
>> Is it possible you could commit your changes to the existing PR I've
already set up? I believe this is possible by forking my repo (script fork)
and committing to that. The PR includes parameter estimation and some
general framework changes around this distribution too. Also I feel there
are still use cases where it's useful keep fft method. I've added you a
collaborator on my fork.
>>
>> https://github.com/bsdz/scipy
>>
>> Kind regards
>> Blair
>
> Hi Blair,
>
> hope you are well.
> I was looking into your code on stable laws in scipy.
> I ll be running a group of 4 people at hackaton which is  organized by
AHL in 2 weeks time
> and I am planning to revise and add more code into stable laws
implementation.
>
> I was wondering if you can give me some quick update on what is done so
far
> and what are urgent issues at this point according to your opinion?
> I have some ideas what I would like add, also the documentation page
needs to be written,
> but just a quick check on what methods you implemented for calculating of
> pdfs, cdfs, and parameters estimates and how it went?
>
> Thanks a lot.
> Kind regards,
> Andrea
>

Hi Andrea

Thanks for your email. I'm cc-ing this email along with out previous
correspondence to the scipy-dev mailing list (as bottom post) . Please
direct all your future messages here.

It's good to hear you plan to improve my PR (coincidentally at my old
employer Man, although at the time they weren't interested in Stable laws).

I did implement your suggestions to use Zolotarev's formulations. All the
code is under https://github.com/scipy/scipy/pull/7374 as you are aware.

You could perhaps look at improving documentation, adding more / improving
tests and any optimisations you can think of.

Either I can re-add you as a collaborator to my repo (I removed you when I
hadn't heard back from you previously) or you can email me a patch and I'll
integrate it into PR 7374.

Thanks
Blair
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20180408/b77dd68a/attachment-0001.html>


More information about the SciPy-Dev mailing list