[Rd] glm poisson, method='ML' (PR#10985)

claire.saraux at gmail.com claire.saraux at gmail.com
Tue Mar 18 10:35:03 CET 2008


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



More information about the R-devel mailing list