Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Flagging estimation errors in -ivreg2-


From   Maarten buis <[email protected]>
To   [email protected]
Subject   Re: st: Flagging estimation errors in -ivreg2-
Date   Sun, 11 Feb 2007 21:32:38 +0000 (GMT)

--- "Michael S. Hanson" <[email protected]> wrote:
> thanks for the suggestion, Maarten.  However, -_rmcoll- drops the  
> collinear variables (according to -help _rmcoll-), which -ivreg2-  
> already does by itself.  What I actually need is to be notified when 
> this happens.  -quietly capture ivreg2- doesn't provide any  
> indication that collinearity (or any other problem, short of an error
> that stops estimation) has occurred.

_rmcollright
di "`r(dropped)'"

This will display the dropped variables

Hope this helps,
Maarten


-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands

visiting address:
Buitenveldertselaan 3 (Metropolitan), room Z434

+31 20 5986715

http://home.fsw.vu.nl/m.buis/
-----------------------------------------


	
	
		
___________________________________________________________ 
New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes. 
http://uk.rd.yahoo.com/evt=44106/*http://mail.yahoo.net/uk 
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index