Statalist The Stata Listserver


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

st: RE: Missing Wald test with -cluster- or -robust- option [further explanations?]


From   "Schaffer, Mark E" <M.E.Schaffer@hw.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Missing Wald test with -cluster- or -robust- option [further explanations?]
Date   Tue, 26 Sep 2006 18:01:37 +0100

Mirko,

> -----Original Message-----
> From: owner-statalist@hsphsun2.harvard.edu 
> [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Mirko
> Sent: Tuesday, September 26, 2006 5:38 PM
> To: statalist@hsphsun2.harvard.edu
> Subject: st: Missing Wald test with -cluster- or -robust- 
> option [further explanations?]
> 
> Hi,
> 
> I am estimating an Ordered probit model with standard error 
> adjusted for clustering using -cluster- option. Unfortunately 
> the model does not provide the (adjusted) Wald test for the 
> model and the relative
> Prob>Chi2.
> 
> According to Stata help this could be related to the number 
> of parameters and the number of clusters (i.e., the number of 
> parameters must be less than the clusters).
> 
> Unfortunately, this is not my case. My sample size is 1,400 
> observations, I have 94 clusters and my model contains around 
> 40-50 variables (most of them dummy 1/0).
> 
> The same problem occurs if I use -robust- option istead of 
> -cluster- or if I run -regress- (missing F and Prob>F 
> missing) instead of -oprobit-.

My guess is that you have a singleton dummy (or something similar).
This causes the robust covariance matrix to be less than full rank.

You can confirm this by trying to do the Wald test by hand using -test-
or -testparm-.  I suspect that you will get plausible looking test
statistics if you test most but not all of the parameters, and if you
keep adding parameters to the set you are testing, at some point the
test statistic will be missing.  The last parameter you add will
correspond to the variable that causes the vcv to be less than full
rank.

Come to think of it, you could probably do this using a -foreach- loop
that loops over the variables in the estimation, and a -test- command
with the -accum- option so that you keep adding variables to the set
being tested.

Cheers,
Mark

Prof. Mark E. Schaffer
Director
Centre for Economic Reform and Transformation
Department of Economics
School of Management & Languages
Heriot-Watt University
Edinburgh EH14 4AS  UK
44-131-451-3494 direct
44-131-451-3296 fax
http://www.sml.hw.ac.uk/cert

> Does anybody know why this is happening? Or at least can give 
> me an alternative explanation?
> 
> Thanks for your help.
> 
> Mirko Moro
> University College Dublin
> *
> *   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/
> 
> 

*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index