We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79d24fa commit 0a07c7bCopy full SHA for 0a07c7b
examples/survival_analysis/weibull_aft.ipynb
examples/survival_analysis/weibull_aft.myst.md
@@ -42,7 +42,10 @@ import statsmodels.api as sm
42
43
```{code-cell} ipython3
44
%config InlineBackend.figure_format = 'retina'
45
-# Set a seed for reproducibility of results
+# These seeds are for sampling data observations
46
+RANDOM_SEED = 8927
47
+np.random.seed(RANDOM_SEED)
48
+# Set a seed for reproducibility of posterior results
49
seed: int = sum(map(ord, "aft_weibull"))
50
rng: np.random.Generator = np.random.default_rng(seed=seed)
51
az.style.use("arviz-darkgrid")
0 commit comments