Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: AW: changes in -xi: xtmixed- command from Stata 10 to 11


From   Scott Merryman <scott.merryman@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: changes in -xi: xtmixed- command from Stata 10 to 11
Date   Thu, 22 Apr 2010 08:03:35 -0500

On Thu, Apr 22, 2010 at 7:38 AM, Martin Weiss <martin.weiss1@gmx.de> wrote:
>
> <>
>
> A similar thing happens when I run this example in Stata 10.1 MP:
>
>
> *************
> webuse melanoma, clear
> gen uv2 = uv^2
> xtmepoisson deaths uv uv2, exposure(expected) || nation: || region:
> *************
>
> versus this in Stata 11 MP:
>
> *************
> webuse melanoma, clear
> xtmepoisson deaths uv c.uv#c.uv, exposure(expected) || nation:|| region:
> *************
>
> The Stata 11 incarnation constantly reports "flat or discontinuous region
> encountered", while the 10.1 version converges after a couple of steps:

That's odd - I get convergence with Stata 11 MP.


. webuse melanoma, clear
(Skin cancer (melanoma) data)

. xtmepoisson deaths uv c.uv#c.uv, exposure(expected) || nation:|| region:

Refining starting values:

Iteration 0:   log likelihood = -1169.4088  (not concave)
Iteration 1:   log likelihood = -1156.8957  (not concave)
Iteration 2:   log likelihood = -1101.9749

Performing gradient-based optimization:

Iteration 0:   log likelihood = -1101.9749
Iteration 1:   log likelihood = -1097.2043
Iteration 2:   log likelihood = -1089.5644
Iteration 3:   log likelihood = -1089.4115
Iteration 4:   log likelihood =  -1089.411
Iteration 5:   log likelihood =  -1089.411


Scott
*
*   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/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index