Inverse of a histogram
sn_rfit
I have a data file which follows a certain distribution. I create a histogram to visualize the distribution. Now given the histogram is it possible to simulate back the original sample?
If your histogram points to one of the distributions for which there is an equivalent "noise" function you are in luck. To find out more execute:
If the built-in noise functions are not suitable, you will have to write some code implementing the rejection method. There is a lot of literature on this method.
A.G.
WaveMetrics, Inc.
June 23, 2016 at 02:59 pm - Permalink