Don't take the log of gamma(a+b) analytically use lgamma(a+b). 8)
On Wed, 27 Oct 2004, Cecilia Vidal wrote:
Hi,
I'm stuck in question 3, part (2) and was hoping to get any hints on how to
take the log of gamma(a + b). I've tried searching on the internet but it's
confusing me more!. Thanks,
Cecilia
-----Original Message-----
From: gov2001-l-bounces(a)lists.fas.harvard.edu
[mailto:gov2001-l-bounces@lists.fas.harvard.edu]On Behalf Of Olivia Lau
Sent: Wednesday, October 27, 2004 3:54 PM
To: gov2001-l(a)lists.fas.harvard.edu
Subject: Re: [gov2001-l] WG: parameterization of product symbol
(uppercasePi) in R
For numerical stability, you should use the sum of log terms, not prod().
Olivia.
On Wed, 27 Oct 2004, Jens Hainmueller wrote:
just found it myself: prod() works fine
-----Ursprungliche Nachricht-----
Von: Jens Hainmueller [mailto:jens_hainmueller@ksg05.harvard.edu]
Gesendet: Wednesday, October 27, 2004 3:48 PM
An:
Betreff: parameterization of product symbol (uppercase Pi) in R
Any hints on a smart way to parameterize the product symbol
(upper case "Pi") in R?
Thanks!
Jens
_______________________________________________
gov2001-l mailing list
gov2001-l(a)lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l(a)lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l
_______________________________________________
gov2001-l mailing list
gov2001-l(a)lists.fas.harvard.edu
http://lists.fas.harvard.edu/mailman/listinfo/gov2001-l