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]

st: RE: capture xtmixed


From   "Adrian Sayers" <[email protected]>
To   <[email protected]>
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.

A

-----Original Message-----
From: Adrian Sayers [mailto:[email protected]] 
Sent: 25 January 2013 17:00
To: [email protected]
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 ,
cov(unstruct)

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

Thanks

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

Tel +44 (0)117 9287258
**********************************************************



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