Hi Community,
I am trying to create the 10000 sets of random variates of two parameters (a and b) from lognormal distribution with a condition that exp((b-a)/a)*1000 < 5;
a --> mu_a = 0.06, sigma_a = 50;
b --> mu_b = 0.08, sigma_b = 35;
I get to know from documentation for one variable as below but not sure about two varible that follow above condition.
pd = makedist('Lognormal','mu',0.08,'sigma',35);
t = truncate(pd, 0, inf);
r = random(t,10000,1);
Any help would be much appreciated. Thanks in advance.
0 Comments
Sign in to comment.