econ2008
Programmer
- Jul 26, 2010
- 9
Hello everybody!
I started to learn Fortran 95/2003, because I want to program a model in the field of economics.
As far as I have understood, the random number generator in Fortran only calculates uniform distributed random numbers.
I know on the one hand that I can calculate any other distrubtion by applying the inverse function formula. But there should be any other possibility of calculating a poisson distributed random number.
Just to make it clear, I am not asking for a code, but for some helpful comments or tips where I can find an introduction to this topic. As I google I only find old codes (i.e. Fortran 77 or 90).
Does anyone know a good book or script, where the problems of generating random numbers in Fortran 95/2003 is dealt with? The books of Chapman, Brainerd or Metcalf were not very helpful on this specific topic. I am really desperate.
Thanks in advance
bjoern
I started to learn Fortran 95/2003, because I want to program a model in the field of economics.
As far as I have understood, the random number generator in Fortran only calculates uniform distributed random numbers.
I know on the one hand that I can calculate any other distrubtion by applying the inverse function formula. But there should be any other possibility of calculating a poisson distributed random number.
Just to make it clear, I am not asking for a code, but for some helpful comments or tips where I can find an introduction to this topic. As I google I only find old codes (i.e. Fortran 77 or 90).
Does anyone know a good book or script, where the problems of generating random numbers in Fortran 95/2003 is dealt with? The books of Chapman, Brainerd or Metcalf were not very helpful on this specific topic. I am really desperate.
Thanks in advance
bjoern