Normally and positive distributed pseudorandom numbers

バージョン 1.2.0.0 (2.41 KB) 作成者: Vincent Mazet
Simulation of positive Gaussian variables.
ダウンロード: 572
更新 2010/4/30

ライセンスの表示

This function generate random variables distributed according to a truncated normal distribution (or, by a translation, to a normal distribution with positive support). This kind of problem is especially interesting for generating variables with MCMC methods.

We use a mixed accept-reject algorithm, i.e. a classical accept-reject algorithm using several proposal distributions, each one being adapted to the different values of the distribution parameters. Then, with respect to these parameter values, the proposal distribution which gives the highest average probability of acceptance is used to simulate a variable.

The ZIP file contains the function rpnorm and an example.

http://lsiit-miv.u-strasbg.fr/lsiit/perso/mazet/rpnorm-en.htm

引用

Vincent Mazet (2024). Normally and positive distributed pseudorandom numbers (https://www.mathworks.com/matlabcentral/fileexchange/27430-normally-and-positive-distributed-pseudorandom-numbers), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R12
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersRandom Number Generation についてさらに検索
タグ タグを追加

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
1.2.0.0

Add a link to my webpage.

1.0.0.0