File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -472,8 +472,8 @@ $F(x) = 1 - e^{- \lambda x}$.
472
472
473
473
``` {code-cell} ipython3
474
474
# Set parameters
475
- n = 250 # Choice of n
476
- k = 1_000_000 # Number of draws of Y_n
475
+ n = 50 # Choice of n
476
+ k = 10_000 # Number of draws of Y_n
477
477
distribution = st.expon(2) # Exponential distribution, λ = 1/2
478
478
μ, σ = distribution.mean(), distribution.std()
479
479
@@ -523,8 +523,8 @@ You can choose any $\alpha > 0$ and $\beta > 0$.
523
523
524
524
``` {code-cell} ipython3
525
525
# Set parameters
526
- n = 250 # Choice of n
527
- k = 1_000_000 # Number of draws of Y_n
526
+ n = 50 # Choice of n
527
+ k = 10_000 # Number of draws of Y_n
528
528
distribution = st.beta(2,2) # We chose Beta(2, 2) as an example
529
529
μ, σ = distribution.mean(), distribution.std()
530
530
You can’t perform that action at this time.
0 commit comments