Re: question on gamma distribution and inverse gamma distribution
- From: "John D'Errico" <woodchips@xxxxxxxxxxxxxxxx>
- Date: Fri, 10 Aug 2007 15:39:27 +0000 (UTC)
"James Anderson" <janderson_net@xxxxxxxxx> wrote in message
<f9hv87$qf8$1@xxxxxxxxxxxxxxxxxx>...
Hi,
I am new to gamma distribution and inverse gamma
distribution, seems that if X follows gamma (alpha,beta),
1/X follows inverse gamma (alpha,1/beta). I tried to
generate a variable following gamma distribution using
X = gamrnd(1,1,[100000 1]);
The histogram of X looks like gamma distribution, but when I
plot the histogram of 1/X, it does not look like inverse
gamma at all, am I misunderstanding the meaning of
"reciprocal" between gamma and inverse gamma?
Without looking at it deeply, did you plot
the histogram of 1/X, or did you plot the
histogram of 1./X ?
John
.
- Follow-Ups:
- Re: question on gamma distribution and inverse gamma distribution
- From: James Anderson
- Re: question on gamma distribution and inverse gamma distribution
- References:
- question on gamma distribution and inverse gamma distribution
- From: James Anderson
- question on gamma distribution and inverse gamma distribution
- Prev by Date: smooth circle with segments
- Next by Date: Re: about the convergence of conjugate gradient
- Previous by thread: question on gamma distribution and inverse gamma distribution
- Next by thread: Re: question on gamma distribution and inverse gamma distribution
- Index(es):
Relevant Pages
|
Loading