From terra@diku.dk  Thu Feb 28 20:48:19 2002
From: terra@diku.dk (terra@diku.dk)
Date: Thu, 28 Feb 2002 21:48:19 +0100 (MET)
Subject: [Rd] pweibull.c (PR#1334)
Message-ID: <200202282048.VAA09961@pubhealth.ku.dk>

Full_Name: M Welinder
Version: 1.4
OS: (src)
Submission from: (NULL) (192.5.35.38)


It seems to me that pweibull can be improved in the lower_tail=TRUE and
log_p=FALSE
case by using expm1.  Something like

-expm1(-pow(x / scale, shape)),

I think.


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] pweibull.c (PR#1334)
terra@diku.dk