From claire.saraux at gmail.com  Tue Mar 18 10:35:03 2008
From: claire.saraux at gmail.com (claire.saraux at gmail.com)
Date: Tue, 18 Mar 2008 10:35:03 +0100 (CET)
Subject: [Rd] glm poisson, method='ML' (PR#10985)
Message-ID: <20080318093504.02B612834611@mail.pubhealth.ku.dk>

Full_Name: saraux
Version: 2.6.1
OS: Windows vista
Submission from: (NULL) (193.157.180.37)


I would like to compute a glm with a distribution of poisson, using a maximum of
likelihood method. But it seems not to work with a distribution of poisson. The
same code with another distrubution (binomial for example) works. 

Here is the command I typed:
nullrandmodel1<-glm(Arrival~(x+y),family=poisson,method='ML',data=dates)

and here is the error message returned:
Error in switch(method, model.frame = return(mf), glm.fit = 1, stop("invalid
'method': ",  : 
  invalid 'method': ML



[Rd] glm poisson, method='ML' (PR#10985)
claire.saraux at gmail.com