Displaying 1 result from an estimated 1 matches for "nullrandmodel1".
2008 Mar 18
1
glm poisson, method='ML' (PR#10985)
...ubmission 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