Generating pulses having a predetermined statistical distribution of a parameter