Statalist


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

Re: st: limiting observations within a program


From   "Sergiy Radyakin" <[email protected]>
To   [email protected]
Subject   Re: st: limiting observations within a program
Date   Thu, 2 Oct 2008 19:17:12 -0400

Stata's message r(100) stands for invalid syntax. drop if ==. causes
error message r(198) "nothing found where name expected". Does the
error occur in this particular line, or does it occur elsewhere in
your program, when you add this line?

(this is one of those cases when I wish to see a message "error in
line NNN of file foobar.do")

Regards, Sergiy


On Thu, Oct 2, 2008 at 7:10 PM, Michael McCulloch <[email protected]> wrote:
> Hello,
> I've written a short program which estimates a probability of censoring, and
> have a question. The program works as written, but if I add the following
> line:
>
>                drop if `var1'==.
>
> the program returns error message:
>
>        "varlist required an error occurred when bootstrap executed program1
>        r(100);"
>
> Any assistance would be appreciated!
>
>
> --
>
> Best wishes,
> Michael McCulloch
>
>
>
> Pine Street Foundation
> 124 Pine St., San Anselmo, CA 94960-2674
> Tel:    (415) 407-1357
> Fax:    (415) 485-1065
> [email protected]
> www.pinestreetfoundation.org
> *
> *   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index