How to find the likelihood functions?
- From: "sci.stat.math" <franco@xxxxxxxx>
- Date: Tue, 28 Aug 2007 14:46:40 -0700
Hi, I am writing a winBUGS code and I need to specify the likelihood
for the gamma distribution and I am specifying it as the pdf:
(pow(b,a)/(exp(loggam(a)))*(exp(-b*lambda[i]))*pow(lambda[i],(a-1)))
But it is not accepting it although I know that I could use the pdf in
R to estimate the parameters by MLE. There must be a shorter form that
is the real likelihood function, (I know that for the normal
distribution the likelihood is much shorter than the pdf and it is
accepted by winBUGS).
Is there like a webpage where the likelihood functions are displayed?
PS: I know that BUGS has a dgamma function and that I do not need to
specify the likelihood function, but it is for some other purpose I am
doing that so that I can afterwards generate a new distribution which
is a mixture of two gamma distributions.
Thanks.
.
- Follow-Ups:
- Re: How to find the likelihood functions?
- From: Jack Tomsky
- Re: How to find the likelihood functions?
- From: Aniko
- Re: How to find the likelihood functions?
- Prev by Date: Re: weighted variance comparisons
- Next by Date: Re: Standard Deviations for Cumulative Frequency Plots
- Previous by thread: Comparing two programs for same data
- Next by thread: Re: How to find the likelihood functions?
- Index(es):
Relevant Pages
|