I'm interested in obtaining a sample of numbers $x_1,\ldots,x_n$ such that their cumulants approximately match user-provided set of cumulants.
For instance, I can get a sample with first two cumulants 0, 1
by sampling uniformly, then normalizing mean and variance. Is there a recipe that works when user provides first four cumulants?
A more specialized case I'd be interested in is a case of 0 centered symmetric sample, specified through variance + kurtosis