num= 100
obs=[]
np.random.seed(1)
for i in range(num):
N=[]
CF3_1=[]
CF3_2=[]
i=2
salvage= np.random.triangular(salvage_min, salvage_mode, salvage_max)
inv= np.random.uniform(inv_min, inv_max)
for y in range(0,5):
gt= 14.747101 + 11.664259 * np.random.beta(0.645868, 0.920589)
print(gt)
I am trying to get gt to start with np.random.seed(1) but it seems like gt does not start with seed 1.
np.random.seed(1)
gt= 14.747101 + 11.664259 * np.random.beta(0.645868, 0.920589)
print(gt)
produces a result of:
17.889105013452703
14.747134750650536
19.474766202077234
16.967191836499126
18.465043981244925
18.03420202040634
15.794033025059752
while the result of my code is:
14.747134750650536
19.474766202077234
16.967191836499126
18.465043981244925
18.03420202040634
Notice that the result of my code is the exact same, only that it skipped 17.889105013452703.