The likelihood for the geometric distribution is the same as for the binomial distribution, except for the constant term, so estimates and LRT will be the same. The properties of the estimator will be different, e.g. the estimate of p is not unbiased, but asymptotically the likelihood procedures should work (asymptotic in this case means a reasonably large total number of both successes and failures, I suppose.)
So, if your geometric variate is called y, with the R convention of counting the number of failures (not number of experiments), it should work with
glm(cbind(1,y) ~ whatever, family="binomial")
[The likelihood equivalence is fairly well-known in statistical theory as a counterargument to the strong likelihood principle that all inference should be based solely on the likelihood function.]
- Peter D.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone:
(+45)38153501
Email:
pd....@cbs.dk Priv:
PDa...@gmail.com