Re: [R] Fitting a curve to weibull distribution in R using nls

2015-10-14 Thread Aditya Bhatia
d that the result may not fit the tail of the curve correctly. Thanks again for your help. I can make some progress now. -Aditya Bhatia On Wed, Oct 14, 2015 at 5:06 PM, peter dalgaard wrote: > There's a number of issues with this: > > (a) your data appear to be binned counts, not me

Re: [R] Fitting a curve to weibull distribution in R using nls

2015-10-13 Thread Aditya Bhatia
Yes. I do.I'm trying to repeat the methodology of a paper. They have fitted their data to a weibull curve and so I want to do the same too, but I'm unable to figure out how.. On Wed, Oct 14, 2015, 9:44 AM David Winsemius wrote: > > On Oct 13, 2015, at 2:42 PM, Aditya Bhatia w

[R] Fitting a curve to weibull distribution in R using nls

2015-10-13 Thread Aditya Bhatia
I am trying to fit this data to a weibull distribution: My y variable is:1 1 1 4 7 20 7 14 19 15 18 3 4 1 3 1 1 1 1 1 1 1 1 1 and x variable is:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 The plot looks like this:http://i.stack.imgur.com/FrIKo.png and