Re: [R] Weibull

2008-04-15 Thread Matthew B.
vival can be used > (just regress on a constant). The parametrization is slightly different > from [dpqr]weibull, but it is easy to do the translation. > > > On Tue, 15 Apr 2008, Ben Bolker wrote: > > > Matthew B. gmail.com> writes: > > > >> > >> D

[R] Weibull

2008-04-15 Thread Matthew B.
Dear R users, This is a basic question. I want to fit a Weibull distribution. fitdistr(data, "weibull") works and it is a maximum likelihood fitting. Is it a good method ? Or is it better to write a function for the log-likelihood and the gradient and to use a numerical routine ? Fitdistr works