Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

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


From   "Meredith, Neil" <[email protected]>
To   "[email protected]" <[email protected]>
Subject   RE: st: new outreg and error code r(3499)
Date   Fri, 6 Apr 2012 18:45:38 +0000

It turns out that I was not getting the most recent version of -outreg- using -ssc install outreg-. I had to force installation of the most up to date version by using -findit outreg- and clicking on the link for sg97_4 from http://www.stata-journal.com/software/sj12-1.

Thanks Nick, and everyone else, for your help.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Nick Cox
Sent: Friday, April 06, 2012 11:35 AM
To: [email protected]
Subject: Re: st: new outreg and error code r(3499)

You are  not saying where you got your files from or _exactly_ how you installed them. Equally I am still just guessing that the problem lies in your installation because I can't reproduce the error. But exactly how you did it may be the root of the problem.

What you seem to be missing is code for _CColJoin() which I guess to be included in

http://www.stata-journal.com/software/sj12-1/sg97_4/l_Cfrmt.mlib

John Gallup, the author of -outreg-, should be able to advise more directly.

Nick

On Fri, Apr 6, 2012 at 5:20 PM, Neil R. Meredith <[email protected]> wrote:
> Any ideas on how to update earlier versions of a Mata function?
>
> On Fri, Apr 6, 2012 at 11:03 AM, Nick Cox <[email protected]> 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 <[email protected]> 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/

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index