Statalist The Stata Listserver


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: problems with e(sample)


From   "Zurab Sajaia" <[email protected]>
To   [email protected]
Subject   Re: st: problems with e(sample)
Date   Fri, 16 Jun 2006 18:10:55 -0400

In fact b an V ar optional in -ereturn post- but that's another issue...

e(sample) is still there -ereturn list- shows it but it's set to 0.


From: "Rodrigo A. Alfaro" <[email protected]>
Reply-To: [email protected]
To: <[email protected]>
Subject: Re: st: problems with e(sample)
Date: Fri, 16 Jun 2006 17:58:59 -0400

I assume that b and V are in that line.
Type -ereturn list- after run your program,
you should see

functions:
            e(sample)

If not, use -set trace on- and track the error.

Rodrigo

----- Original Message -----
From: "David Kantor" <[email protected]>
To: <[email protected]>
Sent: Friday, June 16, 2006 5:48 PM
Subject: Re: st: problems with e(sample)


I don't know much about this, but isn't -ereturn post- supposed to
have b and V matrices?
--David

At 05:22 PM 6/16/2006, Zurab wrote:
>Hi all,
>
>I ecountered a problem with disapearing e(sample) and couldn't find
>what can be wrong:
>
>I have an eclass program, which sets leaves some ereturn parameters
>as well as setting e(sample)
>
>program myprogram, eclass
>
>...
>ereturn post, esample(`touse')
>ereturn local cmd="myprogram"
>...
>
>count if e(sample)
>end // myprogram
>
>When I run the program -count- within the program displays correct
>number but if I write
>.count if e(sample) from command line, it returns 0. Somehow
>e(sample) gets cleared although other parameters, for example e(cmd)
>still contains "myprogram".
>
>Is it Friday-5:30PM problem or I'm doing something wrong?
>
>Thanks in advance,
>Zurab
>[...]
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index