sampling from a beta distribution

Hi All, I need to fit a model where the objective function calculation requires an irritative sampling from two arbitrary beta distributions (each time a different distribution). I got the thing to work but it is painfully slow (in terms of days and even weeks). I tried working with mex files, but it didn't really help. I also tried to create a matrix with 'handmade' samples (then searching the matrix instead of running betarnd), but the matrix got so big it didn't really make a difference.
Any thoughts?? I'm desperate here :)
Thank you, Nitzan.

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Get Started with Curve Fitting Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by