TreeMig Code
|
Go to the source code of this file.
Functions/Subroutines | |
subroutine | drawfromdistri (n, p, ix) |
DrawFromDistri | |
subroutine | drawfrompoissondist (mu, x, randomvalue) |
DrawFromPoissonDist | |
subroutine | drawfrombinomdist (n, p, x, randomvalue) |
DrawFromBinomDist | |
subroutine | drawfromnormaldist (mu, s, rx, randomvalue) |
DrawFromNormalDist | |
subroutine drawfrombinomdist | ( | integer, intent(in) | n, |
real, intent(in) | p, | ||
integer, intent(out) | x, | ||
real, intent(in) | randomvalue ) |
DrawFromBinomDist
Samples from a binomial distribution.
IN:
n | : sample size |
p | : probability |
randomvalue | : random value |
OUT:
x | : drawn value |
CALLS:
CALLED FROM:!> - DrawFromDistri in Interact.f90
Definition at line 160 of file DrawFromDistri.f90.
subroutine drawfromdistri | ( | integer, intent(in) | n, |
real, intent(in) | p, | ||
integer, intent(out) | ix ) |
DrawFromDistri
samples from a binomial distribution
USE: All_par
n | : sample size |
p | : probabilitxy |
ix | : drawn value |
Definition at line 50 of file DrawFromDistri.f90.
subroutine drawfromnormaldist | ( | real, intent(in) | mu, |
real, intent(in) | s, | ||
real, intent(out) | rx, | ||
real, intent(in) | randomvalue ) |
DrawFromNormalDist
Samples from a normal distribution
mu | : mean |
s | : standard deviation |
randomvalue | : random value |
rx | : drawn value |
Definition at line 214 of file DrawFromDistri.f90.
subroutine drawfrompoissondist | ( | real, intent(in) | mu, |
integer, intent(out) | x, | ||
real, intent(in) | randomvalue ) |
DrawFromPoissonDist
Samples from a poisson distribution
IN:
mu | : mean |
randomvalue | : random value |
OUT:
x | : drawn value |
CALLS:
CALLED FROM:
Definition at line 110 of file DrawFromDistri.f90.