[R] Problem with fitdistr function

2008-02-09 Thread Aswad Gurjar
Hello, I am using fitdistr function for parameter estimation. When I use fd<-fitdistr(V2,"gamma") I get following error: Error in optim(x = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, : initial value in 'vmmin' is not finite fd<-fitdistr(V2,"weibull") Error in optim(x = c(0L

Re: [R] Problem with fitdistr function

2008-02-09 Thread Aswad Gurjar
Can you please elaborate on this with eg if possible? I didn't get you. Thank You. On 2/9/08, Peter Dalgaard <[EMAIL PROTECTED]> wrote: > > Aswad Gurjar wrote: > > Hello, > > > > I am using fitdistr function for parameter estimation. > > When I u

[R] Error in optim while using fitdistr() function

2008-02-09 Thread Aswad Gurjar
Hello, I am trying to fit distribution for data consisting of 421 readings.It is basically no of requests arrived per minute.It contains many 0 entries as no of requests.When i use fd<-fitdistr(V2,"gamma") I get following error: Error in optim(x = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,

Re: [R] Error in optim while using fitdistr() function

2008-02-09 Thread Aswad Gurjar
> > Hello, > > I am trying to fit distribution for data consisting of 421 readings.It is > basically no of requests arrived per minute.It contains many 0 entries as > no of requests.When i use > fd<-fitdistr(V2,"gamma") > I get following error: > Error in optim(x = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,

[R] Error in optim while using fitdistr() function for estimation of parameters

2008-02-09 Thread Aswad Gurjar
Hello, I am trying to fit distribution for data consisting of 421 readings.It is basically no of requests arrived per minute.It contains many 0 entries as no of requests.When i use fd<-fitdistr(V2,"gamma") I get following error: Error in optim(x = c(0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L

Re: [R] Error in optim while using fitdistr() function for estimationof parameters

2008-02-09 Thread Aswad Gurjar
www.cmis.csiro.au/bill.venables/ > > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Aswad Gurjar > Sent: Sunday, 10 February 2008 4:17 PM > To: r-help@r-project.org > Subject: [R] Error in optim while using fitdistr() function

Re: [R] Error while using fitdistr() function or goodfit() function

2008-02-10 Thread Aswad Gurjar
: > > dummy <- rnbinom(200, size = 1.5, prob = 0.8) > gf <- goodfit(dummy, type = "nbinomial", method = "MinChisq") > > and got back > > Warning messages: > 1: In pnbinom(q, size, prob, lower.tail, log.p) : NaNs produced > 2: In pnbinom(q, size,

[R] How to fit discrete distribution to data in R having non standard shape?

2008-02-11 Thread Aswad Gurjar
Hello, I have 421 readings of time and no of requests coming at perticular time.Basically I have data with interval of one minute and corresponding no of requests arriving per minute.It is discrete in nature.I am collecting data from 9AM to 4PM.But some of readings are coming as 0.When I plotted h

[R] Does goodfit() require frequency count of the numbers or numbers themselves?

2008-02-13 Thread Aswad Gurjar
Hello, I am a student and for project I need R. I have one problem regarding function goodfit(). Does goodfit() require frequency count of numbers or numbers themselves? For example suppose I have data say 150 readings.Do I need to use goodfit() directly on data or should I make suitable no of bin