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 <>
Subject   Re: st: Flagging estimation errors in -ivreg2-
Date   Sun, 11 Feb 2007 21:32:38 +0000 (GMT)

--- "Michael S. Hanson" <> 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.

di "`r(dropped)'"

This will display the dropped variables

Hope this helps,

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

New Yahoo! Mail is the ultimate force in competitive emailing. Find out more at the Yahoo! Mail Championships. Plus: play games and win prizes.* 
*   For searches and help try:

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