概要
- Rand 関数
- 多変量乱数(Simnormal,iml,Cholesky decomposition)
Rand関数
/* Binomoial ranodm variable (0 or 1) following Binomial Distribution w/ p=0.2 */
data test ;
do i=1 to 1000 ;
x = rand("BINOMIAL", 0.2, 1) ;
output ;
end ;
run ;
/* Binomoial ranodm variable (0 or 1) following Binomial Distribution w/ p=0.2 */
data test ;
do i=1 to 1000 ;
x = rand("BINOMIAL", 0.2, 1) ;
output ;
end ;
run ;
Post a Comment
別ページに移動します