Skip to content
Prev 13411 / 398502 Next

Fitting distributions

Hola!

I think the original posters problem was to fit a weibull. this could be
done with:

library(gnlm)
Weibull distribution,  n = 100

     mean  variance alpha.hat    mu.hat 
 2.438586  1.840581  1.890002  6.782797 

-log likelihood             AIC 
      -296.4451       -294.4451 

           yi ni pi.hat    pi.tilde like.comp     resid
1   1.8744688  1   0.01 0.300583890 -3.403142 -5.300156

.
.
.

Kjetil Halvorsen
Prof Brian Ripley wrote:
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._