Unable to replicate "Stochastic Volatility model" in PyMC v5.20 #7672
Unanswered
abdullahau
asked this question in
Q&A
Replies: 1 comment
-
Yes we should use generator not randomstate. If I remember correctly, the "results" of that notebook are very dependent on the seed, you can try a different value, but they are not very stable. And if they depend on the seed they are not very meaningful either. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been trying to run this notebook with the following packages:
Running the function
model_to_graphviz
, I notice that the model is set-up exactly as intended. However, this part of the code returns extremely different results:Note that similar to the notebook, I have set the random seed state as
rng = np.random.RandomState(1234)
Additionally, while trying to run this bit of code with the RandomState:
I get the error:
While setting the random generator as
rng = np.random.default_rng(1234)
, I am unable to produce the same results.Beta Was this translation helpful? Give feedback.
All reactions