I have the following list:
series=[0.6, 4.1, 0.6, 6.7, 9.2, 7.6, 5.5, 0.9, 3.8, 8.4]
the mean
of series
is 4.74 and its np.std
equals : 3.101
I want to generate 1000 observations from series
so I used the following method:
>>> series_1000=np.random.normal(4.74, 3.101, size=(1000))
>>> series_1000
>>> array([ 3.43395217, 6.60462489, 5.27316166, 4.20429521, 4.76772334,
8.04441319, -0.6967243 , 0.53378519, 2.1736758 , 9.96333279....
Problem
The above method seems to be good, however it works under the assumption that series
is normally
distributed.
Goal
My goal is to find a way of simulating values without any assumption regarding the original series
.
Any help from your side will be highly appreciated.