[R] fitting a distribution to a ecdf plot
David Winsemius
dwinsemius at comcast.net
Tue Mar 15 17:52:32 CET 2011
On Mar 15, 2011, at 12:23 PM, Lathouri, Maria wrote:
> Actually I have already done a search on that but it was not much of
> a help. That is why I posted it in the r-help in case it was much
> more helpful.
There is a tutorial by Ricci with the exact title I suggested looking
for. At the Baron website a search on that quoted string brought up
about 40 hits, most of them relevant, and one of them was from Ricci
with a link to his tutorial. The tutorial has one of its early
examples fitting a Weibull function.
--
David.
>
> Thank you.
>
> Kind regards
> Maria
>
> ________________________________________
> From: David Winsemius [dwinsemius at comcast.net]
> Sent: 15 March 2011 16:19
> To: Lathouri, Maria
> Cc: r-help at r-project.org
> Subject: Re: [R] fitting a distribution to a ecdf plot
>
> On Mar 15, 2011, at 12:00 PM, Lathouri, Maria wrote:
>
>> 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.
>
> Try a search on one of the R search sites with:
>
> "Fitting distributions with R" # use the quotes
>
>
>>
>> I would appreciate if you could help me on that.
>>
>> Thank you.
>>
>> Kind regards
>> Maria
>> <example.txt>______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
> David Winsemius, MD
> West Hartford, CT
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list