Page 1 of 1

Random Number Generation: Gamma Distribution

Posted: Wed Aug 24, 2011 8:01 pm
by gamma
Hi guys,

May I ask how to generate 1000 observations from a two parameter gamma distribution?

Thank you in advance for any feedback

Re: Random Number Generation: Gamma Distribution

Posted: Wed Aug 24, 2011 9:19 pm
by startz
Have you looked at the gamma random number generator described in the help system that comes with EViews?

Re: Random Number Generation: Gamma Distribution

Posted: Thu Aug 25, 2011 7:49 pm
by gamma
Hi,
I originally looked through the pdf guide and couldn't find anything other than references in empirical testing.

I found what was needed in the help section.

Thanks for your help.

Re: Random Number Generation: Gamma Distribution

Posted: Thu Aug 25, 2011 8:14 pm
by startz
Hi,
I originally looked through the pdf guide and couldn't find anything other than references in empirical testing.

I found what was needed in the help section.

Thanks for your help.
Yeah, it's in Command and Reference...but I can certainly see why one might think everything would be in the User Guide. I usually go straight to the help system and use the pdfs only when I need more detail.

Re: Random Number Generation: Gamma Distribution

Posted: Wed Oct 10, 2012 7:49 pm
by fval
With function @rtdist(v) I can generate one distribution with 0 mean. How can I get one student distribution with 0 mean and 1 standard deviation (int.)
tks guys!!