给定alpha和beta的beta分布的随机数选择 [英] Random number selection from beta distribution for given alpha and beta

查看:252
本文介绍了给定alpha和beta的beta分布的随机数选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在可用的Microsoft库中是否有一个函数可以为beta发行版生成随机数(用户提供alpha和beta)?  

Is there a function in available Microsoft libraries to generate random number for a beta distribution (with user providing alpha and beta)?  

如果没有,任何想法如何编码?

If not, any idea how to code this?

感谢任何帮助

推荐答案


在可用的Microsoft库中是否有一个函数可以为beta发行版生成随机数(用户提供alpha和beta)?  

Is there a function in available Microsoft libraries to generate random number for a beta distribution (with user providing alpha and beta)?  

最简单的解决方案是获得.net的统计库。 例如:

https://sourceforge.net/projects/accord-net/

https://numerics.mathdotnet.com/

The simplest solution would be to get a statistical library for .net.  For example:
https://sourceforge.net/projects/accord-net/
https://numerics.mathdotnet.com/

这篇关于给定alpha和beta的beta分布的随机数选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆