Hi all,
I'm just trying to plot the distribution of an observed data against several
distribution..
I want to reduce the yscale density up to 1.5..ie I don't want any plot for
high yscale density values
yscale(range(0. 1.5)) doesn't work , density values come up to 2.
yscale(range(0. 3.)) works fine
Thanks for your help
Naji
twoway (histogram observed, density) (kdensity hyp_gam) (kdensity
hyp_erlang), legend(label(1 "Observed") label(2 "Gamma distr") label(3
"Erlang distr) pos(1) ring(0) rows(3))
*
* 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/