s-news
[Top] [All Lists]

Re: robust maximum likelihood estimation

To: chris.2.wallace@gsk.com
Subject: Re: robust maximum likelihood estimation
From: Spencer Graves <spencer.graves@PDF.COM>
Date: Wed, 23 Jul 2003 09:27:46 -0700
Cc: s-news@lists.biostat.wustl.edu
References: <OF3C1E5CBA.D8166CF9-ON80256D6C.0053E4BE@sb.com>
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
You can get the hessian from "optim" in library(MASS). I can't comment on your other questions.

hope this helps.  spencer graves

chris.2.wallace@gsk.com wrote:
I am a relatively new user of Splus (experienced user of stata)

I would like to use maximum likelihood to fit a model which can be expressed as a function of a linear predictor:
L= A*(1-p)^2 + B*p*(1-p) + C*p^2

A, B and C are fixed constants, and p=1/(1+exp(-eta)) where eta=Xb.

I have found the function nlmin and can use this to obtain maximum likelihood estimates of b. However, I would also like to obtain standard errors and believe asymptotic properties of MLEs may not hold. Therefore I would like to use clustered robust estimation.

Can anyone point me in the direction of appropriate functions or some example code? The robust library available in Splus v 6.1 does not appear to allow user-defined likelihoods.

Many thanks, Chris.


--------------------------------------------------------------------
This message was distributed by s-news@lists.biostat.wustl.edu.  To
unsubscribe send e-mail to s-news-request@lists.biostat.wustl.edu with
the BODY of the message:  unsubscribe s-news



<Prev in Thread] Current Thread [Next in Thread>