Hello everybody,

I am currently looking for a solution for the creation of random integer values where each value appears once only. For example:

gen no = runiformint(1,4280) if ....

If the condition is met I would like to see the numbers 1 to 4280 randomly distributed where no number occurs twice. I think this should be fairly easy to obtain but for some reason I cannot find a solution to the issue nor come to it myself.

Maybe you can help me with this! I am looking forward to your responses and already thank you very much in advance!

All the best
Sebastian