[R] OPTIM--non finite finite different [13]

2006-11-15 Thread Xin
Dear All: I used optim() to minimise the loglikelihood function for fitting data to negative binomial distribution. But there initial value of log-likelihood and iteration 10 value are reasonable. for example: initial value 1451657.994524 iter 10 value 47297.534905 iter 20 value

Re: [R] OPTIM--non finite finite different [13]

2006-11-15 Thread Ben Bolker
Xin jasonshi510 at hotmail.com writes: Dear All: I used optim() to minimise the loglikelihood function for fitting data to negative binomial distribution. But there initial value of log-likelihood and iteration 10 value are reasonable. for example: initial value 1451657.994524 iter