Generate synthetic data (or probability distribution object) from user-defined distribution function
古いコメントを表示
I need to generate a synthetic dataset using a distribution that is not supported by the Matlab stats toolbox. The distribution is a Type II Pareto (or Lomax) with the probability density function f ( x ) = ( a m^a) / ( m + x )^( 1 + a ), where a is a shape parameter and m is the minimum permissible value of x. The distribution also needs to be truncated at x=50.
Is it possible to generate a probability distribution object (pd) from an equation or PDF, so that I can then use the "random" function to create the synthetic dataset? Or any other way to do this? Right now, I'm using "randsample" to do this, but that imposes a finite range or truncation on the PDF since it's an array. Thanks!
採用された回答
その他の回答 (1 件)
Image Analyst
2018 年 1 月 15 日
0 投票
Attached is an example where I use it to get samples drawn from the Rayleigh distribution.
カテゴリ
ヘルプ センター および File Exchange で Birnbaum-Saunders Distribution についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

