Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Received-SPF: none (hypatia: domain of nilsas at web.de does not designate permitted sender hosts) X-Virus-Scanned: by amavisd-new at stat.math.ethz.ch X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on hypatia.math.ethz.ch X-Spam-Level: X-Spam-Status: No, hits=0.0 required=5.0 tests=BAYES_50 autolearn=no version=2.63 Hello, is there a packet that supports the Erlang distribution? I want to use this distribution for tests against empirical data. Thus, is there a packet that also supports "fitdistr" (Maximum-likelihood fitting) for this distribution? Thanks in advance, best regards Nils -- Nils Aschenbruck - nilsas at web.de
> -----Original Message----- > From: Nils Aschenbruck > Sent: Thursday, August 19, 2004 11:51 AM > To: r-help at stat.math.ethz.ch > Subject: [R] Erlang distribution > > > Hello, > > is there a packet that supports the Erlang distribution? > > I want to use this distribution for tests against empirical data. Thus, is > there a packet that also supports "fitdistr" (Maximum-likelihood fitting) > for this distribution? >[Dietrich Trenkler] Hi Nils, you do not need a special package because the Erlang is a special gamma distribution. For instance "derlang" <- function(x, k, l = 1) { f <- dgamma(x, k, l) f } delivers the density of the Erlang(k,1) distribution. HTH D. Trenkler