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: [email protected]
> [mailto:[email protected]] För Martin Weiss
> Skickat: den 12 mars 2009 12:14
> Till: [email protected]
> Ä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: [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/
>
*
* 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/