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

st: -graph twoway || - and -if-


From   "D.Christodoulou" <[email protected]>
To   [email protected]
Subject   st: -graph twoway || - and -if-
Date   Thu, 29 Jul 2004 14:19:08 +0100

Dear Statalisters,

My question concerns the use of -if expression- along with -graph twoway-.
When I use the following command:

graph twoway kdensity var1 if sample==1 || kdensity  var2  if  sample==1 ||
kdensity  var3 if sample==1 || ....

...Stata does not recognise the (repeated) restriction of the - if
sample==1 - and plots the whole sample.
All I want to do is restrict the sample in a comparable (and desirable)
range for all kdensities.

What is the correct way to do this?

many thanks in advance
Dimitris


---------------------------------------------
Dimitris Christodoulou
Teaching and Research Associate
School for Business and Regional Development
University of Wales, Bangor
Hen Coleg
LL57 2DG Bangor
UK
e-mail: [email protected]
---------------------------------------------
*
*   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