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: RE: capture xtmixed

From   "Adrian Sayers" <>
To   <>
Subject   st: RE: capture xtmixed
Date   Fri, 25 Jan 2013 22:24:19 -0000

HI Jeph, 

Xtmixed is aborting, and it exits the loop.

I expect xtmixed not to converge on numerous occasions, which is fine.
However I had hoped capture would deal with the problem.

I suspect its something to do with mata, and the way it captures commands.


-----Original Message-----
From: Adrian Sayers [] 
Sent: 25 January 2013 17:00
Subject: capture xtmixed

Hi , 

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.

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

But i am not sure why this is just not being skipped to the next run. 

Any ideas or suggestions

I am running stata 12.1


Adrian Sayers
RM 3.09
Medical Statistician
University of Bristol
School of Social and Community Medicine
Canynge Hall
39 Whatley Road
United Kingdom

Tel +44 (0)117 9287258

*   For searches and help try:

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