Re: [R] Distribution fitting problem

From: Adelchi Azzalini <azzalini_at_stat.unipd.it>
Date: Thu 03 Nov 2005 - 00:35:37 EST

On Wed, 2 Nov 2005 14:32:52 +0200, Mark Miller wrote:

MM> I am using the MASS library function 
MM> 
MM> fitdistr(x, dpois, list(lambda=2))
MM> 
MM> but I get 
MM> 
MM> Error in optim(start, mylogfn, x = x, hessian = TRUE, ...) :
MM>         Function cannot be evaluated at initial parameters
MM> In addition: There were 50 or more warnings (use warnings() to see
MM> the first  50)
MM> 
MM> and all the first 50 warnings say 
MM> 
MM> 1:  non-integer x = 1.452222
MM> etc
MM> 

are the data integers (as implicit in the assumption of Poisson dist'n)? the above message seems to say that they are not

Adelchi Azzalini

-- 
Adelchi Azzalini  <azzalini@stat.unipd.it>
Dipart.Scienze Statistiche, Università di Padova, Italia
tel. +39 049 8274147,  http://azzalini.stat.unipd.it/

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Thu Nov 03 00:41:06 2005

This archive was generated by hypermail 2.1.8 : Thu 03 Nov 2005 - 02:13:40 EST