Hi, dear friends,
I am working a drawing 10000 random numbers for variable, X, based on the following two conditions:
condition 1: X follows a normal distribution with mean=12.21 and standard deviation = 0.63;
condition 2: given another variable Y, the probability of X >= Y is 0.97: prob (X(n)>=Y(n) =0.97).
I know how to draw a random variable with specific mean and standard deviation, but I don't know how to plug in the second condition to my code.
Can anyone give me some help?
I do really appreciate.
Thank you again