Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: Capture failing on xtmixed

From   "Adrian Sayers" <>
To   <>
Subject   st: Capture failing on xtmixed
Date   Mon, 28 Jan 2013 13:54:54 -0000


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 ,

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

I am running stata 12.1



*   For searches and help try:

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