Hello everybody,
Currently I have to generate random numbers with pdf like this:
pdf(x) = a*exp( -a*(x-b) )
I just wonder can I generate y with:
pdf(y) = a*exp( -a*y )
and then let:
x= y + b ?
This question might be stupid. Sorry in advance ^ ^