Message-ID: <1319836240344-3949218.post@n4.nabble.com>
Date: 2011-10-28T21:10:40Z
From: djbanana
Subject: Error in optim
In-Reply-To: <1319830662543-3949006.post@n4.nabble.com>
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.