Statalist


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

st: Getting the exact number of obs. a graph is based on


From   Jesper Kjr Hansen <jkh-stata@msecon.eu>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Getting the exact number of obs. a graph is based on
Date   Mon, 1 Oct 2007 23:14:45 +0200

I think I know the answer to this one, but just to be sure:

Is there any formal procedure/option/returned result for identifying the exact number
of observations a graph is based on, documented or otherwise... besides first
principles using -count- -sum- and others, that is. 

For example:

-count if !mi(<all vars used in graph>) & [if statement | in range]-

The solution works well, but sometimes I can't help thinking that the graph command
should return the number of observations used - just like an estimation command.

/Jesper


-- Jesper Kjr Hansen
mailto:jkh-stata@msecon.eu


*
*   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