Date: Sun, 24 Jun 2007 23:18:05 -0700
Reply-To: David L Cassell <davidlcassell@MSN.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: David L Cassell <davidlcassell@MSN.COM>
Subject: Re: maximum likelihood estimation
In-Reply-To: <8a8f77ab0706220620s1b76895coc695edb6e22e9c03@mail.gmail.com>
Content-Type: text/plain; format=flowed
tant07@GMAIL.COM wrote:
>
>Hi,
>
>I am trying to perform a maximum likelihood estimation of the following
>equation.
>
>L = T**m times (alpha/(alpha+beta))**m times
>phi from i=2 to i=K
>[(beta/(alpha+beta+1)...((beta+(i-2))/(alpha+beta+i-1)]**m1
>
>times means multiplication.
>phi indicates products of the terms from i=2 to K.
>
>I tried using proc nlmixed, but I don't know how to represent the phi
>(product of terms) in the code.
>
>Some direction will surely help me.
>
>Thanks in advance,
>John
Trust me, it will be a lot easier to do this using the log likelihood
instead.
Just take logs, and then you'll have nice sums to work with instead.
HTH,
David
--
David L. Cassell
mathematical statistician
Design Pathways
3115 NW Norwood Pl.
Corvallis OR 97330
_________________________________________________________________
Don’t miss your chance to WIN $10,000 and other great prizes from Microsoft
Office Live http://clk.atdmt.com/MRT/go/aub0540003042mrt/direct/01/
|