Last answered:

07 Oct 2022

Posted on:

26 Mar 2022

1

Different values in Questions 5 & 6

In Questions 5 & 6 I have reproduced the exact code as the solution says, but I get different values. I have checked the seed is the same.

2 answers ( 0 marked as helpful)
Posted on:

16 Apr 2022

0

Same here.

Posted on:

07 Oct 2022

4

For Q5, you are right, it gives 25.6

For Q6, try this code, it returns the same value as the given answer

col = gen(pcg(seed=365))
col_1 = col.normal(loc=3, scale=2, size=500)
col_2 = col.exponential(scale=5, size=500)
col_3 = col.logistic(loc=10, scale=4, size=500)

print(np.max(np.array([col_1, col_2, col_3])))

Submit an answer