I have a data that I want to sample such the resultant distribution of values should have specified mean and standard deviation. I can think of rejection sampling to achieve this however that seems to be overkill as rejection sampling tries to match complete distribution while I need only first two moment to be equal to specified value. There have to be easy way to do this and also multiple ways.
The current data have distribution
Min. 1st Qu. Median Mean 3rd Qu. Max. 0.0020 0.2120 0.3880 0.4298 0.6040 1.0000
I want it to have mean of 0.2236 and standard deviation of 0.3180463.