[R] weibull test
Emmanuel Paradis
paradis at isem.univ-montp2.fr
Wed Dec 18 16:54:40 CET 2002
At 11:18 18/12/2002 +0100, vous avez écrit:
>Hello
>What is the appropriate method to test if a given distribution is a
>weibull
>thank you
>meriema
>
>email
>meriema.belaidouni at int-evry.fr
You can use a Kolmogorov-Smirnov test. See ?ks.test where there is an
example with a gamma distribution. You will probably need to estimate the
parameters of the Weibull which you can do with fitdistr() in package MASS.
However, I don't know if the distribution of the KS test will be the same
if some parameters are estimated from the data or not (apparently,
ks.test() doesn't do any correction). Someone on the list can help here.
Emmanuel Paradis
More information about the R-help
mailing list