Page 1 of 1

Cauchy Distribution

Posted: Fri Oct 10, 2008 7:03 am
by rodo
Hi, any idea how can I simulate series of Cauchy distributed random variables ?
Thanks.

Re: Cauchy Distribution

Posted: Mon Oct 13, 2008 1:59 pm
by EViews Gareth
The Cauchy distribution is just a t-distribution with v set equal to 1, thus:

Code: Select all

series cauchy = @rtdist(1)
will generate a series of cauchy randoms.

Re: Cauchy Distribution

Posted: Tue Oct 14, 2008 4:06 pm
by rodo
Thanks !!! It's perfectly working ! The infinite variance clearly shows up. I didnt realize cauchy distribution is this particular case ...
Thanks again!!

Re: Cauchy Distribution

Posted: Tue Oct 14, 2008 4:12 pm
by rodo
I love it ! this is the strangest animal in the statistical toolbox.