Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: new outreg and error code r(3499)


From   "Neil R. Meredith" <nrmeredith@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: new outreg and error code r(3499)
Date   Fri, 6 Apr 2012 11:20:14 -0500

Any ideas on how to update earlier versions of a Mata function?

On Fri, Apr 6, 2012 at 11:03 AM, Nick Cox <njcoxstata@gmail.com> wrote:
> The new -outreg- command is user-written and from Stata Journal 12(1).
> Please remember that you are asked to explain this.
>
> I just installed -outreg- and and the same code worked fine for me on
> Stata 10.1. So, despite the installing and uninstalling, something is
> wrong with the way you did it. The difficulty lies in the Mata
> functions, which in this case are in a library. My wild guess is that
> Stata is seeing an earlier version of those Mata functions and one has
> been rewritten.
>
> Nick
>
> On Fri, Apr 6, 2012 at 4:45 PM, Neil R. Meredith <nrmeredith@gmail.com> wrote:
>
>> I’ve been working with the new outreg command and keep receiving error
>> code r(3499). I’ve read all the posts I could find in the archive
>> related to this problem and I’ve tried installing and uninstalling
>> outreg, installing outreg then restarting Stata before using outreg,
>> restarted my computer, and uninstalled then reinstalled Stata. I am
>> using Stata version 10.1. Here is an example of what I am seeing:
>>
>> sysuse auto, clear
>> (1978 Automobile Data)
>>
>> reg mpg foreign weight
>>
>>     Source |       SS       df       MS              Number of obs =      74
>> -------------+------------------------------           F(  2,    71) =   69.75
>>      Model |   1619.2877     2  809.643849           Prob > F      =  0.0000
>>   Residual |  824.171761    71   11.608053           R-squared     =  0.6627
>> -------------+------------------------------           Adj R-squared =  0.6532
>>      Total |  2443.45946    73  33.4720474           Root MSE      =  3.4071
>>
>> ------------------------------------------------------------------------------
>>        mpg |      Coef.   Std. Err.      t    P>|t|     [95% Conf. Interval]
>> -------------+----------------------------------------------------------------
>>    foreign |  -1.650029   1.075994    -1.53   0.130      -3.7955    .4954422
>>     weight |  -.0065879   .0006371   -10.34   0.000    -.0078583   -.0053175
>>      _cons |    41.6797   2.165547    19.25   0.000     37.36172    45.99768
>> ------------------------------------------------------------------------------
>>
>> . outreg
>>             MakeSmat():  3499  _CColJoin() not found
>>            CalcStats():     -  function returned error
>>                <istmt>:     -  function returned error
>> r(3499);
>>
>> I thought that this issue was fixed this past summer. Does anyone have
>> any suggestions? Your help is greatly appreciated.
>>
>
> *
> *   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/



-- 
Neil R. Meredith
806-678-1811
nrmeredith@gmail.com

*
*   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   |   Site index