Statalist


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

st: AW: SV: AW: RE: spatreg and robust option


From   "Martin Weiss" <martin.weiss1@gmx.de>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: AW: SV: AW: RE: spatreg and robust option
Date   Thu, 12 Mar 2009 17:38:42 +0100

<> 


Bottom line: The date of the -program- (2001) need not mean that it does not
use Mata, because it calls other -program-s that have been upgraded to use
mata. 
One thing is weird, though: spatreg.ado says "version 7" at the top of its
-program-s. I do not want to reignite the debate about the meaning of the
-version- statement, but it seems weird that it is able to run -mata- stuff
along the way...



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Henrik
Andersson
Gesendet: Donnerstag, 12. März 2009 17:30
An: statalist@hsphsun2.harvard.edu
Betreff: st: SV: AW: RE: spatreg and robust option

Dear Martin and Mark,

thank you for your help and sorry for not being precise enough in my
question.

I used StataSE 10.0 and the -spatreg- from 2001 to run my regressions when I
encountered the problem below. 

After typing -update all- I now have version 10.1 and the robust option runs
w/o any problem.

Again, thanks for the help.

Henrik

> -----Ursprungligt meddelande-----
> Från: owner-statalist@hsphsun2.harvard.edu 
> [mailto:owner-statalist@hsphsun2.harvard.edu] För Martin Weiss
> Skickat: den 12 mars 2009 12:14
> Till: statalist@hsphsun2.harvard.edu
> Ämne: st: AW: RE: spatreg and robust option
> 
> 
> <> 
> 
> Henrik,
> 
> type -update all- to see whether you need to update Stata. 
> The examples in the help file run without problems, whether 
> -robust- is specified or not...
> 
> 
> HTH
> Martin
> 
> 
> 
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von 
> Schaffer, Mark E
> Gesendet: Donnerstag, 12. März 2009 11:51
> An: statalist@hsphsun2.harvard.edu
> Betreff: st: RE: spatreg and robust option
> 
> Henrik, 
> 
> > -----Original Message-----
> > From: owner-statalist@hsphsun2.harvard.edu
> > [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Henrik 
> > Andersson
> > Sent: Thursday, March 12, 2009 8:14 AM
> > To: statalist@hsphsun2.harvard.edu
> > 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/
> 

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