Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st:
From
"Gregory, Christian" <[email protected]>
To
<[email protected]>
Subject
RE: st:
Date
Mon, 24 Jan 2011 16:47:38 -0500
Hi Jeff & Klaus,
Thanks for your responses to my question. They were both most helpful. I
have 2 more:
1. Jeff, when you say relative difference for, say, ptol, is this (p for
this iteration - p for the last iteration) - ptolerance?
2. Can you say something about the relevance of the g*(-inv(H))g'
criterion? Does it do something other than make sure the 1st and second
derivatives are zero?
Thanks for your help.
Christian
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jeff
Pitblado, StataCorp LP
Sent: Monday, January 24, 2011 3:24 PM
To: [email protected]
Subject: Re: st:
Christian Gregory <[email protected]> has a couple of questions
about
output in the iteration log from -ml- when the -showtolerance- option is
specified:
> I'm using ml to estimate a model.
>
> 1. I'm using <showtolerance> option: the output reports "ptol" and
> "vtol." Do these refer to difference in likelihood or parameter
> estimates? I cannot find reference to them in any of the manuals.
>
> 2. In computing the scaled gradient (g()*H*g()'), how does Stata
compute
> the Hessian? I'm using an lf1 type estimator: does it compute the
> Hessian numerically from the gradients that I have written? Or does it
> compute them numerically from numeric gradients that it calculates?
The 'ptol' identifier refers to the relative difference compared to the
coefficient tolerance. The coefficient tolerance is specifed via -ml-'s
-tolerance()- option.
The 'vtol' identifier refers to the relative difference compared to the
value
tolerance (also known as the log-likelihood tolerance for -ml-). The
log-likelihood tolerance is secified via -ml-'s -ltolerance()- option.
For an -lf1- evaluator, -ml- computes the Hessian matrix by taking
numeric
derivatives of the gradient resulting from the scores returned by the
-lf1-
evaluator.
--Jeff
[email protected]
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/