[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: AW: RE: spatreg and robust option

From   "Martin Weiss" <>
To   <>
Subject   st: AW: RE: spatreg and robust option
Date   Thu, 12 Mar 2009 12:11:07 +0100

My version is from 2001 as well, but as -profiler on- will show you, it
calls a lot of other stuff which has since been changed and does contain
Mata components... When I run the first example in -h spatreg-, once without
and once with -robust-, I count 108 instances of the word "mata" in the


-----Ursprüngliche Nachricht-----
[] Im Auftrag von Schaffer, Mark
Gesendet: Donnerstag, 12. März 2009 11:51
Betreff: st: RE: spatreg and robust option


> -----Original Message-----
> From: 
> [] On Behalf Of 
> Henrik Andersson
> Sent: Thursday, March 12, 2009 8:14 AM
> To:
> Subject: st: spatreg and robust option
> Hi,
> I have used -spatreg- to estimate a spatial regression. With 
> -spatreg- I can choose the option -robust- which requests 
> that the Huber/White/sandwich estimator of variance is used.
> When I run my regression using -spatreg- but without the 
> option -robust- I have no trouble with my regression. When I 
> add the -robust- option I get no results.
> The error message that I receive with the -robust- option is:
> Error r(3499); Mata run-time error
> Has anyone experienced the same problem or does anyone have a 
> suggestion on how to solve the problem?

You need to tell us more about your problem - see the Statalist FAQ,
item 3.3:

Which versions of Stata and -spatreg- you are using would be a good
start.  For example, my version of -spatreg- dates from 2001, before
Mata existed, so it's hard to imagine how I could get the same Mata
error as you do.  In fact, -findit spatreg- doesn't show any more recent
versions, so the version information in your case should tell us a lot.


> Thank you in advance
> Henrik
> *
> *   For searches and help try:
> *
> *
> *

Heriot-Watt University is a Scottish charity
registered under charity number SC000278.

*   For searches and help try:

*   For searches and help try:

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