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: Re: st: where's the code for -total- ?


From   "Ariel Linden, DrPH" <[email protected]>
To   <[email protected]>
Subject   re: Re: st: where's the code for -total- ?
Date   Thu, 4 Apr 2013 10:20:33 -0400

I tried this approach before my posting. I could not find the source code in
_svy_summarize and that's when I called in the troops. Apparently others
(who much smarter than me) couldn't follow the trail to the source either.
It makes me feel better on the one hand, but it still leaves me in search of
the code...

Thanks all!

Ariel

Date: Wed, 3 Apr 2013 08:50:32 +0100
From: Nick Cox <[email protected]>
Subject: Re: st: where's the code for -total- ?

My message is more positive.

. which _svy_summarize

will tell you where the source code is. If it's an ado file,

. viewsource  _svy_summarize.adp

will show you inside. See also

SJ-6-1  pr0022  . . . . . . . . . . . Stata tip 30: May the source be with
you
        . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .  N. J.
Cox
        Q1/06   SJ 6(1):149--150                                 (no
commands)
        tip for using viewsource to locate and view source
        code or text files

Nick
[email protected]

On 3 April 2013 03:13, Richard Williams <[email protected]>
wrote:
> My limited experience is that Stata code is becoming increasingly
> indecipherable. A routine calls a routine which calls a routine... If
> nobody gives you better advice, you might check the code from an older
> version of Stata if you have one.
>
> Sent from my iPad
>
> On Apr 2, 2013, at 10:02 PM, "Ariel Linden, DrPH"
> <[email protected]> wrote:
>
>> Hi All,
>>
>> I took a look at the source code for -total-, but it seems to refer to
>> another program - _svy_summarize.ado- . I cannot seem to track down the
>> actual code for -total- there either. Can someone tell me where I can
find
>> the underlying code for -total-?
>>
>> Thanks!
>>
>> Ariel
>>
>> *! version 1.0.3  28mar2011
>> program total, properties(svyb svyj svyr mi)
>>        // version statement intentionally omitted
>>        _svy_summarize total `0'
>> end
*


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index