Random Number Generation Functions |
These are the functions which generate random numbers in various forms. Note that there are several instructions that also have embedded random number generators: BOOT, SIMULATE and UFORECAST with the BOOT or SIMULATE options.
Random Normal draw |
|
Random beta draw |
|
Random selection of a branch |
|
Random Chi-squared draw |
|
Random combination |
|
Random draw from Dirichlet distribution |
|
Random 0/1 draw from Bernoulli |
|
Random gammas |
|
Random draw from distribution approximated by grid |
|
Random integer |
|
Log kernel density from most recent random draw |
|
Random log Normal with given mean and standard deviation |
|
Rectangular of random normal draws |
|
Draw from multivariate Normal regression |
|
Draw from MV Normal regression, CMOM variant |
|
Random multivariate normal draw |
|
Random draw from multivariate normal posterior |
|
Multivariate normal posterior draw, CMOM variant |
|
Multivariate normal posterior draw using precision |
|
Returns a random draw from a multivariate t distribution. |
|
Random permutation |
|
Random sign (equal probability +/-1 ) |
|
Random draw on unit sphere |
|
Random draw from stochastic volatility posterior |
|
Random draw from Student t distribution |
|
Random draws from truncated Normal. |
|
Random Wishart matrix |
|
Random Wishart given a covariance matrix |
|
Random inverse Wishart matrix |
|
Random draw from a uniform distribution |
Copyright © 2025 Thomas A. Doan