Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: Re: st: About empty dataset


From   "Maoyong Fan" <fan@berkeley.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: Re: st: About empty dataset
Date   Fri, 28 May 2004 13:40:46 -0700

I will try. Thank you, Richard.

	

Warm regards,

Maoyong Fan 				

University of California, Berkeley

    

>At 01:22 PM 5/28/2004 -0700, Maoyong Fan wrote:
>>Dear Friends,
>>
>>         I noticed that the Stata program will automatically stop when the 
>> dataset is empty after deleting the missing value and give out the wrong 
>> information:  __0000001 not found.
>>
>>         In my program, I need to run many programs on the same dataset, 
>> so I open the original dataset many times in a big program.  Every time I 
>> drop some variables and observations, the whole program is stoped if one 
>> of the dataset after selection is empty.
>>
>>         I wonder if there is some command which can force the program to 
>> go on even if the dataset is empty in this subprogram after selection.
>
>The -capture- or -confirm- commands, or the -nostop- option on the -run- 
>and -do- commands might help you out.
>
>-------------------------------------------
>Richard Williams, Notre Dame Dept of Sociology
>OFFICE: (574)631-6668, (574)631-6463
>FAX:    (574)288-4373
>HOME:   (574)289-5227
>EMAIL:  Richard.A.Williams.5@ND.Edu
>WWW (personal):    http://www.nd.edu/~rwilliam
>WWW (department):    http://www.nd.edu/~soc
>
>*
>*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index