the random variable X has the PDF f(x) = e^-x for x greater than or equal to 0 f(x) = 0 for x<0
Random variable Y is defined as Y=logx how can I generate (pseudo) random numbers that follow the distribution of X, using the equation Y = logX, and plot a histogram of Y?
thanks
Aucun commentaire:
Enregistrer un commentaire