Re: question on gamma distribution and inverse gamma distribution
- From: "James Anderson" <janderson_net@xxxxxxxxx>
- Date: Fri, 10 Aug 2007 18:33:37 +0000 (UTC)
I plotted 1./x. I guess it's due to the fact that I did not
zoom in the small region of x that I feel there is something
wrong, if I only plot regions for 1/x smaller than 10, it
looks about right.
Thanks,
James
"John D'Errico" <woodchips@xxxxxxxxxxxxxxxx> wrote in
message <f9i0rf$q83$1@xxxxxxxxxxxxxxxxxx>...
"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
.
- References:
- question on gamma distribution and inverse gamma distribution
- From: James Anderson
- Re: question on gamma distribution and inverse gamma distribution
- From: John D'Errico
- question on gamma distribution and inverse gamma distribution
- Prev by Date: waiting for GUI results before proceeding in matlab script
- Next by Date: Re: waiting for GUI results before proceeding in matlab script
- Previous by thread: Re: question on gamma distribution and inverse gamma distribution
- Next by thread: Maximum of a matrix
- Index(es):
Relevant Pages
|
Loading