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