From ripley at stats.ox.ac.uk  Tue Jun  5 11:10:27 2012
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 05 Jun 2012 10:10:27 +0100
Subject: [Rd] Patch to add Beta binomial distribution. Mentor needed!
In-Reply-To: <loom.20120605T102246-250@post.gmane.org>
References: <CANF72pNnfRHOBr_4mvwsk1o1J52hz6LPLEQP6sMjkWOCYX5cOA@mail.gmail.com>
	<A1056BE4-973C-4883-864C-AC1DC800CF7F@gmail.com>
	<CANF72pPh7A5CaSSMNLm05ue_T_pkz_iyRuwpBjoJAGEHrmqphw@mail.gmail.com>
	<CAC+N9BVeicffs1Tspm2LKX7nNA1CctJBtKTyGaK7Sbez4qiLqw@mail.gmail.com>
	<CANF72pNj56U8qgBcppobPTiyKLzTVu6CRfa9DxSUNLJJmeY7DA@mail.gmail.com>
	<loom.20120605T102246-250@post.gmane.org>
Message-ID: <4FCDCD03.7060904@stats.ox.ac.uk>

On 05/06/2012 09:25, Ben Bolker wrote:
> Joan Maspons<j.maspons<at>  creaf.uab.cat>  writes:
>
>>
>> 2012/6/1 Tim Triche, Jr.<tim.triche<at>  gmail.com>
>>
>>> It's in VGAM, remember?  Not a bug.
>>>
>>> --
>>> *A model is a lie that helps you see the truth.*
>>> *
>>> *
>>> Howard Skipper<http://cancerres.aacrjournals.org/content/31/9/1173.full.pdf>
>>>
>>>
>> Yes, it's a wish, not a bug. I would like a faster implementation in c and
>> including quantile function. pbetabin calls qbetabin and sums from 0 to q
>> using a loop. It can be avoided using genhypergeo function from hypergeo
>> package [1] but it adds a dependency and for some parameters it doesn't
>> converge.
>>
>> In the other hand I think that these functions should be implemented in a
>> more neutral place to avoid that packages interested in this distribution
>> have to depend on VGAM. I'm also interested in the Beta negative binomial
>> distribution which I think it's not implemented (this will be the second
>> round). And last but not least I want to learn.
>
>    I really think your chances of getting this wish accepted are tiny.
> If you want to avoid additional dependencies, you have at least the
> *legal* right to take any piece of code you want from any open-source
> (BSD, GPL, ...) package and package it your own little package
> (provided it follows the rules of the original license) that
> includes only the stuff you need, without any other dependencies.  It's
> polite to ask for permission and acknowledge the original authors ...

It is not just polite.  You need to comply with copyright law, and it is 
very likely that requires acknowledgement.  So do CRAN's policies (and 
we've removed several packages already this year for misrepresentation 
of the work of others).

>    Ben Bolker
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel


-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] Patch to add Beta binomial distribution. Mentor needed!
Prof Brian Ripley