[R] fit a distribution

2011-02-18 Thread Simone Gabbriellini
hello list, I have this array of distribution of frequencies: freq<-c(45,18,10,8,13,5,9,3,4,1,2,2,2,3,4,4,1,1,2,1,2,1,1,1,1,1,2,3,1,1,1,1,1,1,1,1,2,1,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1) for this array of values: values<-c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,16,18,19,20,21,

Re: [R] Fit a distribution to an "ECDF"

2010-11-17 Thread MyKenk
Actually, after thinking about this, what I want to do is to fit a curve (Weibull and LogLogistic) to the first 9 data points in the series. The numbers represent percent of development, and I don't "trust" the 1.000 point, so I want to fit these curves to get 2 estimates of the tail, both a thick

Re: [R] Fit a distribution to an "ECDF"

2010-11-16 Thread Frank Harrell
Fitting curves to an ECDF will result in a fit that has the same precision as the ECDF if variances are calculated correctly. So why not stop with the ECDF as your estimator? Frank - Frank Harrell Department of Biostatistics, Vanderbilt University -- View this message in context: http://r

[R] Fit a distribution to an "ECDF"

2010-11-16 Thread MyKenk
I have a growth curve, which is essentially an ECDF: Statistically, it's F(x)... > GrowthCurve [1] 0.06919932 0.24154761 0.42206402 0.61412408 0.72228295 0.79727292 0.86605315 0.91271120 0.98258397 1. I'd like to fit a Weibull Curve (then a LogLogistic) to this ECDF, and have no clue ho