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

st: Investigating distributional characteristics

From   "Naji Nassar (MIReS)" <>
To   <>
Subject   st: Investigating distributional characteristics
Date   Sun, 7 Aug 2005 12:56:27 +0200

Hi all

I'm used to combine several commands in order to investigate distributional
Example for a continuous variable with Gamma or lognormal distribution.
gammafit x
generate gamdenx=gammaden(e(alpha),e(beta),0,x)
qgamma x, gen(qgamx)
sort x
twoway (hist x) (line gamdenx x) (other densities) name(hist)
twoway (scatter qgam1 x) (scatter other quantiles) name(quan)
combine hist quan

I'd like to test other formal adhoc distributions, ie truncated gamma (at 1)

Thanks for your help (fitting the truncated distribution, estimating density
& quantiles)
Best regards
Naji Nassar

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index