Statalist


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

st: AW: RE: spatreg and robust option


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
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
-log-...



HTH
Martin

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

Henrik, 

> -----Original Message-----
> From: [email protected] 
> [mailto:[email protected]] On Behalf Of 
> Henrik Andersson
> Sent: Thursday, March 12, 2009 8:14 AM
> To: [email protected]
> 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:

http://www.stata.com/support/faqs/res/statalist.html#stata

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.

--Mark

>  
> Thank you in advance
>  
> Henrik
> 
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
> 


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


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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