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

Re: st: error message r(2000)

From   Ron´┐Żn Conroy <[email protected]>
To   [email protected]
Subject   Re: st: error message r(2000)
Date   Thu, 31 Mar 2005 13:14:27 +0100

louis boakye-yiadom wrote:

Dear All,
I get a "no observations" error message -r(2000)- when I execute a do file,
and I'm having difficulty determining what's going wrong. According to the
error message, I "have requested some statistical calculation and there are
no observations on which to perform it. Perhaps you specified if exp or in
range and inadvertently filtered all the data." I don't understand what is
meant by "filtered all the data". The line that generates the error message
regress lnW `varlist' if migst1==0
To check whether there are actually no observations, I gave the following
command (and had the shown output):
count if migst1==0 & !mi(`varlist')

Is there a non-numeric variable in there perhaps?


Ronan M Conroy ([email protected]) Senior Lecturer in Biostatistics Royal College of Surgeons Dublin 2, Ireland +353 1 402 2431 (fax 2764) -------------------- Just say no to drug reps

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed.
If you have received this email in error please notify the
originator of the message. This footer also confirms that this
email message has been scanned for the presence of computer viruses.

Any views expressed in this message are those of the individual
sender, except where the sender specifies and with authority,
states them to be the views of The Royal College Of Surgeons in Ireland.


* For searches and help try:

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