[R] fitting a distribution to a ecdf plot

Lathouri, Maria m.lathouri06 at imperial.ac.uk
Tue Mar 15 17:00:37 CET 2011


Dear all,

I need to plot an cumulative distribution plot of a variable and then to fit a distribution to that, probably a weibull or lognormal.

I have plotted the ecdf as
> plot(ecdf(x))

but I haven't managed to fit the distribution. I have as well attached the data.

I would appreciate if you could help me on that.

Thank you.

Kind regards
Maria
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: example.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20110315/ef805eb5/attachment.txt>


More information about the R-help mailing list