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/