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

st: Plots : Gamma density


From   "Naji Nassar (MIReS)" <[email protected]>
To   "Stata-L (E-mail)" <[email protected]>
Subject   st: Plots : Gamma density
Date   Tue, 22 Jun 2004 10:38:07 +0200

Hi all,


I want to plot an histogram with gamma density
pgamma is showing perfect fit..

but

gammafit(var1)
generate x1=gammaden(e(alpha),e(beta),0,var1)
twoway (histogram var1,fraction) (scatter p1 var1)
 doesn't fit as expected..


TiA


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