Bookmark and Share

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: Capture failing on xtmixed


From   Nick Cox <[email protected]>
To   [email protected]
Subject   Re: st: Capture failing on xtmixed
Date   Mon, 28 Jan 2013 14:10:40 +0000

I don't think there is any information here that would enable anyone
to add to what you report.

The aim of -capture-  is just to eat an error and to allow
continuation by the next command.

-capture- can not fix errors or make a command try again, try harder
or do something differently.

Are you saying that you tried to display the error code as e.g.

. display _rc

If so, what happened?

On Mon, Jan 28, 2013 at 1:54 PM, Adrian Sayers
<[email protected]> wrote:

> Apologies for posting this again.
>
> I have come across some odd behaviour.
>
> I am attempting to capture xtmixed in a simulation study. However it doesn't
> seem to be working properly
>
> So i have :
> capture noisily xtmixed     obs_ht  age_1 age_2 || id: age_1 age_2 ,
> cov(unstruct)
>
> it has trouble converging. And eventually gives the following error:
>
>         Hessian is not negative semidefinite
>         conformability error
>
> and then stata exits (Aborts) the program.
>
> I am not sure why it is just not being skipped, and the error code stored in
> _rc as it should be.
>
> I have a feeling it is to do with some of the mata code.
>
> Any ideas or suggestions for a work around or a proper fix would be greatly
> appreciated.
>
> I am running stata 12.1
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index