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: AW: Errror in cendif - tidotforsomersd(): 3499 tidottree() not found


From   Richard Palmer-Jones <rpjstatalist@googlemail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: AW: Errror in cendif - tidotforsomersd(): 3499 tidottree() not found
Date   Thu, 1 Jul 2010 16:27:32 +0100

Works for me too, without uninstalling!

***********************
. cendif bp, by(when)
Y-variable: bp (Blood pressure)
Grouped by: when (Status)
Group numbers:

     Status |      Freq.     Percent        Cum.
------------+-----------------------------------
     Before |        120       50.00       50.00
      After |        120       50.00      100.00
------------+-----------------------------------
      Total |        240      100.00
Transformation: Fisher's z
95% confidence interval(s) for percentile difference(s)
between values of bp in first and second groups:
   Percent    Pctl_Dif     Minimum     Maximum
        50           6           2           9

********************

Uninstalled somersd *ado uninstall somersd"

Installed again from ssc "ssc install somersd"

ran my syntax and got the same error.

Restarted Stata

My code now works! - maybe should have done a "discard"?

Thanks .... and "HTBH'd"

Richard



On Thu, Jul 1, 2010 at 4:11 PM, Martin Weiss <martin.weiss1@gmx.de> wrote:
>
> <>
>
> This code works for me:
>
>
> *************
> sysuse bplong, clear
> cendif bp, by(when)
> *************
>
> So I suggest you reinstall the entire package and see whether that helps.
>
>
> HTH
> Martin
>
>
> -----Ursprüngliche Nachricht-----
> Von: owner-statalist@hsphsun2.harvard.edu
> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Richard
> Palmer-Jones
> Gesendet: Donnerstag, 1. Juli 2010 17:03
> An: statalist@hsphsun2.harvard.edu
> Betreff: Re: st: AW: Errror in cendif - tidotforsomersd(): 3499 tidottree()
> not found
>
> Thanks Martin,
>
> Yes, I did this, and just did it again, in case.
>
> . update all
>
> ----------------------------------------------------------------------------
> -----------------
>> update ado
> (contacting http://www.stata.com)
> ado-files already up to date
>
> ----------------------------------------------------------------------------
> -----------------
>> update utilities
> (contacting http://www.stata.com)
> utilities already up to date
>
> ----------------------------------------------------------------------------
> -----------------
>> update executable
> (contacting http://www.stata.com)
> executable already up to date
>
> I also did
>
> . adoupdate, update
> ....
>
> Packages to be updated are...
>
>    [1] estout       -- 'ESTOUT': module to make regression tables
>
> Installing updates...
>
>    [1] estout
>
> Cleaning up... Done
>
> . cendif incomepc, by(_treat)
> Y-variable: incomepc ((mean) incomepc)
> Grouped by: _treated (psmatch2: Treatment assignment)
> Group numbers:
>
>  psmatch2: |
>  Treatment |
>  assignment |      Freq.     Percent        Cum.
> ------------+-----------------------------------
>  Untreated |        260       33.85       33.85
>    Treated |        508       66.15      100.00
> ------------+-----------------------------------
>      Total |        768      100.00
>       tidotforsomersd():  3499  tidottree() not found
>                 <istmt>:     -  function returned error
> Mata run-time error
> r(3499);
>
> Same problem
>
> ?
>
> Richard
>
> On Thu, Jul 1, 2010 at 3:53 PM, Martin Weiss <martin.weiss1@gmx.de> wrote:
>>
>> <>
>>
>> Are your ados in sync with the executable? Type -update all- to find
> out...
>>
>>
>>
>> HTH
>> Martin
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: owner-statalist@hsphsun2.harvard.edu
>> [mailto:owner-statalist@hsphsun2.harvard.edu] Im Auftrag von Richard
>> Palmer-Jones
>> Gesendet: Donnerstag, 1. Juli 2010 16:35
>> An: statalist@hsphsun2.harvard.edu
>> Betreff: st: Errror in cendif - tidotforsomersd(): 3499 tidottree() not
>> found
>>
>> Dear Readers
>>
>> I have the following error:
>>
>> . cendif incompc, by(_treat)
>> variable incompc not found
>> r(111);
>>
>> . cendif incomepc, by(_treat)
>> Y-variable: incomepc ((mean) incomepc)
>> Grouped by: _treated (psmatch2: Treatment assignment)
>> Group numbers:
>>
>>   psmatch2: |
>>   Treatment |
>>  assignment |      Freq.     Percent        Cum.
>> ------------+-----------------
>> ------------------
>>   Untreated |        260       33.85       33.85
>>     Treated |        508       66.15      100.00
>> ------------+-----------------------------------
>>       Total |        768      100.00
>>        tidotforsomersd():  3499  tidottree() not found
>>                  <istmt>:     -  function returned error
>> Mata run-time error
>> r(3499);
>>
>>
>> treat is 0/1; incomepc is continuous
>>
>> cendif is dated 4th August 2008, and somersd has teh same date.
>>
>> tidotforsomersd():  3499  tidottree()  are bothe in c:\ado/plus/t
>> which is in my ado path.
>>
>> . which cendif
>> c:\ado\plus\c\cendif.ado
>> *! Author: Roger Newson
>> *! Date: 04 August 2008
>>
>> . adopath
>>   [1]  (UPDATES)   "C:\Program Files\Stata11\ado\updates/"
>>   [2]  (BASE)      "C:\Program Files\Stata11\ado\base/"
>>   [3]  (SITE)      "C:\Program Files\Stata11\ado\site/"
>>   [4]              "."
>>   [5]  (PERSONAL)  "c:\ado\personal/"
>>   [6]  (PLUS)      "c:\ado\plus/"
>>   [7]  (OLDPLACE)  "c:\ado/"
>>
>> I am running Stata 11.1 born 16/6/2010
>>
>> All advice very gratefully recieved.
>>
>> Richard
>>
>> *
>> *   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/
>

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