Does anyone know how to make stata densities to be no more than 1? Here is an
example. I have two variables x and y and want to compare their densities. So
I do the following,
a) kdensity x, nograph gen (x fx);
b) kdensity y, nograph gen(fy) at(x);
Then I want to do:
c) line fx fy x, options.
My problem is that in the data I am working with, I find that fy exceeds 1. How
do I make fy to be no higher than 1?
Would appreciate any hints?
andrew
*
* 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/