[R] Kumaraswamy distribution
Mike.Lawrence at dal.ca
Tue May 12 13:16:00 CEST 2009
dkumar = function(x,a,b) a*b*(x^(a-1))*((1-x^a)^(b-1))
pkumar = function(x,a,b) 1-(1-x^a)^b
(I've based this entirely on the wikipedia entry on the Kumaraswamy
so best to check both my replication of the formula there and the
accuracy of the wikipedia entry itself)
On Tue, May 12, 2009 at 6:37 AM, Debbie Zhang <debbie0621 at hotmail.com> wrote:
> Dear R users,
> Does anyone know how to write function for Kumaraswamy distribution in R? Since I cannot write dkumar, pkumar, etc. in R.
> Please help.
> Thanks a lot,
> [[elided Hotmail spam]]
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Department of Psychology
Looking to arrange a meeting? Check my public calendar:
~ Certainty is folly... I think. ~
More information about the R-help