I understand that the likelihood function is a product and hence the log likelihood function is a sum. However I can't figure out what the problem is.
Here's the likelihood function: [(alpha1*beta2*gamma)^v1 exp^(-alpha1*beta2*gamma)]/v1! * [(alpha2*beta1)^v2 exp^(-alpha2*beta1)]/v2! Isn't the log-likelihood function as I calculated before? Thanks, DJ -- View this message in context: http://r.789695.n4.nabble.com/Error-in-optim-tp3948980p3949218.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.