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!

