Closed-skew Gaussian generator

Genereates random number from the closed-skew Gaussian distribution.
514.0 次下载
更新时间 2011/6/27

查看许可证

Genereates random number from the closed-skew Gaussian distribution with two different methods:

CSN_mcmc.m
Does mcmc, so each realisation are not completely independent
% Usage: [res, t_wi, t_inv] =CSN_mcmc(Mu,Sigma,Gamma,Nu,Delta,num,burn)
%
% Mu,Sigma,Gamma,Nu,Delta: parameters in CSN
% num: number of realisations
% burn: burnin time, the first 'burn' realisations are not returned
% res: returned realisations

CSN_BM.m
Completely independent realisations, but takes much longer time.
% Usage: [res, t_wi, t_inv] =CSN_BM(Mu,Sigma,Gamma,Nu,Delta,num)
%
% Mu,Sigma,Gamma,Nu,Delta: parameters in CSN
% num: number of realisations
% res: returned realisations

More info about the algorithms can be found here: www.dahoiv.net/master

引用格式

Daniel Høyer Iversen (2024). Closed-skew Gaussian generator (https://www.mathworks.com/matlabcentral/fileexchange/31969-closed-skew-gaussian-generator), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2010b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Random Number Generation 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.5.0.0

screenshot

1.3.0.0

spelling

1.1.0.0

Added more info

1.0.0.0